FastLED 3.9.3
|
FastPin implementation for bit-banded access.
Only for MCUs that support bitbanding.
#include <fastpin.h>
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. | |