RTCC_CCx_CTRL_COMPBASE = CNT
CNT
PRECNT
RTCC_CCx_CTRL_COMPBASE = PRECNT
PRECNT
CCx_CCV
=
CNT
Compare match
16
0 14
0
MASK
MASK
CCx_CCV
=
Compare match
MASK
MASK
Figure 13.4. RTCC Compare base illustration
Table 13.3 RTCC Capture/Compare Subjects on page 383
summarizes which registers being subject to comparison for different con-
figurations of RTCC_CTRL_CNTMODE and RTCC_CCx_CTRL_COMPBASE.
Table 13.3. RTCC Capture/Compare Subjects
RTCC_CTRL_CNTMODE
NORMAL
CALENDAR
RTCC_CCx_CTRL_COMPBASE =
CNT
RTCC_CNT vs. RTCC_CCx_CCV
RTCC_TIME vs. RTCC_CCx_TIME and
RTCC_DATE vs. RTCC_CCx_DATE
RTCC_CCx_CTRL_COMPBASE =
PRECNT
{RTCC_CNT[16:0],RTCC_PRECNT[14:0]} vs.
RTCC_CCx_CCV
RTCC_PRECNT vs. RTCC_CCx_CCV[14:0]
Figure 13.5 RTCC Compare in calendar mode, COMPBASE = CNT on page 384
illustrates how the compare events are evaluated
when in calendar mode with RTCC_CCx_CTRL_COMPBASE = CNT. The SECU, SECT, MINU, MINT, HOURU, HOURT, MONTHU,
and MONTHT bitfields in RTCC_CCx_TIME and RTCC_CCx_DATE are compared to the corresponding bitfields in RTCC_DATE and
RTCC_TIME. The DAYU and DAYT bitfields in RTCC_CCx_DATE will be compared to {RTCC_DATE_DAYOMT, RTCC_DATE_DAYO-
MU} if DAYCC in RTCC_CCx_CTRL is set to MONTH. If DAYCC in RTCC_CCx_CTRL is set to WEEK, the DAYU and DAYT bitfields in
RTCC_CCx_DATE will be compared to {0b000, RTCC_DATE_DAYOW}.
Reference Manual
RTCC - Real Time Counter and Calendar
silabs.com
| Building a more connected world.
Rev. 1.1 | 383