![]() |
Speeduino
|
A structure to support direct port manipulation. More...
#include <port_pin.h>
Public Types | |
| using | port_register_t = decltype(type_detection_detail::return_type_of(&type_detection_detail::detectPortRegisterType)) |
| The return type of a "call" to portOutputRegister() | |
| using | pin_mask_t = decltype(type_detection_detail::return_type_of(&type_detection_detail::detectDigitalPinToBitMask)) |
| The return type of a "call" to digitalPinToBitMask() | |
Public Member Functions | |
| bool | isValid (void) const |
| Is the port register initialised? | |
Public Attributes | |
| port_register_t | port = NULL_PORT |
| pin_mask_t | mask = {0} |
Static Public Attributes | |
| static constexpr port_register_t | NULL_PORT = {nullptr} |
A structure to support direct port manipulation.
| using port_pin_t::pin_mask_t = decltype(type_detection_detail::return_type_of(&type_detection_detail::detectDigitalPinToBitMask)) |
The return type of a "call" to digitalPinToBitMask()
| using port_pin_t::port_register_t = decltype(type_detection_detail::return_type_of(&type_detection_detail::detectPortRegisterType)) |
The return type of a "call" to portOutputRegister()
Is the port register initialised?

| pin_mask_t port_pin_t::mask = {0} |
|
staticconstexpr |
| port_register_t port_pin_t::port = NULL_PORT |