FastLED 3.9.7
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 351 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 353 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 357 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 355 of file fastpin.h.


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