![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
Global configuration structure. More...
#include <PowerCC26XX.h>
Data Fields | |
Power_PolicyInitFxn | policyInitFxn |
The power policy's initialization function. More... | |
Power_PolicyFxn | policyFxn |
The power policy function. More... | |
bool(* | calibrateFxn )(unsigned int) |
The function to be used for activating RC Oscillator (RCOSC) calibration. More... | |
bool | enablePolicy |
Boolean specifying if the power policy function is enabled. More... | |
bool | calibrateRCOSC_LF |
Boolean specifying whether the low frequency RCOSC (RCOSC_LF) should be calibrated. More... | |
bool | calibrateRCOSC_HF |
Boolean specifying whether the high frequency RCOSC (RCOSC_HF) should be calibrated. More... | |
Global configuration structure.
Power_PolicyInitFxn PowerCC26XX_Config::policyInitFxn |
The power policy's initialization function.
If the policy does not have an initialization function, 'NULL' should be specified.
Power_PolicyFxn PowerCC26XX_Config::policyFxn |
The power policy function.
When enabled, this function is called in the idle loop, to decide upon and activate sleep states. Two reference power policies are provided:
PowerCC26XX_doWFI() - a simple policy that invokes wait for interrupt (WFI)
PowerCC26XX_standbyPolicy() - an agressive policy that considers constraints and latencies, and optionally puts the device into the standby state.
Custom policies can be written, and specified via this function pointer.
bool(* PowerCC26XX_Config::calibrateFxn) (unsigned int) |
The function to be used for activating RC Oscillator (RCOSC) calibration.
Calibration is normally enabled, via specification of the function PowerCC26XX_calibrate(). This enables high accuracy operation, and faster high frequency crystal oscillator (XOSC_HF) startups.
To disable RCOSC calibration the function PowerCC26XX_noCalibrate() should be specified.
bool PowerCC26XX_Config::enablePolicy |
Boolean specifying if the power policy function is enabled.
If 'TRUE', the policy function will be invoked once for each pass of the idle loop.
If 'FALSE', the policy will not run by default. But the policy can be enabled later at runtime, once the application has started, via a call to Power_enablePolicy(). Once it has been enabled, the policy will be invoked once for each pass of the idle loop.
bool PowerCC26XX_Config::calibrateRCOSC_LF |
Boolean specifying whether the low frequency RCOSC (RCOSC_LF) should be calibrated.
If RCOSC calibration is enabled (above, via specification of an appropriate calibrateFxn), this Boolean specifies whether RCOSC_LF should be calibrated.
bool PowerCC26XX_Config::calibrateRCOSC_HF |
Boolean specifying whether the high frequency RCOSC (RCOSC_HF) should be calibrated.
If RCOSC calibration is enabled (above, via specification of an appropriate calibrateFxn), this Boolean specifies whether RCOSC_HF should be calibrated.