 |
SX126x-Arduino
|
Go to the documentation of this file.
38 #ifndef __SX126x_ARCH_H__
39 #define __SX126x_ARCH_H__
156 void SX126xGetStats(uint16_t *nb_pkt_received, uint16_t *nb_pkt_crc_error, uint16_t *nb_pkt_length_error);
166 #endif // __SX126x_ARCH_H__
void SX126xWriteCommand(RadioCommands_t opcode, uint8_t *buffer, uint16_t size)
Send a command that write data to the radio.
Definition: sx126x-board.cpp:160
void SX126xIoDeInit(void)
De-initializes the radio I/Os pins interface.
Definition: sx126x-board.cpp:100
void SX126xIoReInit(void)
Initializes the radio I/Os pins interface after deep sleep wake.
Definition: sx126x-board.cpp:74
void SX126xTXena(void)
Set the RF antenna switch to transmitting mode.
Definition: sx126x-board.cpp:508
uint8_t SX126xGetPaSelect(uint32_t channel)
Gets the board PA selection configuration.
Definition: sx126x-board.cpp:302
void SX126xRXena(void)
Set the RF antenna switch to receiving mode.
Definition: sx126x-board.cpp:499
enum RadioCommands_e RadioCommands_t
Represents all possible opcode understood by the radio.
void SX126xIoIrqInit(DioIrqHandler dioIrq)
Initializes DIO IRQ handlers.
Definition: sx126x-board.cpp:95
SX126x_t SX126x
Radio hardware and global parameters.
Definition: radio.cpp:504
void SX126xGetStats(uint16_t *nb_pkt_received, uint16_t *nb_pkt_crc_error, uint16_t *nb_pkt_length_error)
Gets info on the number of packets received.
Definition: sx126x-board.cpp:523
void SX126xIoInit(void)
Initializes the radio I/Os pins interface.
Definition: sx126x-board.cpp:51
void() DioIrqHandler(void)
Definition: sx126x.h:668
void SX126xAntSwOff(void)
De-initializes the RF Switch I/Os pins interface.
Definition: sx126x-board.cpp:491
uint8_t SX126xReadRegister(uint16_t address)
Read a single byte of data from the radio memory.
Definition: sx126x-board.cpp:251
void SX126xSetRfTxPower(int8_t power)
Sets the radio output power.
Definition: sx126x-board.cpp:297
void SX126xWaitOnBusy(void)
Blocking loop to wait while the Busy pin in high.
Definition: sx126x-board.cpp:120
void SX126xReadCommand(RadioCommands_t opcode, uint8_t *buffer, uint16_t size)
Send a command that read data from the radio.
Definition: sx126x-board.cpp:183
void SX126xWriteRegister(uint16_t address, uint8_t value)
Write a single byte of data to the radio memory.
Definition: sx126x-board.cpp:225
void SX126xAntSwOn(void)
Initializes the RF Switch I/Os pins interface.
Definition: sx126x-board.cpp:483
bool SX126xCheckRfFrequency(uint32_t frequency)
Checks if the given RF frequency is supported by the hardware.
Definition: sx126x-board.cpp:517
void SX126xResetStats(void)
Resets values read by GetStats.
Definition: sx126x-board.cpp:534
void SX126xWakeup(void)
Wakes up the radio.
Definition: sx126x-board.cpp:141
void SX126xReset(void)
HW Reset of the radio.
Definition: sx126x-board.cpp:110