 |
xWRL684x MMWAVE-L-SDK
06.00.05
|
|
Go to the documentation of this file.
59 #ifndef POWER_XWRL68XX_H
60 #define POWER_XWRL68XX_H
63 #include <drivers/utils/List.h>
64 #include <drivers/hw_include/hw_types.h>
78 #define POWER_ENTERING_LPDS 0x1
81 #define POWER_ENTERING_IDLE 0x4
84 #define POWER_AWAKE_LPDS 0x8
87 #define POWER_AWAKE_IDLE 0x20
92 #define POWER_NUMPINS 32U
121 void (*enterLPDSHookFxn)(void);
128 void (*resumeLPDSHookFxn)(void);
136 void (*enteridle3HookFxn)(void);
143 void (*resumeidle3HookFxn)(void);
247 POWER_PIN_PAD_AA = PIN_PAD_AA,
249 POWER_PIN_PAD_AB = PIN_PAD_AB,
251 POWER_PIN_PAD_AC = PIN_PAD_AC,
253 POWER_PIN_PAD_AD = PIN_PAD_AD,
255 POWER_PIN_PAD_AE = PIN_PAD_AE,
257 POWER_PIN_PAD_AF = PIN_PAD_AF,
259 POWER_PIN_PAD_AG = PIN_PAD_AG,
261 POWER_PIN_PAD_AH = PIN_PAD_AH,
263 POWER_PIN_PAD_AI = PIN_PAD_AI,
265 POWER_PIN_PAD_AJ = PIN_PAD_AJ,
267 POWER_PIN_PAD_AK = PIN_PAD_AK,
269 POWER_PIN_PAD_AL = PIN_PAD_AL,
271 POWER_PIN_PAD_AM = PIN_PAD_AM,
273 POWER_PIN_PAD_AN = PIN_PAD_AN,
275 POWER_PIN_PAD_AO = PIN_PAD_AO,
277 POWER_PIN_PAD_AP = PIN_PAD_AP,
279 POWER_PIN_PAD_AQ = PIN_PAD_AQ,
281 POWER_PIN_PAD_AR = PIN_PAD_AR,
283 POWER_PIN_PAD_AS = PIN_PAD_AS,
285 POWER_PIN_PAD_AT = PIN_PAD_AT,
287 POWER_PIN_PAD_AU = PIN_PAD_AU,
289 POWER_PIN_PAD_AV = PIN_PAD_AV,
291 POWER_PIN_PAD_AW = PIN_PAD_AW,
293 POWER_PIN_PAD_AX = PIN_PAD_AX,
295 POWER_PIN_PAD_AY = PIN_PAD_AY,
297 POWER_PIN_PAD_AZ = PIN_PAD_AZ,
299 POWER_PIN_PAD_BA = PIN_PAD_BA,
301 POWER_PIN_PAD_BB = PIN_PAD_BB,
303 POWER_PIN_PAD_BC = PIN_PAD_BC,
305 POWER_PIN_PAD_BD = PIN_PAD_BD,
307 POWER_PIN_PAD_BE = PIN_PAD_BE,
309 POWER_PIN_PAD_BF = PIN_PAD_BF,
364 List_List notifyList;
426 #define Power_getPerformanceLevel(void) 0
427 #define Power_setPerformanceLevel(level) Power_EFAIL
void(* Power_PolicyFxn)(unsigned long long sleepTimeus)
Power policy function pointer.
Definition: power.h:413
Power global configuration.
Definition: power_xwrL68xx.h:110
bool enableGPIOSyncIOWakeupLPDS
Definition: power_xwrL68xx.h:325
uint32_t wakeupGPIOEdgeLPDS
The GPIO (WU_REQIN) trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:171
@ POWER_GPIO_WAKEUP_LPDS
Definition: power_xwrL68xx.h:105
@ POWER_DONT_PARK
Definition: power_xwrL68xx.h:235
bool enableSleepCounterWakeupLPDS
Definition: power_xwrL68xx.h:329
Power_GPIO_SYNCIO_Wakeup_Enable selectGpioSyncIOLpds
Definition: power_xwrL68xx.h:164
uint32_t ramRetentionMaskLPDS
SRAM retention mask for LPDS.
Definition: power_xwrL68xx.h:193
uint32_t idleThreshold
Threshold for entry to Idle in microseconds.
Definition: power_xwrL68xx.h:219
bool enableUARTWakeupLPDS
Definition: power_xwrL68xx.h:155
uint32_t totalLatencyForIdle
Latency for entry to and exit from Idle in microseconds.
Definition: power_xwrL68xx.h:223
void Power_Idle3()
Device Idle mode.
uint32_t wakeupGPIOEdgeLPDS
The GPIO trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:342
uint32_t wakeupUartEdgeLPDS
The UART Rx trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:356
bool enableRTCWakeupLPDS
Definition: power_xwrL68xx.h:333
Specify the wakeup sources for LPDS and Shutdown.
Definition: power_xwrL68xx.h:322
Power_GPIO_SYNCIO_Wakeup_Enable selectGpioSyncIOLpds
Definition: power_xwrL68xx.h:327
Power_ParkInfo * pinParkDefs
Pointer to an array of pins to be parked during LPDS.
Definition: power_xwrL68xx.h:200
bool enableSleepCounterWakeupLPDS
Definition: power_xwrL68xx.h:152
bool enableRTCWakeupLPDS
Definition: power_xwrL68xx.h:158
uint32_t wakeupUartEdgeLPDS
The UART RX (WU_REQIN) trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:186
@ POWER_PARK_IDLE_AND_LPDS
Definition: power_xwrL68xx.h:239
uint32_t pin
Definition: power_xwrL68xx.h:97
@ POWER_PARK_IDLE
Definition: power_xwrL68xx.h:237
uint32_t numPins
Number of pins to be parked during LPDS.
Definition: power_xwrL68xx.h:204
uint32_t parkState
Definition: power_xwrL68xx.h:99
void Power_parkPins(uint32_t powerState)
bool enableFRCWakeupLPDS
Definition: power_xwrL68xx.h:335
void Power_configureWakeup(Power_Wakeup *wakeup)
Function configures wakeup for LPDS and shutdown.
uint32_t wakeupSyncIOEdgeLPDS
The GPIO trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:349
uint32_t LPDSThreshold
Threshold for entry to LPDS in microseconds.
Definition: power_xwrL68xx.h:208
uint32_t resumeLatencyForLPDS
Definition: power_xwrL68xx.h:214
Power_PolicyFxn policyFxn
Definition: power_xwrL68xx.h:114
Power_ParkState
Enumeration of states a pin can be parked in.
Definition: power_xwrL68xx.h:231
void Power_initPolicy(void)
bool enableFRCWakeupLPDS
Definition: power_xwrL68xx.h:161
Power_GPIO_SYNCIO_Wakeup_Enable
Source of Wake-up can be either GPIO (WU_REQIN) or SYNC_IN.
Definition: power_xwrL68xx.h:104
Power_PolicyInitFxn policyInitFxn
Definition: power_xwrL68xx.h:112
void(* Power_PolicyInitFxn)(void)
Power policy initialization function pointer.
Definition: power.h:408
uint32_t totalLatencyForLPDS
Latency for entry to and exit from LPDS in microseconds.
Definition: power_xwrL68xx.h:212
bool enableUARTWakeupLPDS
Definition: power_xwrL68xx.h:331
uint32_t resumeLatencyForIdle
Definition: power_xwrL68xx.h:225
void Power_getWakeup(Power_Wakeup *wakeup)
Function to get wakeup configuration settings.
Used to specify parking of a pin during LPDS.
Definition: power_xwrL68xx.h:96
@ POWER_SYNCIN_IO_WAKEUP_LPDS
Definition: power_xwrL68xx.h:106
uint32_t wakeupSyncIOEdgeLPDS
The SYNC-IN trigger type for wakeup from LPDS.
Definition: power_xwrL68xx.h:178
@ POWER_PARK_LPDS
Definition: power_xwrL68xx.h:233
bool enablePolicy
Definition: power_xwrL68xx.h:146
void Power_sleepPolicy(unsigned long long sleepTimeus)
A reference power policy is provided which can transition the MCU from the active state to one of two...
bool enableGPIOSyncIOWakeupLPDS
Definition: power_xwrL68xx.h:149