 |
SX126x-Arduino
2.0.1
|
Radio driver API definition.
uint8_t BoardGetBatteryLevel(void)
Get batttery value TO BE IMPLEMENTED.
bool USE_LDO
Definition: board.h:75
void lora_hardware_uninit(void)
De-initializes the target board peripherals to decrease power consumption.
Definition: board.cpp:279
int RADIO_TXEN
Definition: board.h:70
void BoardEnableIrq(void)
Enable interrupts.
bool start_lora_task(void)
Initialize LoRa handler task (ESP32 & nRF52)
bool USE_DIO2_ANT_SWITCH
Definition: board.h:72
hw_config _hwConfig
Definition: board.cpp:49
int PIN_LORA_MOSI
Definition: board.h:69
uint32_t BoardGetRandomSeed(void)
Returns a pseudo random seed generated using the MCU Unique ID.
bool USE_RXEN_ANT_PWR
Definition: board.h:76
uint32_t lora_hardware_init(hw_config hwConfig)
Initializes the target board peripherals.
Definition: board.cpp:56
int CHIP_TYPE
Definition: board.h:62
Unified debug output for all platforms Set LIB_DEBUG to 1 to enable debug output.
int PIN_LORA_NSS
Definition: board.h:64
SX126x driver implementation.
#define SX1262_CHIP
Definition: board.h:56
bool USE_DIO3_ANT_SWITCH
Definition: board.h:74
void BoardDisableIrq(void)
Disable interrupts.
int PIN_LORA_DIO_1
Definition: board.h:67
int PIN_LORA_SCLK
Definition: board.h:65
bool USE_DIO3_TCXO
Definition: board.h:73
uint32_t lora_hardware_re_init(hw_config hwConfig)
Initializes the target board peripherals after deep sleep wake up.
Definition: board.cpp:103
int PIN_LORA_MISO
Definition: board.h:66
uint32_t lora_isp4520_init(int chipType)
Initializes the ISP4520 board peripherals.
Definition: board.cpp:149
int PIN_LORA_RESET
Definition: board.h:63
void BoardGetUniqueId(uint8_t *id)
Gets the board 64 bits unique ID.
uint32_t lora_rak4630_init(void)
Initializes the RAK4630 board peripherals.
Definition: board.cpp:194
int RADIO_RXEN
Definition: board.h:71
int PIN_LORA_BUSY
Definition: board.h:68