51 #ifndef ti_drivers_power_PowerWFF3__include 52 #define ti_drivers_power_PowerWFF3__include 58 #include <ti/devices/DeviceFamily.h> 65 #define PowerWFF3_RESUMETIMESLEEP 15000 68 #define PowerWFF3_TOTALTIMESLEEP 16000 71 #define PowerWFF3_WAKEDELAYSLEEP 15000 76 #define PowerWFF3_PERIPH_DCAN 0 79 #define PowerWFF3_PERIPH_GPTIMER0 1 82 #define PowerWFF3_PERIPH_GPTIMER1 2 85 #define PowerWFF3_PERIPH_I2C0 3 88 #define PowerWFF3_PERIPH_I2C1 4 91 #define PowerWFF3_PERIPH_I2S 5 94 #define PowerWFF3_PERIPH_SDMMC 6 97 #define PowerWFF3_PERIPH_SPI0 7 100 #define PowerWFF3_PERIPH_SPI1 8 103 #define PowerWFF3_PERIPH_SYSTIMER 9 106 #define PowerWFF3_PERIPH_UARTLIN0 10 109 #define PowerWFF3_PERIPH_UARTLIN1 11 112 #define PowerWFF3_PERIPH_SDIO 12 115 #define PowerWFF3_PERIPH_ADC0 13 118 #define PowerWFF3_PERIPH_UARTLIN2 14 123 #define PowerWFF3_NUMRESOURCES 15 126 #define PowerWFF3_SLEEP 0x1 129 #define PowerWFF3_ENABLE 1 130 #define PowerWFF3_DISABLE 0 141 #define PowerWFF3_DISALLOW_SHUTDOWN 0 144 #define PowerWFF3_DISALLOW_SLEEP 1 147 #define PowerWFF3_DISALLOW_IDLE 2 150 #define PowerWFF3_NUMCONSTRAINTS 3 162 #define PowerWFF3_ENTERING_SLEEP (1 << 0) 165 #define PowerWFF3_ENTERING_SHUTDOWN (1 << 1) 168 #define PowerWFF3_AWAKE_SLEEP (1 << 2) 171 #define PowerWFF3_NUMEVENTS 3 175 typedef uint8_t PowerWFF3_Resource;
Global configuration structure.
Definition: PowerWFF3.h:179
PowerWFF3_ResetReason
Reasons the device has booted or rebooted.
Definition: PowerWFF3.h:222
Power_PolicyInitFxn policyInitFxn
The Power Policy's initialization function.
Definition: PowerWFF3.h:187
Clock interface for the RTOS Porting Interface.
void(* Power_PolicyInitFxn)(void)
Power policy initialization function pointer.
Definition: Power.h:401
void PowerWFF3_schedulerRestore(void)
Definition: PowerWFF3.h:227
void(* Power_PolicyFxn)(void)
Power policy function pointer.
Definition: Power.h:406
void PowerWFF3_doWFI(void)
The wait for interrupt (WFI) policy.
void PowerWFF3_sleepPolicy(void)
The SLEEP Power Policy.
static PowerWFF3_ResetReason PowerWFF3_getResetReason(void)
Returns the reason for the most recent reset or wakeup.
Definition: PowerWFF3.h:249
Power_PolicyFxn policyFxn
The Power Policy function.
Definition: PowerWFF3.h:216
void PowerWFF3_schedulerDisable(void)
Hardware Interrupt module for the RTOS Porting Interface.
Definition: PowerWFF3.h:225