modm API documentation
modm::Sx128xTransportSpi< SpiMaster, Cs > Class Template Reference

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

Inheritance diagram for modm::Sx128xTransportSpi< SpiMaster, Cs >:
modm::Sx128xTransport modm::SpiDevice< SpiMaster > modm::NestedResumable< 2 >

Public Member Functions

void attachConfigurationHandler (Spi::ConfigurationHandler handler)
 

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)
 
bool acquireMaster ()
 
bool releaseMaster ()
 
int8_t getResumableDepth () const
 
bool isResumableRunning () const
 
void stopResumable ()
 

Detailed Description

template<class SpiMaster, class Cs>
class modm::Sx128xTransportSpi< SpiMaster, Cs >

SX128X SPI Transport Layer.

Template Parameters
SpiMasterSpiMaster interface
CsChip-select pin
Author
Rasmus Kleist Hørlyck Sørensen

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