Hardware specific settings for a button. More...
#include <Button.h>
Data Fields | |
uint_least8_t | gpioIndex |
Button_Pull | pullMode |
uint32_t | internalPullEnabled |
Hardware specific settings for a button.
This structure should be defined and provided by the application.
uint_least8_t Button_HWAttrs::gpioIndex |
GPIO configuration index.
Button_Pull Button_HWAttrs::pullMode |
Whether the button is active high or active low.
uint32_t Button_HWAttrs::internalPullEnabled |
True/False whether the pullup on the GPIO pin should be enabled