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 228 uint8_t constraintCounts[PowerCC26X2_NUMCONSTRAINTS];
230 uint8_t resourceCounts[PowerCC26X2_NUMRESOURCES];
232 unsigned int (*resourceHandlers[3])(
unsigned int);
uint8_t auxHwiState
Definition: PowerCC26X2.h:222
struct PowerCC26X2_ModuleState PowerCC26X2_ModuleState
PowerCC26X2_ModuleState.
HwiP_Struct oscHwi
Definition: PowerCC26X2.h:208
List_List notifyList
Definition: PowerCC26X2.h:203
struct PowerCC26X2_Config PowerCC26X2_Config
Global configuration structure.
int32_t nCtrimNew
Definition: PowerCC26X2.h:213
void(* enableTCXOFxn)(bool)
The function to be used for enabling or disabling the TCXO.
Definition: PowerCC26X2.h:193
int32_t nCtrimFractCurr
Definition: PowerCC26X2.h:212
void(* Power_PolicyInitFxn)(void)
Power policy initialization function pointer.
Definition: Power.h:402
bool xoscPending
Definition: PowerCC26X2.h:220
bool busyCal
Definition: PowerCC26X2.h:223
Power manager interface for CC26XX/CC13XX.
bool initialized
Definition: PowerCC26X2.h:227
int32_t nDeltaFreqNew
Definition: PowerCC26X2.h:217
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:226
void(* Power_PolicyFxn)(void)
Power policy function pointer.
Definition: Power.h:407
int32_t nRtrimNew
Definition: PowerCC26X2.h:215
ClockP_Struct tcxoEnableClock
Definition: PowerCC26X2.h:207
int32_t nDeltaFreqCurr
Definition: PowerCC26X2.h:210
uint32_t calStep
Definition: PowerCC26X2.h:224
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
ClockP_Struct calibrationClock
Definition: PowerCC26X2.h:206
PowerCC26X2_ModuleState.
Definition: PowerCC26X2.h:202
uint32_t state
Definition: PowerCC26X2.h:219
int32_t nRtrimCurr
Definition: PowerCC26X2.h:216
Power_PolicyFxn policyFxn
Definition: PowerCC26X2.h:234
int32_t nCtrimCurr
Definition: PowerCC26X2.h:211
uint32_t constraintMask
Definition: PowerCC26X2.h:204
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:205
int32_t nCtrimFractNew
Definition: PowerCC26X2.h:214
HwiP_Struct tdcHwi
Definition: PowerCC26X2.h:209
bool bRefine
Definition: PowerCC26X2.h:218
bool firstLF
Definition: PowerCC26X2.h:225
bool calLF
Definition: PowerCC26X2.h:221