![]() |
MT2523 API Reference
LinkIt SDK v4
|
Typedefs | |
| typedef void(* | hal_keypad_callback_t) (void *user_data) |
| This function registers a callback function when in a normal key mode. More... | |
| typedef void(* | hal_powerkey_callback_t) (void *user_data) |
| This function registers a callback function when in a powerkey mode. More... | |
| typedef void(* hal_keypad_callback_t) (void *user_data) |
This function registers a callback function when in a normal key mode.
This function is called after the key is pressed or released in the keypad ISR routine. For more details about the callback function, please refer to hal_keypad_register_callback().
| [in] | user_data | This variable pointer is defined by the user to record the data. |
| typedef void(* hal_powerkey_callback_t) (void *user_data) |
This function registers a callback function when in a powerkey mode.
This function is called after the key is pressed or released in the powerkey ISR routine. For more details about the callback function, please refer to hal_keypad_powerkey_register_callback().
| [in] | user_data | This variable pointer is defined by the user to record the data. |