Loading...
Searching...
No Matches
cc26x2_cc13x2_fcfg.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Leon George
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License v2.1. See the file LICENSE in the top level directory for more
6 * details.
7 */
16#ifndef CC26X2_CC13X2_FCFG_H
17#define CC26X2_CC13X2_FCFG_H
18
19#include <cc26xx_cc13xx.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
28typedef struct {
29 reg8_t __reserved1[0xA0];
30 reg32_t MISC_CONF_1;
32 reg32_t __reserved2[0x2];
47 reg32_t CONFIG_SYNTH_DIV5;
50 reg32_t CONFIG_SYNTH_DIV10;
53 reg32_t CONFIG_SYNTH_DIV15;
54 reg32_t CONFIG_SYNTH_DIV30;
55 reg32_t __reserved3[0x17];
56 reg32_t FLASH_NUMBER;
57 reg32_t __reserved4;
58 reg32_t FLASH_COORDINATE;
59 reg32_t FLASH_E_P;
60 reg32_t FLASH_C_E_P_R;
61 reg32_t FLASH_P_R_PV;
62 reg32_t FLASH_EH_SEQ;
63 reg32_t FLASH_VHV_E;
64 reg32_t FLASH_PP;
65 reg32_t FLASH_PROG_EP;
66 reg32_t FLASH_ERA_PW;
67 reg32_t FLASH_VHV;
68 reg32_t FLASH_VHV_PV;
69 reg32_t FLASH_V;
70 reg32_t __reserved5[0x3E];
71 reg32_t USER_ID; /* User identification */
72 reg32_t __reserved6[0x6];
73 reg32_t FLASH_OTP_DATA3;
74 reg32_t ANA2_TRIM;
75 reg32_t LDO_TRIM;
76 reg32_t __reserved7[0xB];
77 reg32_t MAC_BLE_0;
78 reg32_t MAC_BLE_1;
79 reg32_t MAC_15_4_0;
80 reg32_t MAC_15_4_1;
81 reg32_t __reserved8[0x4];
82 reg32_t FLASH_OTP_DATA4;
83 reg32_t MISC_TRIM;
84 reg32_t RCOSC_HF_TEMPCOMP;
85 reg32_t __reserved9;
86 reg32_t ICEPICK_DEVICE_ID;
87 reg32_t FCFG1_REVISION;
88 reg32_t MISC_OTP_DATA;
89 reg32_t __reserved10[0x8];
90 reg32_t IOCONF;
91 reg32_t __reserved11;
92 reg32_t CONFIG_IF_ADC;
93 reg32_t CONFIG_OSC_TOP;
94 reg32_t __reserved12[0x2];
95 reg32_t SOC_ADC_ABS_GAIN;
96 reg32_t SOC_ADC_REL_GAIN;
97 reg32_t __reserved13;
98 reg32_t SOC_ADC_OFFSET_INT;
99 reg32_t SOC_ADC_REF_TRIM_AND_OFFSET_EXT;
100 reg32_t AMPCOMP_TH1;
101 reg32_t AMPCOMP_TH2;
102 reg32_t AMPCOMP_CTRL1;
103 reg32_t ANABYPASS_VALUE2;
104 reg32_t __reserved14[0x2];
105 reg32_t VOLT_TRIM;
106 reg32_t OSC_CONF;
108 reg32_t __reserved15;
109 reg32_t MISC_OTP_DATA_1;
110 reg32_t __reserved16[0xC];
111 reg32_t SHDW_DIE_ID_0;
112 reg32_t SHDW_DIE_ID_1;
113 reg32_t SHDW_DIE_ID_2;
114 reg32_t SHDW_DIE_ID_3;
115 reg32_t __reserved17[0x7];
116 reg32_t SHDW_OSC_BIAS_LDO_TRIM;
117 reg32_t SHDW_ANA_TRIM;
118 reg32_t __reserved18[0x3];
120 reg32_t __reserved19[0x2];
128
133#define FCFG1_DAC_BIAS_CNF_LPM_TRIM_IOUT_m 0x0003F000
134#define FCFG1_DAC_BIAS_CNF_LPM_TRIM_IOUT_s 12
135#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_WIDTH_TRIM_m 0x00000E00
136#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_WIDTH_TRIM_s 9
137#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_BACKUP_EN 0x00000100
147#define FCFG_BASE (0x50001000)
153#define FCFG ((fcfg_regs_t *) (FCFG_BASE))
154
155#ifdef __cplusplus
156} /* end extern "C" */
157#endif
158
159#endif /* CC26X2_CC13X2_FCFG_H */
160
CC26xx, CC13xx definitions.
volatile uint32_t reg32_t
Unsigned 32-bit register type.
volatile uint8_t reg8_t
Unsigned 8-bit register type.
FCFG registers.
reg32_t TFW_PROBE
Internal.
reg32_t HPOSC_MEAS_5
Internal.
reg32_t DAC_CAL2
Internal.
reg32_t CONFIG_SYNTH_DIV4_CC26
Config of synthesizer in divide-by-4-mode.
reg32_t HPOSC_MEAS_3
Internal.
reg32_t CONFIG_SYNTH_DIV12_CC26
Config of synthesizer in divide-by-12-mode.
reg32_t DAC_CAL1
Internal.
reg32_t TFW_FT
Internal.
reg32_t HPOSC_MEAS_1
Internal.
reg32_t FREQ_OFFSET
Internal.
reg32_t DAC_CAL0
Internal.
reg32_t MISC_CONF_2
misc config
reg32_t CONFIG_FE_CC13
Internal.
reg32_t CONFIG_SYNTH_DIV2_CC26_2G4
Config of synthesizer in divide-by-2-mode.
reg32_t CONFIG_SYNTH_DIV6_CC26
Config of synthesizer in divide-by-5-mode.
reg32_t CONFIG_SYNTH_DIV2_CC26_1G
Config of synthesizer in divide-by-2-mode.
reg32_t HPOSC_MEAS_4
Internal.
reg32_t CONFIG_SYNTH_DIV12_CC13
Config of synthesizer in divide-by-12-mode.
reg32_t DAC_BIAS_CNF
Internal.
reg32_t CONFIG_FE_CC26
Internal.
reg32_t CONFIG_RF_COMMON
Internal.
reg32_t DAC_CAL3
Internal.
reg32_t CONFIG_SYNTH_DIV4_CC13
Config of synthesizer in divide-by-4-mode.
reg32_t CONFIG_SYNTH_DIV2_CC13_1G
Config of synthesizer in divide-by-2-mode.
reg32_t HPOSC_MEAS_2
Internal.
reg32_t CONFIG_SYNTH_DIV2_CC13_2G4
Config of synthesizer in divide-by-2-mode.
reg32_t CONFIG_SYNTH_DIV6_CC13
Config of synthesizer in divide-by-5-mode.