|
| Command (Opcode opcode) |
|
| Command (Opcode opcode, std::span< const uint8_t > vargs) |
|
bool | hasVargs () const |
|
std::size_t | getVargsCount () const |
|
| MODM_FLAGS16 (Irq) |
|
| MODM_FLAGS8 (SleepConfig) |
|
modm::ResumableResult< bool > | clearIrqStatus (Irq_t irqMask) |
| Clear IRQ flags in the IRQ register.
|
|
modm::ResumableResult< bool > | getIrqStatus (Irq_t *irqStatus) |
| Get the value of the IRQ register.
|
|
modm::ResumableResult< bool > | getPacketStatus (PacketStatus *packetStatus) |
|
modm::ResumableResult< bool > | getPacketType (PacketType *packetType) |
| Get the current operating packet type of the radio.
|
|
modm::ResumableResult< bool > | getRssiInst (uint8_t *rssiInst) |
|
modm::ResumableResult< bool > | getRxBufferStatus (RxBufferStatus *rxBufferStatus) |
| Get length of the last received packet and the address of the first byte received.
|
|
modm::ResumableResult< bool > | getStatus (Status *status) |
|
bool | isBusy () |
| Determine if radio is busy.
|
|
modm::ResumableResult< bool > | readBuffer (uint8_t offset, std::span< uint8_t > data) |
| This function is used to read the received data payload.
|
|
modm::ResumableResult< bool > | readRegister (Register reg, uint8_t *data) |
| Read a single byte of data at the given address.
|
|
modm::ResumableResult< bool > | readRegister (Register reg, std::span< uint8_t > data) |
| Read a block of data starting at a given address.
|
|
modm::ResumableResult< void > | reset () |
|
modm::ResumableResult< bool > | setAdvancedRanging (bool enable=true) |
| Enable advanced ranging.
|
|
modm::ResumableResult< bool > | setAutoFs (bool enable=true) |
|
modm::ResumableResult< bool > | setAutoTx (uint16_t time) |
|
modm::ResumableResult< bool > | setBufferBaseAddress (uint8_t txBaseAddress, uint8_t rxBaseAddress) |
| Set the base address for the packet handling operation in Tx and Rx mode for all packet types.
|
|
modm::ResumableResult< bool > | setCad () |
|
modm::ResumableResult< bool > | setCadParams (CadSymbolNumber cadSymbolNumber) |
| Set the number of symbols on which which Channel Activity Detected (CAD) operates.
|
|
modm::ResumableResult< bool > | setDioIrqParams (Irq_t irqMask, Irq_t dio1Mask=Irq_t (), Irq_t dio2Mask=Irq_t (), Irq_t dio3Mask=Irq_t ()) |
| Enable IRQs and to route IRQs to DIO pins.
|
|
modm::ResumableResult< bool > | setFs () |
|
modm::ResumableResult< bool > | setLongPreamble (bool enable=true) |
|
modm::ResumableResult< bool > | setModulationParams (ModulationParams modulationParams) |
|
modm::ResumableResult< bool > | setPacketParams (PacketParams packetParams) |
|
modm::ResumableResult< bool > | setPacketType (PacketType packetType) |
|
modm::ResumableResult< bool > | setRangingRole (RangingRole rangingRole) |
| Set the role of the radio in ranging operation.
|
|
modm::ResumableResult< bool > | setRegulatorMode (RegulatorMode regModeParam) |
| Specify if DC-DC or LDO is used for power regulation.
|
|
modm::ResumableResult< bool > | setRfFrequency (uint32_t rfFrequency) |
|
modm::ResumableResult< bool > | setRx (PeriodBase periodBase, uint16_t periodBaseCount) |
|
modm::ResumableResult< bool > | setRxDutyCycle (PeriodBase periodBase, uint16_t rxPeriodBaseCount, uint16_t sleepPeriodBaseCount) |
|
modm::ResumableResult< bool > | setSaveContext () |
| Save the present context of the radio register values to the Data RAM.
|
|
modm::ResumableResult< bool > | setSleep (SleepConfig_t sleepConfig) |
|
modm::ResumableResult< bool > | setStandby (StandbyConfig standbyConfig=StandbyConfig::StdbyRc) |
|
modm::ResumableResult< bool > | setTx (PeriodBase periodBase, uint16_t periodBaseCount) |
|
modm::ResumableResult< bool > | setTxContinuousPreamble () |
|
modm::ResumableResult< bool > | setTxContinuousWave () |
|
modm::ResumableResult< bool > | setTxParams (uint8_t power, RampTime rampTime) |
|
modm::ResumableResult< bool > | setUartSpeed (UartDividerRatio uartDividerRatio) |
|
modm::ResumableResult< bool > | writeBuffer (uint8_t offset, std::span< const uint8_t > data) |
|
modm::ResumableResult< bool > | writeRegister (Register reg, uint8_t data) |
| Writes a single byte in a data memory space at the specified address.
|
|
modm::ResumableResult< bool > | writeRegister (Register reg, std::span< const uint8_t > data) |
| Writes a block of bytes in a data memory space starting at a specific address.
|
|
|
Opcode | getOpcode () const |
|
void | getOpcode (Opcode *opcode) const |
|
void | getOpcode (uint8_t *opcode) const |
|
std::span< const uint8_t > | getVargs () const |
|