EasyManua.ls Logo

Texas Instruments CC3235 SimpleLink Series - Page 524

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...
PRCM APIs
www.ti.com
524
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Power, Reset, and Clock Management
15.3.6 Low-Power Modes
SRAM Retention – The CC32xx SRAM is organized in 4 × 64-KB columns. By default, all SRAM columns
are configured to be retained across LPDS and deep-sleep power modes. The application can enable or
disable retention per column by calling the following API with the appropriate parameters:
void PRCMSRAMRetentionEnable(unsigned long ulSramColSel, unsigned long ulFlags)
Description: This function reads from a specified on-chip retention (OCR) register.
Parameter:
• ulSramColSel: Bit-packed representation of SRAM columns. ulSramColSel is logical or one or more of
the following:
– PRCM_SRAM_COL_1: SRAM column 1
– PRCM_SRAM_COL_2: SRAM column 2
– PRCM_SRAM_COL_3: SRAM column 3
– PRCM_SRAM_COL_4: SRAM column 4
• ulFlags: Bit-packed representation of power modes. ulFlags is logical or one or more of the following:
– PRCM_SRAM_DSLP_RET: Configuration for DSLP
– PRCM_SRAM_LPDS_RET: Configuration for LPDS
Return: None
void PRCMSRAMRetentionDisable(unsigned long ulSramColSel, unsigned long ulFlags)
Description: This function reads from a specified OCR register.
Parameter:
• ulSramColSel: Bit-packed representation of SRAM columns. ulSramColSel is logical or one or more of
the following:
– PRCM_SRAM_COL_1: SRAM column 1
– PRCM_SRAM_COL_2: SRAM column 2
– PRCM_SRAM_COL_3: SRAM column 3
– PRCM_SRAM_COL_4: SRAM column 4
• ulFlags: Bit-packed representation of power modes. ulFlags is logical or one or more of the following:
– PRCM_SRAM_DSLP_RET: Configuration for DSLP
– PRCM_SRAM_LPDS_RET: Configuration for LPDS
Return: None
15.3.7 Sleep (SLEEP)
This mode can be entered by calling the following API. In this mode, the core is halted at the point of
invocation on this API with selective peripheral clock gating. The core resumes execution from the same
location when it receives an interrupt.
void PRCMSleepEnter()
Description: Enter sleep power mode by invoking a WFI instruction.
Parameter: None
Return: None

Table of Contents