Functions | |
| void | serial_handler_device_init (void) |
| Initialize the serial handler for device commands. | |
| void | serial_handler_device_rx (const serial_packet_t *p_cmd) |
| Handle serial device commands. More... | |
| void | serial_handler_device_alloc_fail_report (void) |
| Report a failed packet allocation. More... | |
Detailed Description
Function Documentation
◆ serial_handler_device_rx()
| void serial_handler_device_rx | ( | const serial_packet_t * | p_cmd | ) |
Handle serial device commands.
- Parameters
-
[in] p_cmd Serial command to handle.
◆ serial_handler_device_alloc_fail_report()
| void serial_handler_device_alloc_fail_report | ( | void | ) |
Report a failed packet allocation.
- Note
- If
UINT32_MAXallocation failures has already been reported, this function will have no effect.