SWRU465, page 504:
void PRCMHibernateWakeupSourceEnable(unsigned long ulHIBWakupSrc)
Description: This function enables the specified HIB wake-up sources.
Parameter: ulHIBWakupSrc: Bit-packed representation of valid wake-up sources. ulHIBWakupSrc is
bitwise or one or more of the following:
• PRCM_HIB_SLOW_CLK_CTR: Slow clock counter
• PRCM_HIB_GPIO2: GPIO 2
• PRCM_HIB_GPIO4: GPIO 4
• PRCM_HIB_GPIO13: GPIO 13
• PRCM_HIB_GPIO17: GPIO 17
• PRCM_HIB_GPIO11: GPIO 11
• PRCM_HIB_GPIO24: GPIO 24
PowerCC32XX.h, typedef struct PowerCC32XX_ConfigV1:
/*!
* @brief The GPIO sources for wakeup from shutdown
*
* Only one GPIO {2,4,11,13,17,24,26} can be specified as a wake source
* for Shutdown. The GPIO must be specified as one of the following (as
* defined in driverlib/prcm.h): PRCM_HIB_GPIO2, PRCM_HIB_GPIO4,
* PRCM_HIB_GPIO11, PRCM_HIB_GPIO13, PRCM_HIB_GPIO17, PRCM_HIB_GPIO24,
* PRCM_HIB_GPIO26
*/
uint32_t wakeupGPIOSourceShutdown;
Questions:
- I don't understand the differences between Shutdown and Hibernation. In Figure 15-2 and related paragraphs you talk about Hibernation mode, but in the functions appear both words. Have they the same meaning?
- Why one document says I can select one or more GPIO for wakeup (among the six defined as "wake") and the source code says only ONE? Who is right?