Performs the necessary trim of the device which is not done in ROM boot code.
This function should only execute coming from ROM boot.
119 uint32_t ui32Fcfg1Revision;
120 uint32_t ui32AonSysResetctl;
125 if ( ui32Fcfg1Revision == 0xFFFFFFFF ) {
126 ui32Fcfg1Revision = 0;
140 NOROM_SetupSetCacheModeAccordingToCcfgSetting();
152 if( ! ( HWREGBITW(
AON_IOC_BASE + AON_IOC_O_IOCLATCH, AON_IOC_IOCLATCH_EN_BITN )))
#define AON_RTC_CH1
Definition: aon_rtc.h:95
void IntPendClear(uint32_t ui32Interrupt)
Unpends an interrupt.
Definition: interrupt.c:443
#define AON_RTC_CH2
Definition: aon_rtc.h:96
static void AONRTCCombinedEventConfig(uint32_t ui32Channels)
Configure the source of the combined event.
Definition: aon_rtc.h:337
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:239
static void AONRTCReset(void)
Reset the RTC.
Definition: aon_rtc.h:211
#define AON_RTC_CH0
Definition: aon_rtc.h:94
static void TrimAfterColdResetWakeupFromShutDown(uint32_t ui32Fcfg1Revision)
Trims to be applied when coming from SHUTDOWN (also called when coming from PIN_RESET).
Definition: setup.c:255
static void AONRTCEnable(void)
Enable the RTC.
Definition: aon_rtc.h:174
void SetupSetCacheModeAccordingToCcfgSetting(void)
Set correct VIMS_MODE according to CCFG setting (CACHE or GPRAM)
Definition: setup_rom.c:884
void ThisLibraryIsFor_CC13x2_CC26x2_HwRev20AndLater_HaltIfViolated(void)
Verifies that current chip is CC13x2 or CC26x2 PG2.0 or later and never returns if violated...
Definition: chipinfo.c:220
static void TrimAfterColdReset(void)
Trims to be applied when coming from PIN_RESET.
Definition: setup.c:355