Functions | |
void | AUXWUCClockEnable (uint32_t ui32Clocks) |
Enable clocks for peripherals in the AUX domain. More... | |
void | AUXWUCClockDisable (uint32_t ui32Clocks) |
Disable clocks for peripherals in the AUX domain. More... | |
uint32_t | AUXWUCClockStatus (uint32_t ui32Clocks) |
Get the status of a clock. More... | |
static void | AUXWUCClockFreqReq (uint32_t ui32ClockFreq) |
Request a high or low frequency clock source. More... | |
void | AUXWUCPowerCtrl (uint32_t ui32PowerMode) |
Control the power to the AUX domain. More... | |
static void | AUXWUCFreezeEnable (void) |
Freeze the AUX IOs. More... | |
static void | AUXWUCFreezeDisable (void) |
Unfreeze the AUX IOs. More... | |
void AUXWUCClockDisable | ( | uint32_t | ui32Clocks | ) |
Disable clocks for peripherals in the AUX domain.
Use this function to enable specific clocks in the AUX domain.
ui32Clocks | a bitmap of clocks to disable. Use a bitwise OR combination of the following values: |
void AUXWUCClockEnable | ( | uint32_t | ui32Clocks | ) |
Enable clocks for peripherals in the AUX domain.
Use this function to enable specific clocks in the AUX domain.
ui32Clocks | is a bitmap of clocks to enable. Use a bitwise OR combination of the following values: |
|
inlinestatic |
Request a high or low frequency clock source.
Using this function it is possible to make a request to the System Control to use a high or low frequency clock as clock source for the AUX domain.
ui32ClockFreq | determines the clock source frequency.
|
uint32_t AUXWUCClockStatus | ( | uint32_t | ui32Clocks | ) |
Get the status of a clock.
Use this function to poll the status of a specific clock in the AUX domain.
ui32Clocks | is the clock for which to return status. |
|
inlinestatic |
Unfreeze the AUX IOs.
When restarting the AUX domain after it has entered powerdown mode, the software can regain control of the IOs by setting the IO latches as transparent.
|
inlinestatic |
Freeze the AUX IOs.
To retain the values of the output IOs during a powerdown of the AUX domain all IO latches in the AUX domain should be frozen in their current state. This ensures that software can regain control of the IOs after a powerdown without the IOs first falling back to the default values (i.e. input and pull-up).
void AUXWUCPowerCtrl | ( | uint32_t | ui32PowerMode | ) |
Control the power to the AUX domain.
Use this function to set the power mode of the entire AUX domain.
ui32PowerMode | control the desired power mode for the AUX domain. The domain has three different power modes: |
Referenced by TrimAfterColdResetWakeupFromShutDown().
#define AUX_WUC_ADC_CLOCK 0x00000200 |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_ADI_CLOCK (AUX_WUC_MODCLKEN0_AUX_ADI4_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_AIODIO0_CLOCK (AUX_WUC_MODCLKEN0_AIODIO0_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_AIODIO1_CLOCK (AUX_WUC_MODCLKEN0_AIODIO1_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_ANAIF_CLOCK (AUX_WUC_MODCLKEN0_ANAIF_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_CLOCK_HIFREQ 0x00000000 |
Referenced by AUXWUCClockFreqReq().
#define AUX_WUC_CLOCK_LOFREQ 0x00000001 |
Referenced by AUXWUCClockFreqReq().
#define AUX_WUC_CLOCK_OFF 0x00000000 |
Referenced by AUXWUCClockStatus().
#define AUX_WUC_CLOCK_READY 0x00000011 |
Referenced by AUXWUCClockStatus().
#define AUX_WUC_CLOCK_UNSTABLE 0x00000001 |
#define AUX_WUC_MODCLK_MASK 0x000000FF |
Referenced by AUXWUCClockDisable(), and AUXWUCClockEnable().
#define AUX_WUC_OSCCTRL_CLOCK (AUX_WUC_MODCLKEN0_AUX_DDI0_OSC_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_POWER_ACTIVE 0x00000004 |
Referenced by AUXWUCPowerCtrl().
#define AUX_WUC_POWER_DOWN 0x00000002 |
Referenced by AUXWUCPowerCtrl(), and TrimAfterColdResetWakeupFromShutDown().
#define AUX_WUC_POWER_OFF 0x00000001 |
Referenced by AUXWUCPowerCtrl().
#define AUX_WUC_REF_CLOCK 0x00000400 |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_SMPH_CLOCK (AUX_WUC_MODCLKEN0_SMPH_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_TDC_CLOCK 0x00000100 |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_TDCIF_CLOCK (AUX_WUC_MODCLKEN0_TDC_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().
#define AUX_WUC_TIMER_CLOCK (AUX_WUC_MODCLKEN0_TIMER_EN) |
Referenced by AUXWUCClockDisable(), AUXWUCClockEnable(), and AUXWUCClockStatus().