modm API documentation
modm::UartDevice< Uart > Class Template Reference

#include <modm/architecture/interface/uart_device.hpp>

Inheritance diagram for modm::UartDevice< Uart >:
modm::Sx128xTransportUart< Uart >

Public Member Functions

bool hasReceived ()
 
void setTxTimeout (ShortPreciseDuration timeout)
 
void setRxTimeout (ShortPreciseDuration timeout)
 

Protected Member Functions

bool write (uint8_t data)
 
bool write (const uint8_t *data, std::size_t length)
 
bool read (uint8_t &data)
 
bool read (uint8_t *buffer, std::size_t length)
 

Detailed Description

template<class Uart>
class modm::UartDevice< Uart >

Base class of an UART Device.

This class provides generic transaction-like semantics

Author
Rasmus Kleist Hørlyck Sørensen

The documentation for this class was generated from the following file: