GpioInfoConf Struct Reference
Public Attributes | |
std::string | alias ="" |
Gpio alias. | |
std::string | type |
Gpio type (MCU, SYSFS, GPIO_KEY, PIC_MCU) | |
std::string | address ="1" |
Gpio address. | |
GpioDirection | direction |
Gpio direction (INPUT, OUTPUT) | |
int | default_value =0 |
Gpio default value. | |
bool | active_low =false |
True if Gpio active when low. | |
bool | hardware_inverted = false |
True if inverted hardware logic. | |
EdgeType | edge_type |
enum FALLING, RISING, BOTH | |
int | publish =0 |
publish, not publish or publish only after a number of changes | |
int | bouncing_time =3 |
Bouncing time. | |