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

◆ _GetPinPort< 0 >()

template<>
const char * _GetPinPort< 0 > ( void * ptr)

Definition at line 135 of file Pintest.h.

135 {
136 if (__FL_PORT_INFO<0>::hasPort() && (ptr == (void*)__FL_PORT_INFO<0>::portAddr())) {
138 } else {
139 return NULL; // Base case - no more ports to check
140 }
141}
static const void * portAddr()
Gets the raw address of the port.
Definition fastpin.h:439
static bool hasPort()
Checks whether a port exists.
Definition fastpin.h:435
static const char * portName()
Gets the name of the port, as a C-string.
Definition fastpin.h:437

References __FL_PORT_INFO< port >::hasPort(), __FL_PORT_INFO< port >::portAddr(), and __FL_PORT_INFO< port >::portName().

+ Here is the call graph for this function: