FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hival()

port_t Pin::hival ( )
inline

Gets the state of the port with this pin HIGH

Definition at line 106 of file fastpin.h.

106{ return *mPort | mPinMask; }
volatile RwReg * mPort
Output register for the pin.
Definition fastpin.h:48
RwReg mPinMask
Bitmask for the pin within its register.
Definition fastpin.h:50

References mPinMask, and mPort.