This module contains functions for device setup which is not done in boot code.
void SetupTrimDevice |
( |
void |
| ) |
|
Performs the necessary trim of the device which is not done in boot code.
This function should only execute coming from ROM boot. The current implementation does not take soft reset into account. However, it does no damage to execute it again. It only consumes time.
- Returns
- None
108 uint32_t ui32Fcfg1Revision;
109 uint32_t ui32AonSysResetctl;
114 if ( ui32Fcfg1Revision == 0xFFFFFFFF ) {
115 ui32Fcfg1Revision = 0;
139 NOROM_SetupSetCacheModeAccordingToCcfgSetting();
static void TrimAfterColdResetWakeupFromShutDownWakeupFromPowerDown(void)
Trims to be applied when coming from POWER_DOWN (also called when coming from SHUTDOWN and PIN_RESET)...
Definition: setup.c:229
void ThisLibraryIsFor_CC13x0_HwRev20AndLater_HaltIfViolated(void)
Verifies that current chip is CC13x0 HwRev 2.0 or later and never returns if violated.
Definition: chipinfo.c:176
static void TrimAfterColdResetWakeupFromShutDown(uint32_t ui32Fcfg1Revision)
Trims to be applied when coming from SHUTDOWN (also called when coming from PIN_RESET).
Definition: setup.c:245
void SetupSetCacheModeAccordingToCcfgSetting(void)
Set correct VIMS_MODE according to CCFG setting (CACHE or GPRAM)
Definition: setup_rom.c:916
static void TrimAfterColdReset(void)
Trims to be applied when coming from PIN_RESET.
Definition: setup.c:349