nRF51 SDK
|
Data Fields | |
uint8_t | pin_no |
bool | active_high |
nrf_gpio_pin_pull_t | pull_cfg |
app_button_handler_t | button_handler |
uint8_t pin_no |
Pin to be used as a button.
bool active_high |
TRUE if pin is active high, FALSE otherwise.
nrf_gpio_pin_pull_t pull_cfg |
Pull-up or -down configuration.
app_button_handler_t button_handler |
Handler to be called when button is pushed.