UHD
003.002.002
|
#include <serial.hpp>
Public Types | |
typedef boost::shared_ptr< uart_iface > | sptr |
Public Member Functions | |
virtual void | write_uart (boost::uint8_t dev, const std::string &buf)=0 |
virtual std::string | read_uart (boost::uint8_t dev)=0 |
UART interface to write and read bytes.
typedef boost::shared_ptr<uart_iface> uhd::uart_iface::sptr |
|
pure virtual |
Read from a serial port.
dev | which UART to read from |
|
pure virtual |
Write to a serial port.
dev | which UART to write to |
buf | the data to write |