#if !defined(RADIOLIB_LR2021_REGISTERS_H)
#define RADIOLIB_LR2021_REGISTERS_H

#include "../../TypeDef.h"

#if !RADIOLIB_EXCLUDE_LR2021

// LR2021 SPI registers
#define RADIOLIB_LR2021_REG_DCDC_FREQ_LF                        (0x80004C)
#define RADIOLIB_LR2021_REG_DCDC_SWITCHER                       (0xF20024)
#define RADIOLIB_LR2021_REG_RTTOF_RSSI_POWER_OFFSET             (0xF30128)
#define RADIOLIB_LR2021_REG_RESULT_DEVIATION_CHANNEL_FILTER     (0xF3013C)
#define RADIOLIB_LR2021_REG_RESULT_DEVIATION_DCC                (0xF30134)
#define RADIOLIB_LR2021_REG_RTTOF_RSSI_MAX_GAIN                 (0xF301A4)
#define RADIOLIB_LR2021_REG_LORA_MODEM_TXRX_CFG0                (0xF30A14)
#define RADIOLIB_LR2021_REG_LORA_MODEM_MAIN_TX_CFG1             (0xF30A24)
#define RADIOLIB_LR2021_REG_LORA_EXT_FREQ_ERR_CTRL              (0xF30A2C)
#define RADIOLIB_LR2021_REG_RTTOF_EXTENDED_STUCK                (0xF30B50)
#define RADIOLIB_LR2021_REG_BLE_PHY_CODED_FREQ_DRIFT            (0xF30C28)
#define RADIOLIB_LR2021_REG_OOK_DETECTION_THRESHOLD             (0xF30E14)
#define RADIOLIB_LR2021_REG_RTTOF_RF_FREQ                       (0xF40144)
#define RADIOLIB_LR2021_REG_DCDC_ADC_CTRL                       (0xF40200)
#define RADIOLIB_LR2021_REG_OCP_CONTROL_UNLOCK                  (0xF40338)
#define RADIOLIB_LR2021_REG_OCP_THRESHOLDS                      (0xF40300)
#define RADIOLIB_LR2021_REG_DCDC_RX_PATH                        (0xF40430)

#endif

#endif
