Helper module for the examples to poll the RTT input. More...
Typedefs | |
| typedef void(* | rtt_input_handler_t) (int key) |
| Callback function type for RTT key input. More... | |
Functions | |
| void | rtt_input_enable (rtt_input_handler_t rtt_input_handler, uint32_t poll_period_ms) |
| Enable RTT key input. More... | |
| void | rtt_input_disable (void) |
| Disable RTT key input. | |
Detailed Description
Helper module for the examples to poll the RTT input.
Typedef Documentation
◆ rtt_input_handler_t
| typedef void(* rtt_input_handler_t) (int key) |
Callback function type for RTT key input.
Definition at line 51 of file rtt_input.h.
Function Documentation
◆ rtt_input_enable()
| void rtt_input_enable | ( | rtt_input_handler_t | rtt_input_handler, |
| uint32_t | poll_period_ms | ||
| ) |
Enable RTT key input.
- Parameters
-
[in] rtt_input_handler Callback function handle the RTT key input. [in] poll_period_ms Input polling period.