Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
Functions | |
void | common_hal_buttons_init (uint32_t button_press_duration_ms, uint8_t app_timer_prescaler) |
Initialize button functionality. Used only for starting DFU. More... | |
void common_hal_buttons_init | ( | uint32_t | button_press_duration_ms, |
uint8_t | app_timer_prescaler | ||
) |
Initialize button functionality. Used only for starting DFU.
button_press_duration_ms | How many milliseconds does the button need to be held down for DFU mode to start |
app_timer_prescaler | What prescaler is the app_timer module set up to use? |
Definition at line 40 of file common_hal_buttons.c.