FastLED 3.9.3
Loading...
Searching...
No Matches
FastPinBB< PIN > Class Template Reference

Detailed Description

template<uint8_t PIN>
class FastPinBB< PIN >

FastPin implementation for bit-banded access.

Only for MCUs that support bitbanding.

Note
This bitband class is optional!

Definition at line 323 of file fastpin.h.

#include <fastpin.h>

+ Inheritance diagram for FastPinBB< PIN >:

Additional Inherited Members

- Public Types inherited from FastPin< PIN >
typedef volatile RwReg * port_ptr_t
 type for a pin read/write register, volatile
 
typedef RwReg port_t
 type for a pin read/write register, non-volatile
 
- Static Public Member Functions inherited from FastPin< PIN >
static void setOutput ()
 Set the pin mode as OUTPUT
 
static void setInput ()
 Set the pin mode as INPUT
 
static void hi ()
 Set the pin state to HIGH
 
static void lo ()
 Set the pin state to LOW
 
static void strobe ()
 Toggle the pin twice to create a short pulse.
 
static void toggle ()
 Toggle the pin.
 
static void hi (FASTLED_REGISTER port_ptr_t port)
 Set the same pin on another port to HIGH
 
static void lo (FASTLED_REGISTER port_ptr_t port)
 Set the same pin on another port to LOW
 
static void set (FASTLED_REGISTER port_t val)
 Set the state of the output register.
 
static void fastset (FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val)
 Set the state of a port.
 
static port_t hival ()
 Gets the state of the port with this pin HIGH
 
static port_t loval ()
 Gets the state of the port with this pin LOW
 
static port_ptr_t port ()
 Get the output state of the port.
 
static port_t mask ()
 Get the pin mask.
 

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