FastLED 3.9.15
Loading...
Searching...
No Matches
fastpin.h File Reference

Detailed Description

Class base definitions for defining fast pin access.

Definition in file fastpin.h.

#include "FastLED.h"
#include "led_sysdefs.h"
#include <stddef.h>
#include "fl/unused.h"
+ Include dependency graph for fastpin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __FL_PORT_INFO< port >
 Utility template for tracking down information about pins and ports. More...
 
class  FastPin< PIN >
 The simplest level of Pin class. More...
 
class  FastPinBB< PIN >
 FastPin implementation for bit-banded access. More...
 
class  InputPin
 I/O pin initially set to INPUT. More...
 
class  OutputPin
 I/O pin initially set to OUTPUT. More...
 
class  Pin
 Naive fallback solution for low level pin access. More...
 
class  Selectable
 Abstract class for "selectable" things. More...
 

Macros

#define _FL_DEFINE_PORT(L, BASE)
 Macro to create the instantiations for defined ports.
 
#define _FL_DEFINE_PORT3(L, LC, BASE)
 Macro to create the instantiations for defined ports.
 
#define NO_PIN   255
 Constant for "not a pin".
 

Typedefs

typedef volatile uint32_t * ptr_reg32_t
 Pointer to a 32-bit register, volatile.
 
typedef volatile uint32_t & reg32_t
 Reference to a 32-bit register, volatile.
 

Variables

template<uint8_t PIN>
volatile RoReg * FastPin< PIN >::sInPort
 
template<uint8_t PIN>
RwReg FastPin< PIN >::sPinMask
 
template<uint8_t PIN>
volatile RwReg * FastPin< PIN >::sPort