Specify the wakeup sources for LPDS and Shutdown.
The wakeup sources for LPDS and Shutdown can be dynamically changed at runtime, via Power_configureWakeup(). The application should fill a structure of this type, and pass it as the parameter to Power_configureWakeup() to specify the new wakeup settings.
Data Fields | |
bool | enableGPIOSyncIOWakeupLPDS |
Power_GPIO_SYNCIO_Wakeup_Enable | selectGpioSyncIOLpds |
bool | enableSleepCounterWakeupLPDS |
bool | enableUARTWakeupLPDS |
bool | enableSPICSWakeupLPDS |
bool | enableRTCWakeupLPDS |
bool | enableFRCWakeupLPDS |
uint32_t | wakeupGPIOPadLPDS |
The GPIO source for wakeup from LPDS. More... | |
uint32_t | wakeupGPIOEdgeLPDS |
The GPIO trigger type for wakeup from LPDS. More... | |
void(* | wakeupGPIOFxnLPDS )(uint_least8_t argument) |
Function to be called when the configured GPIO triggers wakeup from LPDS. More... | |
uint_least8_t | wakeupGPIOFxnLPDSArg |
The argument to be passed to wakeupGPIOFxnLPDS() More... | |
uint32_t | wakeupSyncIOPadLPDS |
The GPIO source for wakeup from LPDS. More... | |
uint32_t | wakeupSyncIOEdgeLPDS |
The GPIO trigger type for wakeup from LPDS. More... | |
bool Power_Wakeup::enableGPIOSyncIOWakeupLPDS |
Power_GPIO_SYNCIO_Wakeup_Enable Power_Wakeup::selectGpioSyncIOLpds |
bool Power_Wakeup::enableSleepCounterWakeupLPDS |
Enable sleep counter as a wakeup source for LPDS
bool Power_Wakeup::enableUARTWakeupLPDS |
Enable Network activity as a wakeup source for LPDS
bool Power_Wakeup::enableSPICSWakeupLPDS |
Enable Network activity as a wakeup source for LPDS
bool Power_Wakeup::enableRTCWakeupLPDS |
Enable Network activity as a wakeup source for LPDS
bool Power_Wakeup::enableFRCWakeupLPDS |
Enable Network activity as a wakeup source for LPDS
uint32_t Power_Wakeup::wakeupGPIOPadLPDS |
The GPIO source for wakeup from LPDS.
Only one GPIO {2,4,11,13,17,24,26} can be specified as a wake source for LPDS. The GPIO must be specified as one of the following (as defined in driverlib/prcm.h): PRCM_LPDS_GPIO2, PRCM_LPDS_GPIO4, PRCM_LPDS_GPIO11, PRCM_LPDS_GPIO13, PRCM_LPDS_GPIO17, PRCM_LPDS_GPIO24, PRCM_LPDS_GPIO26
uint32_t Power_Wakeup::wakeupGPIOEdgeLPDS |
The GPIO trigger type for wakeup from LPDS.
Value can be one of the following (defined in driverlib/prcm.h): PRCM_LPDS_LOW_LEVEL, PRCM_LPDS_HIGH_LEVEL, PRCM_LPDS_FALL_EDGE, PRCM_LPDS_RISE_EDGE
void(* Power_Wakeup::wakeupGPIOFxnLPDS) (uint_least8_t argument) |
Function to be called when the configured GPIO triggers wakeup from LPDS.
During LPDS the internal GPIO module is powered off, and special periphery logic is used instead to detect the trigger and wake the device. No GPIO interrupt service routine will be triggered in this case (even if an ISR is configured, and used normally to detect GPIO interrupts when not in LPDS). This function can be used in lieu of a GPIO ISR, to take specific action upon LPDS wakeup.
A value of NULL indicates no GPIO wakeup function will be called.
An argument for this wakeup function can be specified via wakeupGPIOFxnLPDSArg.
Note that this wakeup function will be called as one of the last steps in Power_sleep(), after all notifications have been sent out, and after pins have been restored to their previous (non-parked) states.
uint_least8_t Power_Wakeup::wakeupGPIOFxnLPDSArg |
The argument to be passed to wakeupGPIOFxnLPDS()
uint32_t Power_Wakeup::wakeupSyncIOPadLPDS |
The GPIO source for wakeup from LPDS.
Only one GPIO {2,4,11,13,17,24,26} can be specified as a wake source for LPDS. The GPIO must be specified as one of the following (as defined in driverlib/prcm.h): PRCM_LPDS_GPIO2, PRCM_LPDS_GPIO4, PRCM_LPDS_GPIO11, PRCM_LPDS_GPIO13, PRCM_LPDS_GPIO17, PRCM_LPDS_GPIO24, PRCM_LPDS_GPIO26
uint32_t Power_Wakeup::wakeupSyncIOEdgeLPDS |
The GPIO trigger type for wakeup from LPDS.
Value can be one of the following (defined in driverlib/prcm.h): PRCM_LPDS_LOW_LEVEL, PRCM_LPDS_HIGH_LEVEL, PRCM_LPDS_FALL_EDGE, PRCM_LPDS_RISE_EDGE