EasyManua.ls Logo

Texas Instruments CC3235 SimpleLink Series - Page 525

Texas Instruments CC3235 SimpleLink Series
799 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.ti.com
PRCM APIs
525
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Power, Reset, and Clock Management
15.3.8 Low-Power Deep Sleep (LPDS)
In this mode, the MCU core and its associated peripheral are reset with selective SRAM column retention.
By default, the entire SRAM is retained during DSLP. The user can enable or disable SRAM retention
using the APIs PRCMSRAMRetentionEnable() and PRCMSRAMRetentionDisable(). See Section 15.3.6
for more details.
Core resumes its execution either in the ROM bootloader or a preconfigured location in SRAM (if the user
sets restore information before entering LPDS) upon wakeup, due to configured wake sources which
include the following:
• Host IRQ – An interrupt from NWP
• LPDS timer – Dedicated LPDS timer
• LPDS wakeup GPIOs – Six selected GPIOs
LPDS restore information can be set using the following API:
void PRCMLPDSRestoreInfoSet(unsigned long ulStackPtr, unsigned long ulProgCntr)
Description: This function sets the PC and stack pointer information that will be restored by the
bootloader on exit from LPDS.
Parameter:
• ulStackPtr: Stack pointer restored on exit from LPDS
• ulProgCntr: Program counter restored on exit from LPDS
Return: None
LPDS wake-up sources can be configured using the following APIs:
● void PRCMLPDSWakeupSourceEnable(unsigned long ulLpdsWakeupSrc)
Description: This function enables the specified LPDS wake-up sources.
Parameter: ulLpdsWakeupSrc: Bit-packed representation of valid wake-up sources. ulLpdsWakeupSrc is
bitwise or one or more of the following:
• PRCM_LPDS_HOST_IRQ: Interrupt from NWP
• PRCM_LPDS_GPIO: LPDS wake-up GPIOs
• PRCM_LPDS_TIMER: Dedicated LPDS timer
Return: None
● void PRCMLPDSWakeupSourceDisable(unsigned long ulLpdsWakeupSrc)
Description: This function disables the specified LPDS wake-up sources.
Parameter: ulLpdsWakeupSrc: Bit-packed representation of valid wake-up sources. ulLpdsWakeupSrc is
bitwise or one or more of the following:
• PRCM_LPDS_HOST_IRQ: Interrupt from NWP
• PRCM_LPDS_GPIO: LPDS wake-up GPIOs
• PRCM_LPDS_TIMER: Dedicated LPDS timer
Return: None
● void PRCMLPDSIntervalSet(unsigned long ulTicks)
Description: This function sets the LPDS wake-up timer interval. The 32-bit timer is clocked at 32.768
kHz and triggers a wakeup on expiry. The timer is started only when the system enters LPDS.
Parameter: ulTicks: Wake-up interval in 32.768-kHz ticks
Return: None

Table of Contents