SWRU543B January 2019 – June 2025 CC3230S , CC3230SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The CC32xx has a 48-bit on-chip always-on slow counter running at 32.768 kHz, which can wake up the device from hibernate low-power mode, or generate an interrupt to the core on counting a particular match value. The following API returns the current value of the counter:
unsigned long PRCMSlowClkCtrGet(void)
Description: This function reads from a specified OCR register.
Parameter: None
Return: None
To set the match value to receive an interrupt call, use the following API with the appropriate value:
void PRCMSlowClkCtrMatchSet(unsigned long long ullTicks)
Description: This function sets the match value of the slow clock triggered interrupt.
Parameter: ullTicks: 48-bit match value
Return: None