Hardware specific settings for a button. More...
#include <Button.h>
Data Fields | |
uint_least8_t | gpioIndex |
Hardware specific settings for a button.
This structure should be defined and provided by the application. The index provided should correspond to a gpio pin in a GPIO_PinConfig array. This gpio pin should be the pin connected to the button and must be configured as GPIO_CFG_INPUT and GPIO_CFG_IN_INT_FALLING.
uint_least8_t Button_HWAttrs::gpioIndex |
GPIO configuration index.