|
3-phase PV router
|
State of an active-LOW input pin, and how it changed since the previous reading. More...
#include <pin_edges.h>
Public Member Functions | |
| constexpr bool | pressed () const |
| it went LOW since the previous reading | |
| constexpr bool | released () const |
| it went HIGH since the previous reading | |
Public Attributes | |
| bool | active |
| bool | changed |
State of an active-LOW input pin, and how it changed since the previous reading.
Definition at line 29 of file pin_edges.h.
|
inlineconstexpr |
it went LOW since the previous reading
Definition at line 35 of file pin_edges.h.

|
inlineconstexpr |
it went HIGH since the previous reading
Definition at line 41 of file pin_edges.h.
| bool PinEdges::active |
the pin is LOW now
Definition at line 31 of file pin_edges.h.
| bool PinEdges::changed |
it changed since the previous reading
Definition at line 32 of file pin_edges.h.