CC13xx Driver Library
[sys_ctrl.h] System Control

Functions

static uint32_t SysCtrlClockGet (void)
 Get the CPU core clock frequency. More...
 
static void SysCtrlAonSync (void)
 Sync all accesses to the AON register interface. More...
 
static void SysCtrlAonUpdate (void)
 Update all interfaces to AON. More...
 
void SysCtrlSetRechargeBeforePowerDown (uint32_t xoscPowerMode)
 Set Recharge values before entering Power Down. More...
 
void SysCtrlAdjustRechargeAfterPowerDown (uint32_t vddrRechargeMargin)
 Adjust Recharge calculations to be used next. More...
 
void SysCtrl_DCDC_VoltageConditionalControl (void)
 Turns DCDC on or off depending of what is considered to be optimal usage. More...
 
uint32_t SysCtrlResetSourceGet (void)
 Returns the reset source (including "wakeup from shutdown"). More...
 
static void SysCtrlSystemReset (void)
 Perform a full system reset. More...
 
static void SysCtrlClockLossResetEnable (void)
 Enables reset if OSC clock loss event is asserted. More...
 
static void SysCtrlClockLossResetDisable (void)
 Disables reset due to OSC clock loss event. More...
 
#define RSTSRC_PWR_ON   (( AON_SYSCTL_RESETCTL_RESET_SRC_PWR_ON ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_PIN_RESET   (( AON_SYSCTL_RESETCTL_RESET_SRC_PIN_RESET ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_VDDS_LOSS   (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDS_LOSS ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_VDDR_LOSS   (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDR_LOSS ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_CLK_LOSS   (( AON_SYSCTL_RESETCTL_RESET_SRC_CLK_LOSS ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_SYSRESET   (( AON_SYSCTL_RESETCTL_RESET_SRC_SYSRESET ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_WARMRESET   (( AON_SYSCTL_RESETCTL_RESET_SRC_WARMRESET ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
 
#define RSTSRC_WAKEUP_FROM_SHUTDOWN   ((( AON_SYSCTL_RESETCTL_RESET_SRC_M ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S )) + 1 )
 

Detailed Description

Function Documentation

void SysCtrl_DCDC_VoltageConditionalControl ( void  )

Turns DCDC on or off depending of what is considered to be optimal usage.

This function controls the DCDC only if both the following CCFG settings are true:

  • DCDC is configured to be used.
  • Alternative DCDC settings are defined and enabled.

The DCDC is configured in accordance to the CCFG settings when turned on.

This function should be called periodically.

Returns
None
369 {
370  uint32_t batThreshold ; // Fractional format with 8 fractional bits.
371  uint32_t aonBatmonBat ; // Fractional format with 8 fractional bits.
372  uint32_t ccfg_ModeConfReg ; // Holds a copy of the CCFG_O_MODE_CONF register.
373  uint32_t aonSysctlPwrctl ; // Reflect whats read/written to the AON_SYSCTL_O_PWRCTL register.
374 
375  // We could potentially call this function before any battery voltage measurement
376  // is made/available. In that case we must make sure that we do not turn off the DCDC.
377  // This can be done by doing nothing as long as the battery voltage is 0 (Since the
378  // reset value of the battery voltage register is 0).
379  aonBatmonBat = HWREG( AON_BATMON_BASE + AON_BATMON_O_BAT );
380  if ( aonBatmonBat != 0 ) {
381  // Check if Voltage Conditional Control is enabled
382  // It is enabled if all the following are true:
383  // - DCDC in use (either in active or recharge mode), (in use if one of the corresponding CCFG bits are zero).
384  // - Alternative DCDC settings are enabled ( DIS_ALT_DCDC_SETTING == 0 )
385  // - Not in external regulator mode ( EXT_REG_MODE == 0 )
386  ccfg_ModeConfReg = HWREG( CCFG_BASE + CCFG_O_MODE_CONF );
387 
388  if (((( ccfg_ModeConfReg & CCFG_MODE_CONF_DCDC_RECHARGE_M ) == 0 ) ||
389  (( ccfg_ModeConfReg & CCFG_MODE_CONF_DCDC_ACTIVE_M ) == 0 ) ) &&
392  {
393  aonSysctlPwrctl = HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_PWRCTL );
394  batThreshold = (((( HWREG( CCFG_BASE + CCFG_O_MODE_CONF_1 ) &
396  CCFG_MODE_CONF_1_ALT_DCDC_VMIN_S ) + 28 ) << 4 );
397 
398  if ( aonSysctlPwrctl & ( AON_SYSCTL_PWRCTL_DCDC_EN_M | AON_SYSCTL_PWRCTL_DCDC_ACTIVE_M )) {
399  // DCDC is ON, check if it should be switched off
400  if ( aonBatmonBat < batThreshold ) {
402 
403  HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_PWRCTL ) = aonSysctlPwrctl;
404  }
405  } else {
406  // DCDC is OFF, check if it should be switched on
407  if ( aonBatmonBat > batThreshold ) {
408  if (( ccfg_ModeConfReg & CCFG_MODE_CONF_DCDC_RECHARGE_M ) == 0 ) aonSysctlPwrctl |= AON_SYSCTL_PWRCTL_DCDC_EN_M ;
409  if (( ccfg_ModeConfReg & CCFG_MODE_CONF_DCDC_ACTIVE_M ) == 0 ) aonSysctlPwrctl |= AON_SYSCTL_PWRCTL_DCDC_ACTIVE_M ;
410 
411  HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_PWRCTL ) = aonSysctlPwrctl;
412  }
413  }
414  }
415  }
416 }
void SysCtrlAdjustRechargeAfterPowerDown ( uint32_t  vddrRechargeMargin)

