Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
app_button.h File Reference
Go to the source code of this file.
Data Structures | |
| struct | app_button_cfg_t |
| Button configuration structure. More... | |
| struct | pin_transition_t |
| Pin transition direction struct. More... | |
Typedefs | |
| typedef void(* | app_button_handler_t )(uint8_t pin_no, uint8_t button_action) |
| Button event handler type. | |
| typedef uint32_t(* | app_button_evt_schedule_func_t )(app_button_handler_t button_handler, uint8_t pin_no, uint8_t button_action) |
| Type of function for passing events from the Button Handler module to the scheduler. | |
Functions | |
| uint32_t | app_button_init (app_button_cfg_t *p_buttons, uint8_t button_count, uint32_t detection_delay, app_button_evt_schedule_func_t evt_schedule_func) |
| Function for initializing the Buttons. | |
| uint32_t | app_button_enable (void) |
| Function for enabling button detection. | |
| uint32_t | app_button_disable (void) |
| Function for disabling button detection. | |
| uint32_t | app_button_is_pushed (uint8_t button_id, bool *p_is_pushed) |
| Function for checking if a button is currently being pushed. | |
Detailed Description
Definition in file app_button.h.
Generated on Tue Jul 12 2022 21:00:58 by
1.7.2