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

#include <modm/driver/radio/sx128x_transport.hpp>

Inheritance diagram for modm::Sx128xTransportUart< Uart >:
modm::Sx128xTransport modm::UartDevice< Uart, 2 > modm::NestedResumable< 10+1 >

Public Member Functions

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

Protected Member Functions

modm::ResumableResult< bool > writeCommandSingleData (Command command, uint8_t *data=nullptr)
 
modm::ResumableResult< bool > writeCommand (Command command, std::span< const uint8_t > data)
 
modm::ResumableResult< bool > readCommand (Command command, std::span< uint8_t > data)
 
int8_t getResumableDepth () const
 
bool isResumableRunning () const
 
modm::ResumableResult< bool > read (uint8_t &data)
 
modm::ResumableResult< bool > read (uint8_t *buffer, std::size_t length)
 
void stopResumable ()
 
modm::ResumableResult< bool > write (uint8_t data)
 
modm::ResumableResult< bool > write (const uint8_t *data, std::size_t length)
 

Detailed Description

template<class Uart>
class modm::Sx128xTransportUart< Uart >

SX128X UART Transport Layer.

Template Parameters
UartUART interface
Author
Rasmus Kleist Hørlyck Sørensen

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