changed low freq. clock source to IRC
Dependents: BLE_ANCS_SDAPI_IRC
Fork of nRF51822 by
app_button.h File Reference
Go to the source code of this file.
Data Structures | |
struct | app_button_cfg_t |
Button configuration structure. More... | |
Typedefs | |
typedef void(* | app_button_handler_t )(uint8_t pin_no) |
Button event handler type. | |
typedef uint32_t(* | app_button_evt_schedule_func_t )(app_button_handler_t button_handler, uint8_t pin_no) |
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 pin_no, 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 16:36:22 by 1.7.2