|
FastLED 3.9.15
|
#include <fastpin.h>
Inheritance diagram for InputPin:
Collaboration diagram for InputPin:Public Member Functions | |
| InputPin (int pin) | |
| Constructor. | |
Public Member Functions inherited from Pin | |
| Pin (int pin) | |
| Constructor. | |
| virtual | ~Pin () |
| void | fastset (FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) |
| Set the state of a port. | |
| FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_NULL_DEREFERENCE void | hi () |
Set the pin state to HIGH | |
| void | hi (FASTLED_REGISTER port_ptr_t port) |
Set the same pin on another port to HIGH | |
| port_t | hival () |
Gets the state of the port with this pin HIGH | |
| virtual bool | isSelected () override |
Checks if the pin is currently HIGH | |
| void | lo () |
Set the pin state to LOW | |
| void | lo (FASTLED_REGISTER port_ptr_t port) |
Set the same pin on another port to LOW | |
| port_t | loval () |
Gets the state of the port with this pin LOW | |
| port_t | mask () |
| Get the pin mask. | |
| port_ptr_t | port () |
| Get the output state of the port. | |
| virtual void | release () override |
Set the pin state to LOW | |
| virtual void | select () override |
Set the pin state to HIGH | |
| void | set (FASTLED_REGISTER port_t val) |
| Set the state of the output register. | |
| void | setInput () |
Set the pin mode as INPUT | |
| void | setInputPullup () |
| void | setOutput () |
Set the pin mode as OUTPUT | |
| FL_DISABLE_WARNING_POP void | strobe () |
| Toggle the pin twice to create a short pulse. | |
| void | toggle () |
| Toggle the pin. | |
Public Member Functions inherited from Selectable | |
| virtual | ~Selectable () |
Additional Inherited Members | |
Public Types inherited from 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 | |