#pragma once #include "settings.hpp" namespace uart { namespace detail { template class hardware0 { public: using data_t = typename settings::data_t; static constexpr auto BAUD_RATE = settings::BAUD_RATE; static constexpr auto DATA_BITS = settings::DATA_BITS; static constexpr auto PARITY = settings::PARITY; static constexpr auto STOP_BITS = settings::STOP_BITS; static void init() {} static void txByte(data_t byte) { static_cast(byte); } static data_t rxByte() {} static data_t peek() {} }; } // namespace detail } // namespace uart