RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
LR2021_registers.h
1
#if !defined(RADIOLIB_LR2021_REGISTERS_H)
2
#define RADIOLIB_LR2021_REGISTERS_H
3
4
#include "../../TypeDef.h"
5
6
#if !RADIOLIB_EXCLUDE_LR2021
7
8
// LR2021 SPI registers
9
#define RADIOLIB_LR2021_REG_DCDC_FREQ_LF (0x80004C)
10
#define RADIOLIB_LR2021_REG_DCDC_SWITCHER (0xF20024)
11
#define RADIOLIB_LR2021_REG_RX_FIFO_BASE (0xF30028)
12
#define RADIOLIB_LR2021_REG_TX_FIFO_BASE (0xF3002C)
13
#define RADIOLIB_LR2021_REG_RX_FIFO_SIZE (0xF30030)
14
#define RADIOLIB_LR2021_REG_TX_FIFO_SIZE (0xF30034)
15
#define RADIOLIB_LR2021_REG_SRAM_STATUS (0xF30054)
16
#define RADIOLIB_LR2021_REG_RTTOF_RSSI_POWER_OFFSET (0xF30128)
17
#define RADIOLIB_LR2021_REG_RESULT_DEVIATION_CHANNEL_FILTER (0xF3013C)
18
#define RADIOLIB_LR2021_REG_RESULT_DEVIATION_DCC (0xF30134)
19
#define RADIOLIB_LR2021_REG_RTTOF_RSSI_MAX_GAIN (0xF301A4)
20
#define RADIOLIB_LR2021_REG_LORA_MODEM_TXRX_CFG0 (0xF30A14)
21
#define RADIOLIB_LR2021_REG_LORA_MODEM_MAIN_TX_CFG1 (0xF30A24)
22
#define RADIOLIB_LR2021_REG_LORA_EXT_FREQ_ERR_CTRL (0xF30A2C)
23
#define RADIOLIB_LR2021_REG_RTTOF_EXTENDED_STUCK (0xF30B50)
24
#define RADIOLIB_LR2021_REG_BLE_PHY_CODED_FREQ_DRIFT (0xF30C28)
25
#define RADIOLIB_LR2021_REG_OOK_DETECTION_THRESHOLD (0xF30E14)
26
#define RADIOLIB_LR2021_REG_RTTOF_RF_FREQ (0xF40144)
27
#define RADIOLIB_LR2021_REG_DCDC_ADC_CTRL (0xF40200)
28
#define RADIOLIB_LR2021_REG_OCP_CONTROL_UNLOCK (0xF40338)
29
#define RADIOLIB_LR2021_REG_OCP_THRESHOLDS (0xF40300)
30
#define RADIOLIB_LR2021_REG_DCDC_RX_PATH (0xF40430)
31
32
// RAM addresses and magic values
33
#define RADIOLIB_LR2021_PRAM_BASE (0x801000)
34
#define RADIOLIB_LR2021_PRAM_ADDR_LOADED (0x800FF8)
35
#define RADIOLIB_LR2021_PRAM_LOADED_MAGIC (0x600DB002)
36
#define RADIOLIB_LR2021_PRAM_ADDR_VERSION (0x800FFC)
37
#define RADIOLIB_LR2021_SRAM_BASE (0x802000)
38
39
// FIFO base addresses
40
#define RADIOLIB_LR2021_RX_FIFO_BASE_ADDR (0x00804400)
41
#define RADIOLIB_LR2021_TX_FIFO_BASE_ADDR (0x00804000)
42
43
#endif
44
45
#endif
src
modules
LR2021
LR2021_registers.h
Generated by
1.15.0