Data Fields
PowerCC27XX_Config Struct Reference

Global configuration structure. More...

#include <PowerCC27XX.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...
 

Detailed Description

Global configuration structure.

Field Documentation

§ policyInitFxn

Power_PolicyInitFxn PowerCC27XX_Config::policyInitFxn

The Power Policy's initialization function.

If the policy does not have an initialization function, 'NULL' should be specified.

§ policyFxn

Power_PolicyFxn PowerCC27XX_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:

PowerCC27XX_doWFI() - a simple policy that invokes CPU wait for interrupt (WFI)

PowerCC27XX_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.

§ startInitialHfxtAmpCompFxn

PowerLPF3_StartInitialHfxtAmpCompFxn PowerCC27XX_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:

See also
Initial HFXT Amplitude Compensation

The documentation for this struct was generated from the following file:
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale