 |
SX126x-Arduino
2.0.1
|
Go to the documentation of this file.
38 #ifndef __SX126x_ARCH_H__
39 #define __SX126x_ARCH_H__
157 void SX126xGetStats(uint16_t *nb_pkt_received, uint16_t *nb_pkt_crc_error, uint16_t *nb_pkt_length_error);
167 #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:173
void SX126xIoDeInit(void)
De-initializes the radio I/Os pins interface.
Definition: sx126x-board.cpp:118
void SX126xIoReInit(void)
Initializes the radio I/Os pins interface after deep sleep wake.
Definition: sx126x-board.cpp:83
void SX126xTXena(void)
Set the RF antenna switch to transmitting mode.
Definition: sx126x-board.cpp:537
uint8_t SX126xGetPaSelect(uint32_t channel)
Gets the board PA selection configuration.
Definition: sx126x-board.cpp:315
void SX126xRXena(void)
Set the RF antenna switch to receiving mode.
Definition: sx126x-board.cpp:525
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:113
SX126x_t SX126x
Radio hardware and global parameters.
Definition: radio.cpp:515
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:555
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:511
uint8_t SX126xReadRegister(uint16_t address)
Read a single byte of data from the radio memory.
Definition: sx126x-board.cpp:264
void SX126xSetRfTxPower(int8_t power)
Sets the radio output power.
Definition: sx126x-board.cpp:310
Unified debug output for all platforms Set LIB_DEBUG to 1 to enable debug output.
void SX126xWaitOnBusy(void)
Blocking loop to wait while the Busy pin in high.
Definition: sx126x-board.cpp:138
void SX126xReadCommand(RadioCommands_t opcode, uint8_t *buffer, uint16_t size)
Send a command that read data from the radio.
Definition: sx126x-board.cpp:196
void SX126xWriteRegister(uint16_t address, uint8_t value)
Write a single byte of data to the radio memory.
Definition: sx126x-board.cpp:238
void SX126xAntSwOn(void)
Initializes the RF Switch I/Os pins interface.
Definition: sx126x-board.cpp:496
bool SX126xCheckRfFrequency(uint32_t frequency)
Checks if the given RF frequency is supported by the hardware.
Definition: sx126x-board.cpp:549
void SX126xResetStats(void)
Resets values read by GetStats.
Definition: sx126x-board.cpp:566
void SX126xWakeup(void)
Wakes up the radio.
Definition: sx126x-board.cpp:154
void SX126xReset(void)
HW Reset of the radio.
Definition: sx126x-board.cpp:128