Go to the documentation of this file.
21 #ifndef CPU_CONF_CC26XX_CC13XX_H
22 #define CPU_CONF_CC26XX_CC13XX_H
26 #include "cpu_conf_common.h"
50 #define CPU_DEFAULT_IRQ_PRIO (1U)
51 #define CPU_IRQ_NUMOF IRQN_COUNT
52 #define CPU_FLASH_BASE FLASH_BASE
63 #ifndef CONFIG_CC26XX_CC13XX_UPDATE_CCFG
64 #define CONFIG_CC26XX_CC13XX_UPDATE_CCFG 0
73 #ifndef CONFIG_CC26XX_CC13XX_FORCE_VDDR_HH
74 #define CONFIG_CC26XX_CC13XX_FORCE_VDDR_HH 0
85 #ifndef CONFIG_CC26XX_CC13XX_GPRAM
86 #define CONFIG_CC26XX_CC13XX_GPRAM 0
93 #if IS_ACTIVE(CONFIG_CC26XX_CC13XX_BL_LEVEL_ACTIVE_HIGH)
94 #define CONFIG_CC26XX_CC13XX_BL_LEVEL 0x1
95 #elif IS_ACTIVE(CONFIG_CC26XX_CC13XX_BL_LEVEL_ACTIVE_LOW)
96 #define CONFIG_CC26XX_CC13XX_BL_LEVEL 0x0
99 #ifndef CONFIG_CC26XX_CC13XX_BL_LEVEL
100 #define CONFIG_CC26XX_CC13XX_BL_LEVEL 0x1
107 #ifndef CONFIG_CC26XX_CC13XX_BL_PIN
108 #define CONFIG_CC26XX_CC13XX_BL_PIN 0xFF
112 #if IS_ACTIVE(CONFIG_CPU_FAM_CC13XX)
114 #if IS_ACTIVE(CONFIG_CC26XX_CC13XX_FORCE_VDDR_HH)
115 #define SET_MODE_CONF_1_ALT_DCDC_VMIN 0xC
116 #define SET_MODE_CONF_VDDR_EXT_LOAD 0x1
121 #if !IS_ACTIVE(CONFIG_CC26XX_CC13XX_GPRAM)
122 #define SET_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x1
125 #if IS_ACTIVE(CONFIG_CC26XX_CC13XX_ROM_BOOTLOADER)
126 #define SET_BL_CONFIG_BOOTLOADER_ENABLE 0xC5
127 #define SET_BL_CONFIG_BL_ENABLE 0xC5
129 #if defined(CONFIG_CC26XX_CC13XX_BL_LEVEL)
130 #define SET_BL_CONFIG_BL_LEVEL CONFIG_CC26XX_CC13XX_BL_LEVEL
133 #if IS_ACTIVE(CONFIG_CC26XX_CC13XX_BL_PIN_EN)
134 #define SET_BL_CONFIG_BL_PIN_NUMBER CONFIG_CC26XX_CC13XX_BL_PIN
140 #if IS_ACTIVE(CONFIG_CC26XX_CC13XX_DIS_GPRAM)
141 #define NUM_HEAPS (1)
143 #define NUM_HEAPS (2)
155 #ifndef SET_EXT_LF_CLK_DIO
156 #define SET_EXT_LF_CLK_DIO 0x01
171 #ifndef SET_EXT_LF_CLK_RTC_INCREMENT
172 #define SET_EXT_LF_CLK_RTC_INCREMENT 0x800000
175 #if defined(CPU_VARIANT_X2) || defined(DOXYGEN)
186 #ifndef SET_MODE_CONF_1_TCXO_TYPE
187 #define SET_MODE_CONF_1_TCXO_TYPE 0x01
197 #ifndef SET_MODE_CONF_1_TCXO_MAX_START
198 #define SET_MODE_CONF_1_TCXO_MAX_START 0x7F
221 #ifndef SET_MODE_CONF_1_ALT_DCDC_VMIN
222 #define SET_MODE_CONF_1_ALT_DCDC_VMIN 0x8
230 #ifndef SET_MODE_CONF_1_ALT_DCDC_DITHER_EN
231 #define SET_MODE_CONF_1_ALT_DCDC_DITHER_EN 0x0
241 #ifndef SET_MODE_CONF_1_ALT_DCDC_IPEAK
242 #define SET_MODE_CONF_1_ALT_DCDC_IPEAK 0x0
248 #ifndef SET_MODE_CONF_1_DELTA_IBIAS_INIT
249 #define SET_MODE_CONF_1_DELTA_IBIAS_INIT 0x0
255 #ifndef SET_MODE_CONF_1_DELTA_IBIAS_OFFSET
256 #define SET_MODE_CONF_1_DELTA_IBIAS_OFFSET 0x0
262 #ifndef SET_MODE_CONF_1_XOSC_MAX_START
263 #define SET_MODE_CONF_1_XOSC_MAX_START 0x10
269 #ifndef SET_SIZE_AND_DIS_FLAGS_SIZE_OF_CCFG
270 #define SET_SIZE_AND_DIS_FLAGS_SIZE_OF_CCFG 0x0058
276 #ifndef SET_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS
277 #define SET_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS \
278 (CCFG_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS_m >> \
279 CCFG_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS_s)
287 #ifndef SET_SIZE_AND_DIS_FLAGS_DIS_TCXO
288 #define SET_SIZE_AND_DIS_FLAGS_DIS_TCXO 0x1
299 #ifndef SET_SIZE_AND_DIS_FLAGS_DIS_GPRAM
300 #define SET_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x0
312 #ifndef SET_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING
313 #define SET_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING 0x0
325 #ifndef SET_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR
326 #define SET_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR 0x1
339 #ifndef SET_MODE_CONF_VDDR_TRIM_SLEEP_DELTA
340 #define SET_MODE_CONF_VDDR_TRIM_SLEEP_DELTA 0xF
348 #ifndef SET_MODE_CONF_DCDC_RECHARGE
349 #define SET_MODE_CONF_DCDC_RECHARGE 0x0
357 #ifndef SET_MODE_CONF_DCDC_ACTIVE
358 #define SET_MODE_CONF_DCDC_ACTIVE 0x0
365 #ifndef SET_MODE_CONF_VDDR_EXT_LOAD
366 #define SET_MODE_CONF_VDDR_EXT_LOAD 0x0
376 #ifndef SET_MODE_CONF_VDDS_BOD_LEVEL
377 #define SET_MODE_CONF_VDDS_BOD_LEVEL 0x1
388 #ifndef SET_MODE_CONF_SCLK_LF_OPTION
389 #define SET_MODE_CONF_SCLK_LF_OPTION 0x2
406 #ifndef SET_MODE_CONF_VDDR_TRIM_SLEEP_TC
407 #define SET_MODE_CONF_VDDR_TRIM_SLEEP_TC 0x1
413 #ifndef SET_MODE_CONF_RTC_COMP
414 #define SET_MODE_CONF_RTC_COMP 0x1
425 #ifndef SET_MODE_CONF_XOSC_FREQ
426 #define SET_MODE_CONF_XOSC_FREQ 0x2
435 #ifndef SET_MODE_CONF_XOSC_CAP_MOD
436 #define SET_MODE_CONF_XOSC_CAP_MOD 0x1
442 #ifndef SET_MODE_CONF_HF_COMP
443 #define SET_MODE_CONF_HF_COMP 0x1
451 #ifndef SET_MODE_CONF_XOSC_CAPARRAY_DELTA
452 #define SET_MODE_CONF_XOSC_CAPARRAY_DELTA 0xFF
463 #ifndef SET_MODE_CONF_VDDR_CAP
464 #define SET_MODE_CONF_VDDR_CAP 0x3A
474 #ifndef SET_BL_CONFIG_BOOTLOADER_ENABLE
475 #define SET_BL_CONFIG_BOOTLOADER_ENABLE 0x00
484 #ifndef SET_BL_CONFIG_BL_LEVEL
485 #define SET_BL_CONFIG_BL_LEVEL 0x1
492 #ifndef SET_BL_CONFIG_BL_PIN_NUMBER
493 #define SET_BL_CONFIG_BL_PIN_NUMBER 0xFF
501 #ifndef SET_BL_CONFIG_BL_ENABLE
502 #define SET_BL_CONFIG_BL_ENABLE 0xFF
510 #ifndef SET_CCFG_TAP_DAP_0_CPU_DAP_ENABLE
511 #define SET_CCFG_TAP_DAP_0_CPU_DAP_ENABLE 0xC5
519 #ifndef SET_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE
520 #define SET_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE 0xC5
528 #ifndef SET_CCFG_TAP_DAP_0_TEST_TAP_ENABLE
529 #define SET_CCFG_TAP_DAP_0_TEST_TAP_ENABLE 0x00
Driver for the cc26xx/cc13xx GPIO controller.
definitions for the CC26xx/CC13XX GPT modules
Common macros and compiler attributes/pragmas configuration.
CC26xx/CC13xx CCFG register definitions.
CC26xx/CC13xx ROM Hard-API.
CC26xx/CC13xx MCU I/O register definitions.
CC26xx/CC13xx VIMS register definitions.
CC26xx/CC13xx WDT register definitions.
CC26xx, CC13xx definitions.
CC26xx/CC13xx MCU I/O register definitions.
CC26xx/CC13xx MCU I/O register definitions.
CC26xx/CC13xx MCU I/O register definitions.
CC26xx/CC13xx UART interface.