nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
app_button_cfg_t Struct Reference

Data Fields

uint8_t pin_no
 
bool active_high
 
nrf_gpio_pin_pull_t pull_cfg
 
app_button_handler_t button_handler
 

Field Documentation

uint8_t pin_no

Pin to be used as a button.

bool active_high

TRUE if pin is active high, FALSE otherwise.

Pull-up or -down configuration.

app_button_handler_t button_handler

Handler to be called when button is pushed.