#ifndef USARTCLASS_H #define USARTCLASS_H #include "baselayer.h" #include "fifo.h" class UsartClass : public BaseLayer { FIFO tx_ring; public: explicit UsartClass (const unsigned _baud) noexcept; uint32_t Down (const char * data, const uint32_t len) override; void irq (); }; #endif // USARTCLASS_H