Power global configuration structure. More...
#include <PowerMSP432E4.h>
Data Fields | |
Power_PolicyFxn | policyFxn |
The Power Policy function. More... | |
bool | enablePolicy |
Boolean specifying if the Power Policy function is enabled. More... | |
Power global configuration structure.
Power_PolicyFxn PowerMSP432E4_Config::policyFxn |
The Power Policy function.
When enabled, this function is invoked in the idle loop, to opportunistically select and activate sleep states.
bool PowerMSP432E4_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 be invoked.
In addition to this static setting, the Power Policy can be dynamically enabled and disabled at runtime, via the Power_enablePolicy() and Power_disablePolicy() functions, respectively.