|
GPS Device
|
Configuration structure for initializing a button instance. More...
#include <button.h>

Public Attributes | |
| char | name [CONFIG_BUTTON_MAX_NAME_LEN] |
| GPIO_REGDEF_ts * | gpio_port |
| GPIO_PIN_te | gpio_pin |
| BUTTON_PUSHED_TYPE_te | pushed_type |
| uint32_t | debounce_limit_ms |
| uint32_t | held_limit_ms |
Configuration structure for initializing a button instance.
This structure is used to configure a button before registering it with the button subsystem using button_init_handle.
| char BUTTON_CFG_ts::name[CONFIG_BUTTON_MAX_NAME_LEN] |
| GPIO_REGDEF_ts* BUTTON_CFG_ts::gpio_port |
| GPIO_PIN_te BUTTON_CFG_ts::gpio_pin |
| BUTTON_PUSHED_TYPE_te BUTTON_CFG_ts::pushed_type |
| uint32_t BUTTON_CFG_ts::debounce_limit_ms |
| uint32_t BUTTON_CFG_ts::held_limit_ms |