![]() |
![]() |
Global configuration structure. More...
#include <PowerCC23X0.h>
Data Fields | |
Power_PolicyInitFxn | policyInitFxn |
The Power Policy's initialization function. More... | |
Power_PolicyFxn | policyFxn |
The Power Policy function. More... | |
PowerLPF3_StartInitialHfxtAmpCompFxn | startInitialHfxtAmpCompFxn |
Pointer to the function to start the initial HFXT amplitude compensation. More... | |
Global configuration structure.
Power_PolicyInitFxn PowerCC23X0_Config::policyInitFxn |
The Power Policy's initialization function.
If the policy does not have an initialization function, 'NULL' should be specified.
Power_PolicyFxn PowerCC23X0_Config::policyFxn |
The Power Policy function.
When enabled, this function is invoked in the idle loop, to opportunistically select and activate sleep states.
Two reference policies are provided:
PowerCC23X0_doWFI() - a simple policy that invokes CPU wait for interrupt (WFI)
PowerCC23X0_standbyPolicy() - an agressive policy that considers constraints, time until next scheduled work, and sleep state latencies, and optionally puts the device into the STANDBY state, the IDLE state, or as a minimum, WFI.
Custom policies can be written, and specified via this function pointer.
In addition to this static selection, the Power Policy can be dynamically changed at runtime, via the Power_setPolicy() API.
If not NULL, the policy function will be invoked once for each pass of the idle loop.
The power policy can be dynamically enabled and disabled at runtime, via the Power_enablePolicy() and Power_disablePolicy() functions, respectively.
PowerLPF3_StartInitialHfxtAmpCompFxn PowerCC23X0_Config::startInitialHfxtAmpCompFxn |
Pointer to the function to start the initial HFXT amplitude compensation.
This is used to enable/disable the initial HFXT amplitude compensation feature.
The allowed values for this field is: