FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ hival()

port_t Pin::hival ( )
inline

Gets the state of the port with this pin HIGH

Definition at line 110 of file fastpin.h.

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

References mPinMask, and mPort.