![]() |
Speeduino
|
A structure to support direct port manipulation. More...
#include <port_pin.h>
Public Member Functions | |
| port_pin_t ()=default | |
| port_pin_t (uint8_t pinNum, uint8_t mode) | |
| Construct from a pin number. | |
| bool | isValid (void) const |
| Is the port register initialised? | |
| bool | isPinHigh (void) const noexcept |
| Check if the pin is set high. | |
| bool | isPinLow (void) const noexcept |
| Check if the pin is set low. | |
| void | setPinHigh (void) noexcept |
| Set the pin high. | |
| void | setPinLow (void) noexcept |
| Set the pin low. | |
A structure to support direct port manipulation.
|
default |
Check if the pin is set high.


Check if the pin is set low.

Is the port register initialised?

Set the pin high.

Set the pin low.
