![]() |
![]() |
|
CC23x0R5DriverLibrary
|
|
Macros | |
| #define | LRFD_NUM_CLK_DEP (2U) |
| #define | LRFD_CLK_DEP_POWER (0U) |
| LRFD Clock dependency set to be used by the Power driver. More... | |
| #define | LRFD_CLK_DEP_RCL (1U) |
| LRFD Clock dependency set to be used by the RCL. More... | |
Functions | |
| void | LRFDSetClockDependency (uint16_t mask, uint8_t dependencySetId) |
| Set clock dependency on a set of modules in LRFD. More... | |
| void | LRFDReleaseClockDependency (uint16_t mask, uint8_t dependencySetId) |
| Release clock dependency on a set of modules in LRFD. More... | |
| void | LRFDApplyClockDependencies (void) |
| Apply the currently set clock dependencies. More... | |
| #define LRFD_NUM_CLK_DEP (2U) |
Referenced by LRFDApplyClockDependencies(), LRFDReleaseClockDependency(), and LRFDSetClockDependency().
| #define LRFD_CLK_DEP_POWER (0U) |
LRFD Clock dependency set to be used by the Power driver.
| #define LRFD_CLK_DEP_RCL (1U) |
LRFD Clock dependency set to be used by the RCL.
| void LRFDSetClockDependency | ( | uint16_t | mask, |
| uint8_t | dependencySetId | ||
| ) |
Set clock dependency on a set of modules in LRFD.
This API supports multiple clock dependency sets. For any given LRFD module, it will be clocked if any of the dependency sets has a dependency for that LRFD module. If any dependency set has a dependency on at least one LRFD module, the LRFD module itself will be clocked, otherwise it will not be clocked.
| mask | bitmask defining the set of LRFD modules to set clock dependency on.
|
| dependencySetId | ID for the clock dependency set to use. |
References LRFD_NUM_CLK_DEP, LRFDApplyClockDependencies(), and lrfdClockDependencySets.
| void LRFDReleaseClockDependency | ( | uint16_t | mask, |
| uint8_t | dependencySetId | ||
| ) |
Release clock dependency on a set of modules in LRFD.
This API supports multiple clock dependency sets. See description of LRFDSetClockDependency()
| mask | bitmask defining the set of LRFD modules to release clock dependency from.
|
| dependencySetId | ID for the clock dependency set to use. |
References LRFD_NUM_CLK_DEP, LRFDApplyClockDependencies(), and lrfdClockDependencySets.
| void LRFDApplyClockDependencies | ( | void | ) |
Apply the currently set clock dependencies.
This will update the LRFD clock control based on the currently set clock dependencies. If there is a clock dependency on any module in LRFD, the LRFD module itself will be clocked, otherwise it will not be clocked.
References CLKCTLDisableLrfdClock(), CLKCTLEnableLrfdClock(), LRFD_NUM_CLK_DEP, and lrfdClockDependencySets.
Referenced by LRFDReleaseClockDependency(), and LRFDSetClockDependency().