RTCC - Real Timer Counter/Calendar

Description

Real Time Counter and Calendar (RTCC) Peripheral API.

This module contains functions to control the RTCC peripheral of Silicon Labs 32-bit MCUs and SoCs. The RTCC ensures timekeeping in low energy modes. The RTCC also includes a BCD calendar mode for easy time and date keeping.

Data Structures

struct RTCC_Init_TypeDef
RTCC initialization structure.
struct RTCC_CCChConf_TypeDef
RTCC capture/compare channel configuration structure.

Functions

uint32_t RTCC_ChannelCompareValueGet (int ch)
Get RTCC compare register value for selected channel.
void RTCC_ChannelCompareValueSet (int ch, uint32_t value)
Set RTCC compare register value for selected channel.
uint32_t RTCC_ChannelCaptureValueGet (int ch)
Get RTCC input capture register value for selected channel.
uint32_t RTCC_ChannelCCVGet (int ch)
Get RTCC capture/compare register value for selected channel.
void RTCC_ChannelCCVSet (int ch, uint32_t value)
Set RTCC capture/compare register value for selected channel.
uint32_t RTCC_ChannelDateGet (int ch)
Get the calendar DATE register content for selected channel.
void RTCC_ChannelDateSet (int ch, uint32_t date)
Set calendar DATE register for selected channel.
uint32_t RTCC_ChannelTimeGet (int ch)
Get calendar TIME register content for selected channel.
void RTCC_ChannelTimeSet (int ch, uint32_t time)