/* * portc.cpp * * Created: 19.10.2020 17:46:58 * Author: netz */ #ifndef BLUBBLIB_PORTC_HPP #define BLUBBLIB_PORTC_HPP #include namespace blubblib { struct portc { static uint8_t Port() { return PORTC; } static void Port(uint8_t v) { PORTC = v; } static uint8_t Pin() { return PINC; } static void Pin(uint8_t v) { PINC = v; } static uint8_t Dir() { return DDRC; } static void Dir(uint8_t v) { DDRC = v; } }; } #endif