25 using port_register_t =
decltype(type_detection_detail::return_type_of(&type_detection_detail::detectPortRegisterType));
28 using pin_mask_t =
decltype(type_detection_detail::return_type_of(&type_detection_detail::detectDigitalPinToBitMask));
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
A structure to support direct port manipulation.
Definition port_pin.h:23
pin_mask_t mask
Definition port_pin.h:33
decltype(type_detection_detail::return_type_of(&type_detection_detail::detectDigitalPinToBitMask)) pin_mask_t
The return type of a "call" to digitalPinToBitMask()
Definition port_pin.h:28
bool isValid(void) const
Is the port register initialised?
Definition port_pin.h:36
port_register_t port
Definition port_pin.h:32
decltype(type_detection_detail::return_type_of(&type_detection_detail::detectPortRegisterType)) port_register_t
The return type of a "call" to portOutputRegister()
Definition port_pin.h:25
static constexpr port_register_t NULL_PORT
Definition port_pin.h:30