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.
Fork of nRF51822 by
app_button_cfg_t Struct Reference
[Button Handler]
Button configuration structure. More...
#include <app_button.h>
Data Fields | |
uint8_t | pin_no |
Pin to be used as a button. | |
uint8_t | active_state |
APP_BUTTON_ACTIVE_HIGH or APP_BUTTON_ACTIVE_LOW. | |
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. |
Detailed Description
Button configuration structure.
Definition at line 63 of file app_button.h.
Field Documentation
uint8_t active_state |
APP_BUTTON_ACTIVE_HIGH or APP_BUTTON_ACTIVE_LOW.
Definition at line 66 of file app_button.h.
Handler to be called when button is pushed.
Definition at line 68 of file app_button.h.
uint8_t pin_no |
Pin to be used as a button.
Definition at line 65 of file app_button.h.
Pull-up or -down configuration.
Definition at line 67 of file app_button.h.
Generated on Tue Jul 12 2022 18:47:35 by
