RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
LR11x0_registers.h
1
#if !defined(RADIOLIB_LR11X0_REGISTERS_H)
2
#define RADIOLIB_LR11X0_REGISTERS_H
3
4
#include "../../TypeDef.h"
5
6
#if !RADIOLIB_EXCLUDE_LR11X0
7
8
// LR11X0 register map
9
#define RADIOLIB_LR11X0_REG_SF6_SX127X_COMPAT (0x00F20414)
10
#define RADIOLIB_LR11X0_REG_LORA_HIGH_POWER_FIX (0x00F30054)
11
#define RADIOLIB_LR11X0_REG_LNA_MODE (0x00F3008C)
12
#define RADIOLIB_LR11X0_REG_GFSK_FIX1 (0x00F20344)
13
#define RADIOLIB_LR11X0_REG_GFSK_FIX2 (0x00F20348)
14
#define RADIOLIB_LR11X0_REG_GFSK_FIX3 (0x00F20244)
15
16
// LR11X0 SPI register variables
17
18
// RADIOLIB_LR11X0_REG_SF6_SX127X_COMPAT
19
#define RADIOLIB_LR11X0_SF6_SX126X (0x00UL << 18)
// 18 18 SF6 mode: SX126x series
20
#define RADIOLIB_LR11X0_SF6_SX127X (0x01UL << 18)
// 18 18 SX127x series
21
22
// RADIOLIB_LR11X0_REG_LORA_HIGH_POWER_FIX
23
#define RADIOLIB_LR11X0_LORA_HIGH_POWER_FIX (0x00UL << 30)
// 30 30 fix for errata
24
25
// RADIOLIB_LR11X0_REG_LNA_MODE
26
#define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_N (0x01UL << 4)
// 7 4 LNA mode: single-ended RFI_N
27
#define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_P (0x02UL << 4)
// 7 4 single-ended RFI_P
28
#define RADIOLIB_LR11X0_LNA_MODE_DIFFERENTIAL (0x03UL << 4)
// 7 4 differential (default)
29
30
#endif
31
32
#endif
src
modules
LR11x0
LR11x0_registers.h
Generated by
1.9.8