|
FastLED 3.9.15
|
FastPin implementation for bit-banded access.
Only for MCUs that support bitbanding.
#include <fastpin.h>
Inheritance diagram for FastPinBB< PIN >:
Collaboration 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 | fastset (FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) |
| Set the state of a port. | |
| static void | hi () |
Set the pin state to HIGH | |
| static void | hi (FASTLED_REGISTER port_ptr_t port) |
Set the same pin on another port to HIGH | |
| static port_t | hival () |
Gets the state of the port with this pin HIGH | |
| static void | lo () |
Set the pin state to LOW | |
| static void | lo (FASTLED_REGISTER port_ptr_t port) |
Set the same pin on another port to LOW | |
| static port_t | loval () |
Gets the state of the port with this pin LOW | |
| static port_t | mask () |
| Get the pin mask. | |
| static port_ptr_t | port () |
| Get the output state of the port. | |
| static void | set (FASTLED_REGISTER port_t val) |
| Set the state of the output register. | |
| static void | setInput () |
Set the pin mode as INPUT | |
| static void | setOutput () |
Set the pin mode as OUTPUT | |
| static void | strobe () |
| Toggle the pin twice to create a short pulse. | |
| static void | toggle () |
| Toggle the pin. | |