CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
prcm.c File Reference
`#include <driverlib/prcm.h>`

Go to the source code of this file.

## Macros
#define | PRCM_PERIPH_INDEX(a) (((a) >> 8) & 0xf)
#define | PRCM_PERIPH_MASKBIT(a) (0x00000001 << ((a) & 0xf))

## Functions
void | PRCMInfClockConfigureSet (uint32_t ui32ClkDiv, uint32_t ui32PowerMode)
| Configure the infrastructure clock. More...
uint32_t | PRCMInfClockConfigureGet (uint32_t ui32PowerMode)
| Use this function to retreive the set infrastructure clock configuration. More...
void | PRCMClockConfigureSet (uint32_t ui32Domains, uint32_t ui32ClkDiv)
| Setup the clock division factor for a subsystem in the MCU voltage domain. More...
uint32_t | PRCMClockConfigureGet (uint32_t ui32Domain)
| Get the clock configuration for a specific sub system in the MCU Voltage Domain. 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 | 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 | PRCMPowerDomainStatus (uint32_t ui32Domains)
| Get the status for a specific power domain. More...
void | PRCMDeepSleep (void)
| Put the processor into deep-sleep mode. More...
void | PRCMRetentionEnable (uint32_t ui32PowerDomain)
| Enable retention on specific power domains. More...
void | PRCMRetentionDisable (uint32_t ui32PowerDomain)
| Disable retention on power domains. More...

## Macro Definition Documentation

#define PRCM_PERIPH_INDEX | ( |  | a | ) | (((a) >> 8) & 0xf)

Definition at line 136 of file prcm.c.

Referenced by PRCMPeripheralDeepSleepDisable(), PRCMPeripheralDeepSleepEnable(), PRCMPeripheralRunDisable(), PRCMPeripheralRunEnable(), PRCMPeripheralSleepDisable(), and PRCMPeripheralSleepEnable().

#define PRCM_PERIPH_MASKBIT | ( |  | a | ) | (0x00000001 << ((a) & 0xf))

Definition at line 143 of file prcm.c.

Referenced by PRCMPeripheralDeepSleepDisable(), PRCMPeripheralDeepSleepEnable(), PRCMPeripheralRunDisable(), PRCMPeripheralRunEnable(), PRCMPeripheralSleepDisable(), and PRCMPeripheralSleepEnable().