Adjust Recharge calculations to be used next.

This function shall be called just after returning from Power Down.

Reads the results from the adaptive recharge controller and current chip temperature. This is used as additional information when calculating optimal recharge controller settings next time (When SysCtrlSetRechargeBeforePowerDown() is called next time).

Parameters
vddrRechargeMarginmargin in SCLK_LF periods to subtract from previous longest recharge period experienced while in standby.
Note
Special care must be taken to make sure that the AON registers read are updated after the wakeup. Writing to an AON register and then calling SysCtrlAonSync() will handle this.
Returns
None
311 {
312  int32_t curTemp ;
313  uint32_t longestRechargePeriod ;
314  uint32_t deltaTime ;
315  uint32_t newRechargePeriod ;
316 
317  //--- Spec. point 2 ---
318  longestRechargePeriod = ( HWREG( AON_WUC_BASE + AON_WUC_O_RECHARGESTAT ) &
321 
322  if ( longestRechargePeriod != 0 ) {
323  //--- Spec. changed (originally point 1) ---
324  curTemp = AONBatMonTemperatureGetDegC();
325  if ( curTemp < powerQualGlobals.pdTemp ) {
326  if ( curTemp < -128 ) {
327  curTemp = -128;
328  }
329  powerQualGlobals.pdTemp = curTemp;
330  }
331 
332  // Add some margin between the longest previous recharge period and the
333  // next initial recharge period. Since it is a fixed margin, it will have a
334  // higher impact as a fraction of the converged recharge period at higher temperatures
335  // where it is needed more due to higher leakage.
336  if (longestRechargePeriod > vddrRechargeMargin) {
337  longestRechargePeriod -= vddrRechargeMargin;
338  }
339  else {
340  longestRechargePeriod = 1;
341  }
342 
343  //--- Spec. point 4 ---
344  if ( longestRechargePeriod < powerQualGlobals.pdRechargePeriod ) {
345  powerQualGlobals.pdRechargePeriod = longestRechargePeriod;
346  } else {
347  //--- Spec. point 5 ---
348  deltaTime = HWREG( AON_RTC_BASE + AON_RTC_O_SEC ) - powerQualGlobals.pdTime + 2;
349  if ( deltaTime > 31 ) {
350  deltaTime = 31;
351  }
352  newRechargePeriod = powerQualGlobals.pdRechargePeriod + (( longestRechargePeriod - powerQualGlobals.pdRechargePeriod ) >> (deltaTime>>1));
353  if ( newRechargePeriod > 0xFFFF ) {
354  newRechargePeriod = 0xFFFF;
355  }
356  powerQualGlobals.pdRechargePeriod = newRechargePeriod;
357  }
358  }
359 }
int8_t pdTemp
Definition: sys_ctrl.c:80
int32_t AONBatMonTemperatureGetDegC(void)
Get the current temperature measurement as a signed value in Deg Celsius.
Definition: aon_batmon.c:60
static PowerQualGlobals_t powerQualGlobals
Definition: sys_ctrl.c:83
uint32_t pdTime
Definition: sys_ctrl.c:77
uint16_t pdRechargePeriod
Definition: sys_ctrl.c:78

Here is the call graph for this function:

static void SysCtrlAonSync ( void  )
inlinestatic

Sync all accesses to the AON register interface.

When this function returns, all writes to the AON register interface are guaranteed to have propagated to hardware. The function will return immediately if no AON writes are pending; otherwise, it will wait for the next AON clock before returning.

Returns
None
See also
SysCtrlAonUpdate()

Referenced by SetupAfterColdResetWakeupFromShutDownCfg3().

178 {
179  // Sync the AON interface
180  HWREG(AON_RTC_BASE + AON_RTC_O_SYNC);
181 }
static void SysCtrlAonUpdate ( void  )
inlinestatic

Update all interfaces to AON.

When this function returns, at least 1 clock cycle has progressed on the AON domain, so that any outstanding updates to and from the AON interface is guaranteed to be in sync.

Note
This function should primarily be used after wakeup from sleep modes, as it will guarantee that all shadow registers on the AON interface are updated before reading any AON registers from the MCU domain. If a write has been done to the AON interface it is sufficient to call the SysCtrlAonSync().
Returns
None
See also
SysCtrlAonSync()
203 {
204  // Force a clock cycle on the AON interface to guarantee all registers are
205  // in sync.
206  HWREG(AON_RTC_BASE + AON_RTC_O_SYNC) = 1;
207  HWREG(AON_RTC_BASE + AON_RTC_O_SYNC);
208 }
static uint32_t SysCtrlClockGet ( void  )
inlinestatic

Get the CPU core clock frequency.

Use this function to get the current clock frequency for the CPU.

The CPU can run from 48 MHz and down to 750kHz. The frequency is defined by the combined division factor of the SYSBUS and the CPU clock divider.

Returns
Returns the current CPU core clock frequency.
157 {
158  // Return fixed clock speed
159  return( GET_MCU_CLOCK );
160 }
static void SysCtrlClockLossResetDisable ( void  )
inlinestatic

Disables reset due to OSC clock loss event.

Note
This function shall typically not be called because the clock loss reset functionality is controlled by the boot code (a factory configuration defines whether it is set or not).
Returns
None
See also
SysCtrlClockLossResetEnable()
370 {
371  // Clear clock loss enable bit in AON_SYSCTRL using bit banding
373 }
static void SysCtrlClockLossResetEnable ( void  )
inlinestatic

Enables reset if OSC clock loss event is asserted.

Clock loss circuit in analog domain must be enabled as well in order to actually enable for a clock loss reset to occur OSCClockLossEventEnable().

Note
This function shall typically not be called because the clock loss reset functionality is controlled by the boot code (a factory configuration defines whether it is set or not).
Returns
None
See also
SysCtrlClockLossResetDisable(), OSCClockLossEventEnable()
350 {
351  // Set clock loss enable bit in AON_SYSCTRL using bit banding
353 }
uint32_t SysCtrlResetSourceGet ( void  )

Returns the reset source (including "wakeup from shutdown").

In case of RSTSRC_WAKEUP_FROM_SHUTDOWN the application is responsible for unlatching the outputs (disable pad sleep). See PowerCtrlPadSleepDisable() for more information.

Returns
Returns the reset source.
426 {
427  uint32_t aonSysctlResetCtl = HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_RESETCTL );
428 
429  if ( aonSysctlResetCtl & AON_SYSCTL_RESETCTL_WU_FROM_SD_M ) {
430  return ( RSTSRC_WAKEUP_FROM_SHUTDOWN );
431  } else {
432  return (( aonSysctlResetCtl & AON_SYSCTL_RESETCTL_RESET_SRC_M ) >> AON_SYSCTL_RESETCTL_RESET_SRC_S ) ;
433  }
434 }
#define RSTSRC_WAKEUP_FROM_SHUTDOWN
Definition: sys_ctrl.h:287
void SysCtrlSetRechargeBeforePowerDown ( uint32_t  xoscPowerMode)

