Skyward boardcore
|
Pin informations. More...
#include <PinObserver.h>
Public Attributes | |
std::function< void(PinTransition)> | callback |
The callback function. | |
uint32_t | threshold |
Number of periods to trigger an event. | |
uint32_t | periodCount |
Number of periods the value was the same. | |
uint64_t | lastStateTimestamp |
Timestamp of the last measurement. | |
bool | lastState |
The last measured pin state. | |
uint32_t | changesCount |
Incremental count of the pin changes. | |
bool | reverted |
Whether to revert the pin state. | |
Pin informations.
Definition at line 45 of file PinObserver.h.
std::function<void(PinTransition)> Boardcore::PinData::callback |
The callback function.
Definition at line 47 of file PinObserver.h.
uint32_t Boardcore::PinData::changesCount |
Incremental count of the pin changes.
Definition at line 52 of file PinObserver.h.
bool Boardcore::PinData::lastState |
The last measured pin state.
Definition at line 51 of file PinObserver.h.
uint64_t Boardcore::PinData::lastStateTimestamp |
Timestamp of the last measurement.
Definition at line 50 of file PinObserver.h.
uint32_t Boardcore::PinData::periodCount |
Number of periods the value was the same.
Definition at line 49 of file PinObserver.h.
bool Boardcore::PinData::reverted |
Whether to revert the pin state.
Definition at line 53 of file PinObserver.h.
uint32_t Boardcore::PinData::threshold |
Number of periods to trigger an event.
Definition at line 48 of file PinObserver.h.