TODO: perform MUX config { _PDDR::r() |= _MASK; }
| 64 | |
| 65 | inline static void setOutput() { pinMode(PIN, PinMode::Output); } // TODO: perform MUX config { _PDDR::r() |= _MASK; } |
| 66 | inline static void setInput() { pinMode(PIN, PinMode::Input); } // TODO: preform MUX config { _PDDR::r() &= ~_MASK; } |
| 67 | |
| 68 | inline static void hi() __attribute__ ((always_inline)) { *_PDOR::template rx<_BIT>() = 1; } |
| 69 | inline static void lo() __attribute__ ((always_inline)) { *_PDOR::template rx<_BIT>() = 0; } |