Set Recharge values before entering Power Down.

This function shall be called just before entering Power Down. It calculates an optimal and safe recharge setting of the adaptive recharge controller. The results of previous setting are also taken into account.

Note
In order to make sure that the register writes are completed, SysCtrlAonSync() must be called before entering standby/power down. This is not done internally in this function due to two reasons:
  • 1) There might be other register writes that must be synchronized as well.
  • 2) It is possible to save some time by doing other things before calling SysCtrlAonSync() since this call will not return before there are no outstanding write requests between MCU and AON.
Parameters
xoscPowerMode(typically running in XOSC_IN_HIGH_POWER_MODE all the time).
Returns
None
93 {
94  int32_t curTemp ;
95  int32_t shiftedTemp ;
96  int32_t deltaVddrSleepTrim ;
97  int32_t vddrTrimSleep ;
98  int32_t vddrTrimActve ;
99  int32_t diffVddrActiveSleep ;
100  uint32_t ccfg_ModeConfReg ;
101  uint32_t curState ;
102  uint32_t prcmRamRetention ;
103  uint32_t di ;
104  uint32_t dii ;
105  uint32_t ti ;
106  uint32_t cd ;
107  uint32_t cl ;
108  uint32_t load ;
109  uint32_t k ;
110  uint32_t vddrCap ;
111  uint32_t newRechargePeriod ;
112  uint32_t perE ;
113  uint32_t perM ;
114  const uint32_t * pLookupTable ;
115 
116  // If external regulator mode we shall:
117  // - Disable adaptive recharge (bit[31]=0) in AON_WUC_O_RECHARGECFG
118  // - Set recharge period to approximately 500 mS (perM=31, perE=5 => 0xFD)
119  // - Make sure you get a recalculation if leaving external regulator mode by setting powerQualGlobals.pdState accordingly
122  HWREG( AON_WUC_BASE + AON_WUC_O_RECHARGECFG ) = 0x00A4FDFD;
123  return;
124  }
125 
126  //--- Spec. point 1 ---
127  curTemp = AONBatMonTemperatureGetDegC();
128  curState = 0;
129 
130  // read the MODE_CONF register in CCFG
131  ccfg_ModeConfReg = HWREG( CCFG_BASE + CCFG_O_MODE_CONF );
132  // Get VDDR_TRIM_SLEEP_DELTA + 1 (sign extended)
133  deltaVddrSleepTrim = ((((int32_t) ccfg_ModeConfReg )
136  // Do temperature compensation if enabled
137  if (( ccfg_ModeConfReg & CCFG_MODE_CONF_VDDR_TRIM_SLEEP_TC ) == 0 ) {
138  int32_t tcDelta = ( 62 - curTemp ) >> 3;
139  if ( tcDelta > 8 ) tcDelta = 8;
140  if ( tcDelta > deltaVddrSleepTrim ) deltaVddrSleepTrim = tcDelta;
141  }
142  if ((( ccfg_ModeConfReg & CCFG_MODE_CONF_VDDR_EXT_LOAD ) == 0 ) &&
143  (( ccfg_ModeConfReg & CCFG_MODE_CONF_VDDS_BOD_LEVEL ) != 0 ) )
144  {
145  vddrTrimSleep = SetupSignExtendVddrTrimValue((
146  HWREG( FCFG1_BASE + FCFG1_O_VOLT_TRIM ) &
149  vddrTrimActve = SetupSignExtendVddrTrimValue((
150  HWREG( FCFG1_BASE + FCFG1_O_VOLT_TRIM ) &
153  } else
154  {
155  vddrTrimSleep = SetupSignExtendVddrTrimValue((
156  HWREG( FCFG1_BASE + FCFG1_O_LDO_TRIM ) &
159  vddrTrimActve = SetupSignExtendVddrTrimValue((
160  HWREG( FCFG1_BASE + FCFG1_O_SHDW_ANA_TRIM ) &
163  }
164  vddrTrimSleep += deltaVddrSleepTrim;
165  if ( vddrTrimSleep > 21 ) vddrTrimSleep = 21;
166  if ( vddrTrimSleep < -10 ) vddrTrimSleep = -10;
167  // Write adjusted value using MASKED write (MASK8)
168  HWREGH( ADI3_BASE + ADI_O_MASK8B + ( ADI_3_REFSYS_O_DCDCCTL1 * 2 )) = (( ADI_3_REFSYS_DCDCCTL1_VDDR_TRIM_SLEEP_M << 8 ) |
170 
171  prcmRamRetention = HWREG( PRCM_BASE + PRCM_O_RAMRETEN );
172  if ( prcmRamRetention & PRCM_RAMRETEN_VIMS_M ) {
173  curState |= PD_STATE_CACHE_RET;
174  }
175  if ( prcmRamRetention & PRCM_RAMRETEN_RFC ) {
176  curState |= PD_STATE_RFMEM_RET;
177  }
178  if ( xoscPowerMode != XOSC_IN_HIGH_POWER_MODE ) {
179  curState |= PD_STATE_XOSC_LPM;
180  }
181 
182  //--- Spec. point 2 ---
183  if ((( curTemp - powerQualGlobals.pdTemp ) >= 5 ) || ( curState != powerQualGlobals.pdState )) {
184  //--- Spec. point 3 ---
185  shiftedTemp = curTemp - 15;
186 
187  //--- Spec point 4 ---
188  //4. Check for external VDDR load option (may not be supported): ext_load = (VDDR_EXT_LOAD=0 in CCFG)
189  // Currently not implementing external load handling
190  // if ( __ccfg.ulModeConfig & MODE_CONF_VDDR_EXT_LOAD ) {
191  // }
192 
193  pLookupTable = (uint32_t *)( FCFG1_BASE + FCFG1_O_PWD_CURR_20C );
194 
195  //--- Spec point 5 ---
196  di = 0;
197  ti = 0;
198  if ( shiftedTemp >= 0 ) {
199  //--- Spec point 5.a ---
200  shiftedTemp += ( shiftedTemp << 4 );
201 
202  //--- Spec point 5.b ---
203  ti = ( shiftedTemp >> 8 );
204  if ( ti > 7 ) {
205  ti = 7;
206  }
207  dii = ti;
208  if ( dii > 6 ) {
209  dii = 6;
210  }
211 
212  //--- Spec point 5.c ---
213  cd = pLookupTable[ dii + 1 ] - pLookupTable[ dii ];
214 
215  //--- Spec point 5.d ---
216  di = cd & 0xFF;
217 
218  //--- Spec point 5.e ---
219  if ( curState & PD_STATE_XOSC_LPM ) {
220  di += (( cd >> 8 ) & 0xFF );
221  }
222  if ( curState & PD_STATE_RFMEM_RET ) {
223  di += (( cd >> 16 ) & 0xFF );
224  }
225  if ( curState & PD_STATE_CACHE_RET ) {
226  di += (( cd >> 24 ) & 0xFF );
227  }
228 
229  //--- Spec point 5.f ---
230  // Currently not implementing external load handling
231  }
232 
233  //--- Spec. point 6 ---
234  cl = pLookupTable[ ti ];
235 
236  //--- Spec. point 7 ---
237  load = cl & 0xFF;
238 
239  //--- Spec. point 8 ---
240  if ( curState & PD_STATE_XOSC_LPM ) {
241  load += (( cl >> 8 ) & 0xFF );
242  }
243  if ( curState & PD_STATE_RFMEM_RET ) {
244  load += (( cl >> 16 ) & 0xFF );
245  }
246  if ( curState & PD_STATE_CACHE_RET ) {
247  load += (( cl >> 24 ) & 0xFF );
248  }
249 
250  //--- Spec. point 9 ---
251  load += ((( di * ( shiftedTemp - ( ti << 8 ))) + 128 ) >> 8 );
252 
253  // Currently not implementing external load handling
254  // if ( __ccfg.ulModeConfig & MODE_CONF_VDDR_EXT_LOAD ) {
255  //--- Spec. point 10 ---
256  // } else {
257  //--- Spec. point 11 ---
258  diffVddrActiveSleep = ( vddrTrimActve - vddrTrimSleep );
259  if ( diffVddrActiveSleep < 1 ) diffVddrActiveSleep = 1;
260  k = ( diffVddrActiveSleep * 52 );
261  // }
262 
263  //--- Spec. point 12 ---
264 
265  vddrCap = ( ccfg_ModeConfReg & CCFG_MODE_CONF_VDDR_CAP_M ) >> CCFG_MODE_CONF_VDDR_CAP_S;
266  newRechargePeriod = ( vddrCap * k ) / load;
267  if ( newRechargePeriod > 0xFFFF ) {
268  newRechargePeriod = 0xFFFF;
269  }
270  powerQualGlobals.pdRechargePeriod = newRechargePeriod;
271 
272  //--- Spec. point 13 ---
273  if ( curTemp > 127 ) curTemp = 127;
274  if ( curTemp < -128 ) curTemp = -128;
275  powerQualGlobals.pdTemp = curTemp;
276  powerQualGlobals.pdState = curState;
277  }
278 
280 
281  // Calculate PER_E and PER_M (based on powerQualGlobals.pdRechargePeriod)
282  // Round downwards but make sure PER_E=0 and PER_M=1 is the minimum possible setting.
283  // (assuming that powerQualGlobals.pdRechargePeriod always are <= 0xFFFF)
284  perE = 0;
286  if ( perM < 31 ) {
287  perM = 31;
289  }
290  while ( perM > 511 ) {
291  perM >>= 1;
292  perE += 1;
293  }
294  perM = ( perM - 15 ) >> 4;
295 
297  ( 0x80A4E700 ) |
298  ( perM << AON_WUC_RECHARGECFG_PER_M_S ) |
299  ( perE << AON_WUC_RECHARGECFG_PER_E_S ) ;
300  HWREG( AON_WUC_BASE + AON_WUC_O_RECHARGESTAT ) = 0;
301 }
#define XOSC_IN_HIGH_POWER_MODE
Definition: sys_ctrl.h:134
static int32_t SetupSignExtendVddrTrimValue(uint32_t ui32VddrTrimVal)
Sign extend the VDDR_TRIM setting (special format ranging from -10 to +21)
Definition: setup_rom.h:317
int8_t pdTemp
Definition: sys_ctrl.c:80
int32_t AONBatMonTemperatureGetDegC(void)
Get the current temperature measurement as a signed value in Deg Celsius.
Definition: aon_batmon.c:60
uint8_t pdState
Definition: sys_ctrl.c:79
#define PD_STATE_XOSC_LPM
Definition: sys_ctrl.c:73
#define PD_STATE_CACHE_RET
Definition: sys_ctrl.c:71
#define PD_STATE_EXT_REG_MODE
Definition: sys_ctrl.c:74
static PowerQualGlobals_t powerQualGlobals
Definition: sys_ctrl.c:83
#define PD_STATE_RFMEM_RET
Definition: sys_ctrl.c:72
uint32_t pdTime
Definition: sys_ctrl.c:77
uint16_t pdRechargePeriod
Definition: sys_ctrl.c:78

Here is the call graph for this function:

static void SysCtrlSystemReset ( void  )
inlinestatic

Perform a full system reset.

Returns
The chip will reset and hence never return from this call.
320 {
321  // Disable CPU interrupts
322  CPUcpsid();
323  // Write reset register
325  // Finally, wait until the above write propagates
326  while ( 1 ) {
327  // Do nothing, just wait for the reset (and never return from here)
328  }
329 }
uint32_t CPUcpsid(void)
Disable all external interrupts.
Definition: cpu.c:68

Here is the call graph for this function:

Macro Definition Documentation

#define CPU_DEEP_SLEEP   0x00000002
#define CPU_RUN   0x00000000
#define CPU_SLEEP   0x00000001
#define RSTSRC_WAKEUP_FROM_SHUTDOWN   ((( AON_SYSCTL_RESETCTL_RESET_SRC_M ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S )) + 1 )

Referenced by SysCtrlResetSourceGet().

#define SYSCTRL_SYSBUS_OFF   0x00000000
#define SYSCTRL_SYSBUS_ON   0x00000001
#define XOSC_IN_HIGH_POWER_MODE   0
#define XOSC_IN_LOW_POWER_MODE   1