CC26xx Driver Library

Functions

static bool CCFGRead_EXT_LF_CLK_DIO (void)
 Read EXT_LF_CLK_DIO from CCFG. More...
 
static bool CCFGRead_DIS_GPRAM (void)
 Read DIS_GPRAM from CCFG. More...
 
static uint32_t CCFGRead_SCLK_LF_OPTION (void)
 Read SCLK_LF_OPTION from CCFG. More...
 

Detailed Description

The values of customer configuration (CCFG) settings in flash are determined by ccfg.c and typically a user application does not need to read these CCFG values as they are used mainly during ROM boot and device trimming. However, a subset of the CCFG settings need to be read by application code thus DriverLib provides this API to allow easy read access to these specific settings.

The remaining settings not accessible through this API can of course be read directly at the CCFG addresses in the flash (starting at CCFG_BASE) using the HWREG macro and the provided defines. CCFG settings are documented as part of the register descriptions in the CPU memory map.

Note
CCFG settings are located in flash and should be considered read-only from an application point-of-view.

Function Documentation

static bool CCFGRead_DIS_GPRAM ( void  )
inlinestatic

Read DIS_GPRAM from CCFG.

Returns
Value of CCFG field CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM

Definition at line 104 of file ccfgread.h.

static bool CCFGRead_EXT_LF_CLK_DIO ( void  )
inlinestatic

Read EXT_LF_CLK_DIO from CCFG.

Returns
Value of CCFG field CCFG_EXT_LF_CLK_DIO

Definition at line 89 of file ccfgread.h.

static uint32_t CCFGRead_SCLK_LF_OPTION ( void  )
inlinestatic

Read SCLK_LF_OPTION from CCFG.

Returns
Value of CCFG field CCFG_MODE_CONF_SCLK_LF_OPTION. Returns one of the following:

Definition at line 134 of file ccfgread.h.

Macro Definition Documentation

#define SCLK_LF_OPTION_EXTERNAL   1

Definition at line 117 of file ccfgread.h.

#define SCLK_LF_OPTION_RCOSC_LF   3

Definition at line 119 of file ccfgread.h.

#define SCLK_LF_OPTION_XOSC_HF_DLF   0

Definition at line 116 of file ccfgread.h.

#define SCLK_LF_OPTION_XOSC_LF   2

Definition at line 118 of file ccfgread.h.