52 #ifndef ti_drivers_power_PowerCC26X2_ 53 #define ti_drivers_power_PowerCC26X2_ 55 #include <ti/drivers/dpl/HwiP.h> 56 #include <ti/drivers/dpl/ClockP.h> 66 #define PowerCC26X2_RESUMETIMESTANDBY 750 69 #define PowerCC26X2_TOTALTIMESTANDBY 1000 72 #define PowerCC26X2_WAKEDELAYSTANDBY 240 75 #define PowerCC26X2_INITIALWAITRCOSC_LF 1000 78 #define PowerCC26X2_RETRYWAITRCOSC_LF 1000 81 #define PowerCC26X2_INITIALWAITXOSC_HF 50 84 #define PowerCC26X2_RETRYWAITXOSC_HF 50 87 #define PowerCC26X2_INITIALWAITXOSC_LF 10000 90 #define PowerCC26X2_RETRYWAITXOSC_LF 5000 92 #define PowerCC26X2_PERIPH_PKA PowerCC26XX_NUMRESOURCES 94 #define PowerCC26X2_PERIPH_UART1 PowerCC26XX_NUMRESOURCES + 1 99 #define PowerCC26X2_HPOSC_RTC_COMPENSATION_DELTA 3 102 #define PowerCC26X2_NUMRESOURCES (PowerCC26XX_NUMRESOURCES + 2) 106 #define PowerCC26X2_NUMCONSTRAINTS (PowerCC26XX_NUMCONSTRAINTS + 0) 113 #define PowerCC26X2_SETUP_CALIBRATE 1 114 #define PowerCC26X2_INITIATE_CALIBRATE 2 115 #define PowerCC26X2_DO_CALIBRATE 3 161 bool (*calibrateFxn)(
unsigned int);
199 void (*enableTCXOFxn)(bool);
234 uint8_t constraintCounts[PowerCC26X2_NUMCONSTRAINTS];
236 uint8_t resourceCounts[PowerCC26X2_NUMRESOURCES];
238 unsigned int (*resourceHandlers[3])(
unsigned int);
uint8_t auxHwiState
Definition: PowerCC26X2.h:228
HwiP_Struct oscHwi
Definition: PowerCC26X2.h:214
List_List notifyList
Definition: PowerCC26X2.h:209
int32_t nCtrimNew
Definition: PowerCC26X2.h:219
int32_t nCtrimFractCurr
Definition: PowerCC26X2.h:218
void(* Power_PolicyInitFxn)(void)
Power policy initialization function pointer.
Definition: Power.h:402
bool xoscPending
Definition: PowerCC26X2.h:226
bool busyCal
Definition: PowerCC26X2.h:229
Power manager interface for CC26XX/CC13XX.
bool initialized
Definition: PowerCC26X2.h:233
int32_t nDeltaFreqNew
Definition: PowerCC26X2.h:223
bool calibrateRCOSC_HF
Boolean specifying whether the high frequency RC oscillator (RCOSC_HF) should be calibrated.
Definition: PowerCC26X2.h:192
bool enablePolicy
Definition: PowerCC26X2.h:232
void(* Power_PolicyFxn)(void)
Power policy function pointer.
Definition: Power.h:407
int32_t nRtrimNew
Definition: PowerCC26X2.h:221
ClockP_Struct tcxoEnableClock
Definition: PowerCC26X2.h:213
int32_t nDeltaFreqCurr
Definition: PowerCC26X2.h:216
uint32_t calStep
Definition: PowerCC26X2.h:230
Global configuration structure.
Definition: PowerCC26X2.h:120
Power_PolicyInitFxn policyInitFxn
The Power Policy's initialization function.
Definition: PowerCC26X2.h:127
bool calibrateRCOSC_LF
Boolean specifying whether the low frequency RC oscillator (RCOSC_LF) should be calibrated.
Definition: PowerCC26X2.h:183
ClockP_Struct calibrationClock
Definition: PowerCC26X2.h:212
PowerCC26X2_ModuleState.
Definition: PowerCC26X2.h:208
uint32_t state
Definition: PowerCC26X2.h:225
int32_t nRtrimCurr
Definition: PowerCC26X2.h:222
Power_PolicyFxn policyFxn
Definition: PowerCC26X2.h:240
int32_t nCtrimCurr
Definition: PowerCC26X2.h:217
void PowerCC26X2_enableHposcRtcCompensation(void)
Enable RTC compensation when SCLK_LF is derived from HPOSC.
uint32_t constraintMask
Definition: PowerCC26X2.h:210
bool enablePolicy
Boolean specifying if the Power Policy function is enabled.
Definition: PowerCC26X2.h:174
Power_PolicyFxn policyFxn
The Power Policy function.
Definition: PowerCC26X2.h:149
ClockP_Struct clockObj
Definition: PowerCC26X2.h:211
int32_t nCtrimFractNew
Definition: PowerCC26X2.h:220
HwiP_Struct tdcHwi
Definition: PowerCC26X2.h:215
bool bRefine
Definition: PowerCC26X2.h:224
bool firstLF
Definition: PowerCC26X2.h:231
bool calLF
Definition: PowerCC26X2.h:227