#include "prcm.h"
Macros | |
#define | PRCM_PERIPH_INDEX(a) (((a) >> 8) & 0xf) |
#define | PRCM_PERIPH_MASKBIT(a) (0x00000001 << ((a) & 0x1f)) |
Functions | |
void | PRCMInfClockConfigureSet (uint32_t ui32ClkDiv, uint32_t ui32PowerMode) |
Configure the infrastructure clock. More... | |
uint32_t | PRCMInfClockConfigureGet (uint32_t ui32PowerMode) |
Use this function to get the infrastructure clock configuration. More... | |
void | PRCMAudioClockConfigSet (uint32_t ui32ClkConfig, uint32_t ui32SampleRate) |
Configure the audio clock generation. More... | |
void | PRCMAudioClockConfigSetOverride (uint32_t ui32ClkConfig, uint32_t ui32MstDiv, uint32_t ui32BitDiv, uint32_t ui32WordDiv) |
Configure the audio clock generation with manual setting of clock divider. More... | |
void | PRCMAudioClockConfigOverride (uint8_t ui8SamplingEdge, uint8_t ui8WCLKPhase, uint32_t ui32MstDiv, uint32_t ui32BitDiv, uint32_t ui32WordDiv) |
Configure the audio clocks for I2S module. More... | |
void | PRCMAudioClockInternalSource (void) |
Configure the audio clocks to be internally generated. More... | |
void | PRCMAudioClockExternalSource (void) |
Configure the audio clocks to be externally generated. More... | |
void | PRCMPowerDomainOn (uint32_t ui32Domains) |
Turn power on in power domains in the MCU domain. More... | |
void | PRCMPowerDomainOff (uint32_t ui32Domains) |
Turn off a specific power domain. More... | |
void | PRCMPeripheralRunEnable (uint32_t ui32Peripheral) |
Enables a peripheral in Run mode. More... | |
void | PRCMPeripheralRunDisable (uint32_t ui32Peripheral) |
Disables a peripheral in Run mode. More... | |
void | PRCMPeripheralSleepEnable (uint32_t ui32Peripheral) |
Enables a peripheral in sleep mode. More... | |
void | PRCMPeripheralSleepDisable (uint32_t ui32Peripheral) |
Disables a peripheral in sleep mode. More... | |
void | PRCMPeripheralDeepSleepEnable (uint32_t ui32Peripheral) |
Enables a peripheral in deep-sleep mode. More... | |
void | PRCMPeripheralDeepSleepDisable (uint32_t ui32Peripheral) |
Disables a peripheral in deep-sleep mode. More... | |
uint32_t | PRCMPowerDomainsAllOff (uint32_t ui32Domains) |
Get the status for a specific power domain. More... | |
uint32_t | PRCMPowerDomainsAllOn (uint32_t ui32Domains) |
Get the status for a specific power domain. More... | |
void | PRCMDeepSleep (void) |
Put the processor into deep-sleep mode. More... | |
Variables | |
static const uint32_t | g_pui32RCGCRegs [] |
static const uint32_t | g_pui32SCGCRegs [] |
static const uint32_t | g_pui32DCGCRegs [] |
#define PRCM_PERIPH_INDEX | ( | a | ) | (((a) >> 8) & 0xf) |
#define PRCM_PERIPH_MASKBIT | ( | a | ) | (0x00000001 << ((a) & 0x1f)) |
|
static |
Referenced by PRCMPeripheralDeepSleepDisable(), and PRCMPeripheralDeepSleepEnable().
|
static |
Referenced by PRCMPeripheralRunDisable(), and PRCMPeripheralRunEnable().
|
static |
Referenced by PRCMPeripheralSleepDisable(), and PRCMPeripheralSleepEnable().