52 #ifndef ti_drivers_power_PowerCC26X2_ 53 #define ti_drivers_power_PowerCC26X2_ 59 #include <ti/drivers/dpl/HwiP.h> 60 #include <ti/drivers/dpl/ClockP.h> 65 #define PowerCC26X2_RESUMETIMESTANDBY 750 68 #define PowerCC26X2_TOTALTIMESTANDBY 1000 71 #define PowerCC26X2_WAKEDELAYSTANDBY 240 74 #define PowerCC26X2_INITIALWAITRCOSC_LF 1000 77 #define PowerCC26X2_RETRYWAITRCOSC_LF 1000 80 #define PowerCC26X2_INITIALWAITXOSC_HF 50 83 #define PowerCC26X2_RETRYWAITXOSC_HF 50 86 #define PowerCC26X2_INITIALWAITXOSC_LF 10000 89 #define PowerCC26X2_RETRYWAITXOSC_LF 5000 91 #define PowerCC26X2_PERIPH_PKA PowerCC26XX_NUMRESOURCES 93 #define PowerCC26X2_PERIPH_UART1 PowerCC26XX_NUMRESOURCES + 1 96 #define PowerCC26X2_NUMRESOURCES (PowerCC26XX_NUMRESOURCES + 2) 100 #define PowerCC26X2_NUMCONSTRAINTS (PowerCC26XX_NUMCONSTRAINTS + 0) 107 #define PowerCC26X2_SETUP_CALIBRATE 1 108 #define PowerCC26X2_INITIATE_CALIBRATE 2 109 #define PowerCC26X2_DO_CALIBRATE 3 219 uint8_t constraintCounts[PowerCC26X2_NUMCONSTRAINTS];
221 uint8_t resourceCounts[PowerCC26X2_NUMRESOURCES];
223 unsigned int (*resourceHandlers[3])(
unsigned int);
uint8_t auxHwiState
Definition: PowerCC26X2.h:213
struct PowerCC26X2_ModuleState PowerCC26X2_ModuleState
PowerCC26X2_ModuleState.
HwiP_Struct oscHwi
Definition: PowerCC26X2.h:199
List_List notifyList
Definition: PowerCC26X2.h:196
struct PowerCC26X2_Config PowerCC26X2_Config
Global configuration structure.
int32_t nCtrimNew
Definition: PowerCC26X2.h:204
int32_t nCtrimFractCurr
Definition: PowerCC26X2.h:203
void(* Power_PolicyInitFxn)(void)
Power policy initialization function pointer.
Definition: Power.h:100
bool xoscPending
Definition: PowerCC26X2.h:211
bool busyCal
Definition: PowerCC26X2.h:214
Power manager interface for CC26XX/CC13XX.
bool initialized
Definition: PowerCC26X2.h:218
int32_t nDeltaFreqNew
Definition: PowerCC26X2.h:208
bool calibrateRCOSC_HF
Boolean specifying whether the high frequency RC oscillator (RCOSC_HF) should be calibrated.
Definition: PowerCC26X2.h:186
bool enablePolicy
Definition: PowerCC26X2.h:217
void(* Power_PolicyFxn)(void)
Power policy function pointer.
Definition: Power.h:105
int32_t nRtrimNew
Definition: PowerCC26X2.h:206
int32_t nDeltaFreqCurr
Definition: PowerCC26X2.h:201
uint32_t calStep
Definition: PowerCC26X2.h:215
bool(* calibrateFxn)(unsigned int)
The function to be used for activating RC Oscillator (RCOSC) calibration.
Definition: PowerCC26X2.h:155
Global configuration structure.
Definition: PowerCC26X2.h:114
Power_PolicyInitFxn policyInitFxn
The Power Policy's initialization function.
Definition: PowerCC26X2.h:121
bool calibrateRCOSC_LF
Boolean specifying whether the low frequency RC oscillator (RCOSC_LF) should be calibrated.
Definition: PowerCC26X2.h:177
PowerCC26X2_ModuleState.
Definition: PowerCC26X2.h:195
uint32_t state
Definition: PowerCC26X2.h:210
int32_t nRtrimCurr
Definition: PowerCC26X2.h:207
Power_PolicyFxn policyFxn
Definition: PowerCC26X2.h:225
int32_t nCtrimCurr
Definition: PowerCC26X2.h:202
uint32_t constraintMask
Definition: PowerCC26X2.h:197
bool enablePolicy
Boolean specifying if the Power Policy function is enabled.
Definition: PowerCC26X2.h:168
Power_PolicyFxn policyFxn
The Power Policy function.
Definition: PowerCC26X2.h:143
ClockP_Struct clockObj
Definition: PowerCC26X2.h:198
int32_t nCtrimFractNew
Definition: PowerCC26X2.h:205
HwiP_Struct tdcHwi
Definition: PowerCC26X2.h:200
bool bRefine
Definition: PowerCC26X2.h:209
bool firstLF
Definition: PowerCC26X2.h:216
bool calLF
Definition: PowerCC26X2.h:212