lriot 2.1.0.0
LR IoT Registers Settings

Settings for registers of LR IoT Click driver. More...

Macros

#define LRIOT_TEMP_INT_VREF   1.35
 LR IoT Temperature in Celsius calculation constants.
 
#define LRIOT_TEMP_VOLTAGE_AT_25C   0.7295
 
#define LRIOT_TEMP_RESOLUTION   2047.0
 
#define LRIOT_TEMP_NOMINAL   25
 
#define LRIOT_TEMP_SLOPE   -1.7
 
#define LRIOT_TEMP_SLOPE_DIVIDEND   1000.0
 
#define LRIOT_TCXO_DELAY_2SEC   0xFFFA
 LR IoT default duration for the 32 MHz oscillator to start and stabilize.
 
#define LRIOT_GNSS_SCAN_MAX_SATELLITES   16
 LR IoT GNSS scan macros.
 
#define LRIOT_GNSS_SCAN_RESULTS_BUF_LEN   256
 
#define LRIOT_GNSS_SCAN_DISPLAY_ALL   0
 
#define LRIOT_WIFI_SCAN_MAX_RESULTS   12
 LR IoT WiFi scan macros.
 
#define LRIOT_WIFI_SCAN_DISPLAY_ALL   0
 
#define LRIOT_LORA_PKT_PAYLOAD_LEN   64
 LR IoT LoRa macros.
 
#define LRIOT_LORA_DEFAULT_FREQ   868100000ul
 
#define LRIOT_UPDATE_FIRMWARE   0
 LR IoT update firmware macros.
 
#define LRIOT_TRANSCEIVER_FIRMWARE   0
 LR IoT firmware selector macros.
 
#define LRIOT_MODEM_FIRMWARE   1
 
#define LRIOT_FIRMWARE_SELECTOR   LRIOT_TRANSCEIVER_FIRMWARE
 
#define LRIOT_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define LRIOT_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of LR IoT Click driver.

Macro Definition Documentation

◆ LRIOT_FIRMWARE_SELECTOR

#define LRIOT_FIRMWARE_SELECTOR   LRIOT_TRANSCEIVER_FIRMWARE

◆ LRIOT_GNSS_SCAN_DISPLAY_ALL

#define LRIOT_GNSS_SCAN_DISPLAY_ALL   0

◆ LRIOT_GNSS_SCAN_MAX_SATELLITES

#define LRIOT_GNSS_SCAN_MAX_SATELLITES   16

LR IoT GNSS scan macros.

GNSS scan macros of LR IoT Click driver.

◆ LRIOT_GNSS_SCAN_RESULTS_BUF_LEN

#define LRIOT_GNSS_SCAN_RESULTS_BUF_LEN   256

◆ LRIOT_LORA_DEFAULT_FREQ

#define LRIOT_LORA_DEFAULT_FREQ   868100000ul

◆ LRIOT_LORA_PKT_PAYLOAD_LEN

#define LRIOT_LORA_PKT_PAYLOAD_LEN   64

LR IoT LoRa macros.

LoRa macros of LR IoT Click driver.

◆ LRIOT_MODEM_FIRMWARE

#define LRIOT_MODEM_FIRMWARE   1

◆ LRIOT_SET_DATA_SAMPLE_EDGE

#define LRIOT_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with lriot_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ LRIOT_SET_DATA_SAMPLE_MIDDLE

#define LRIOT_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ LRIOT_TCXO_DELAY_2SEC

#define LRIOT_TCXO_DELAY_2SEC   0xFFFA

LR IoT default duration for the 32 MHz oscillator to start and stabilize.

Specified duration for the 32 MHz oscillator to start and stabilize (in 30.52 us steps) of LR IoT Click driver.

◆ LRIOT_TEMP_INT_VREF

#define LRIOT_TEMP_INT_VREF   1.35

LR IoT Temperature in Celsius calculation constants.

Specified constants for Temperature in Celsius calculation of LR IoT Click driver.

◆ LRIOT_TEMP_NOMINAL

#define LRIOT_TEMP_NOMINAL   25

◆ LRIOT_TEMP_RESOLUTION

#define LRIOT_TEMP_RESOLUTION   2047.0

◆ LRIOT_TEMP_SLOPE

#define LRIOT_TEMP_SLOPE   -1.7

◆ LRIOT_TEMP_SLOPE_DIVIDEND

#define LRIOT_TEMP_SLOPE_DIVIDEND   1000.0

◆ LRIOT_TEMP_VOLTAGE_AT_25C

#define LRIOT_TEMP_VOLTAGE_AT_25C   0.7295

◆ LRIOT_TRANSCEIVER_FIRMWARE

#define LRIOT_TRANSCEIVER_FIRMWARE   0

LR IoT firmware selector macros.

Specified firmware selector macros of LR IoT Click driver.

◆ LRIOT_UPDATE_FIRMWARE

#define LRIOT_UPDATE_FIRMWARE   0

LR IoT update firmware macros.

Specified macro for updating the module firmware of LR IoT Click driver.

Note
Change the LRIOT_UPDATE_FIRMWARE macro value to 1 to update the module firmware inside the lriot_default_cfg to default firmware. Check if the target MCU have enough available ROM space for the firmware image (at least 240kB).

◆ LRIOT_WIFI_SCAN_DISPLAY_ALL

#define LRIOT_WIFI_SCAN_DISPLAY_ALL   0

◆ LRIOT_WIFI_SCAN_MAX_RESULTS

#define LRIOT_WIFI_SCAN_MAX_RESULTS   12

LR IoT WiFi scan macros.

WiFi scan macros of LR IoT Click driver.