11 #ifndef __PROTOTYPE_UART_HEADER
12 #define __PROTOTYPE_UART_HEADER
30 void write(uint8_t
const & in) {
51 while(!data.available());
60 typedef uint16_t size_type;
69 return data_.available();
95 uart_class_template<HardwareSerial> uart(
Serial);
98 #endif //__PROTOTYPE_UART_HEADER
void serialize(Archive &ar, T &t)
Definition: serializer.hpp:95
static archive_enum const type
Definition: uart.hpp:21
uint8_t read()
Definition: uart.hpp:50
osw_class(D &data)
Definition: uart.hpp:23
void write(uint8_t const &in)
Definition: uart.hpp:30
size_type available() const
Definition: uart.hpp:68
isw_class & operator&(T &t)
Definition: uart.hpp:46
uart_class_template & operator<<(T &t)
Definition: uart.hpp:73
void wait()
Definition: uart.hpp:82
osw_class & operator&(T &t)
Definition: uart.hpp:26
archive_enum
Definition: archive_enum.hpp:14
uart_class_template & operator>>(T &t)
Definition: uart.hpp:78
uart_class_template(D &data)
Definition: uart.hpp:62
static archive_enum const type
Definition: uart.hpp:41
isw_class(D &data)
Definition: uart.hpp:43