|
| ButtonState (Supla::Io *io, int pin, bool pullUp, bool invertLogic) |
|
| ButtonState (int pin, bool pullUp, bool invertLogic) |
|
enum StateResults | update () |
|
enum StateResults | getLastState () const |
|
void | init (int buttonNumber) |
|
void | setSwNoiseFilterDelay (unsigned int newDelayMs) |
|
void | setDebounceDelay (unsigned int newDelayMs) |
|
int | getGpio () const |
|
|
int | valueOnPress () const |
|
|
Supla::Io * | io = nullptr |
|
uint16_t | debounceDelayMs = 50 |
|
uint16_t | swNoiseFilterDelayMs = 20 |
|
uint32_t | debounceTimestampMs = 0 |
|
uint32_t | filterTimestampMs = 0 |
|
int16_t | pin = -1 |
|
int8_t | newStatusCandidate = 0 |
|
int8_t | prevState = -1 |
|
bool | pullUp = false |
|
bool | invertLogic = false |
|
The documentation for this class was generated from the following files: