User Input#
Functions
-
int usrinp_init(struct lm_gpio *debug_button, usrinp_get_state_t f_get_state)#
Initialize user input handling.
- Parameters:
debug_button – [in] Pointer to the GPIO structure for the debug button.
f_get_state – [in] Function pointer to get the state of a user input.
- Returns:
0 on success, negative error code on failure.