FastLED 3.9.3
Loading...
Searching...
No Matches
__FL_PORT_INFO< port > Struct Template Reference

Detailed Description

template<uint8_t port>
struct __FL_PORT_INFO< port >

Utility template for tracking down information about pins and ports.

Template Parameters
portthe port to check information for
Examples
Pintest.ino.

Definition at line 330 of file fastpin.h.

#include <fastpin.h>

Static Public Member Functions

static bool hasPort ()
 Checks whether a port exists.
 
static const char * portName ()
 Gets the name of the port, as a C-string.
 
static const void * portAddr ()
 Gets the raw address of the port.
 

Member Function Documentation

◆ hasPort()

template<uint8_t port>
static bool __FL_PORT_INFO< port >::hasPort ( )
inlinestatic

Checks whether a port exists.

Definition at line 332 of file fastpin.h.

◆ portAddr()

template<uint8_t port>
static const void * __FL_PORT_INFO< port >::portAddr ( )
inlinestatic

Gets the raw address of the port.

Definition at line 336 of file fastpin.h.

◆ portName()

template<uint8_t port>
static const char * __FL_PORT_INFO< port >::portName ( )
inlinestatic

Gets the name of the port, as a C-string.

Examples
Pintest.ino.

Definition at line 334 of file fastpin.h.


The documentation for this struct was generated from the following file: