13.3.2 Capture/Compare Channels
Three capture/compare channels are available in the RTCC. Each channel can be configured as input capture or output compare, by
setting the corresponding MODE in the RTCC_CCx_CTRL register.
In input capture mode the RTCC_CNT (RTCC_TIME and RTCC_DATE in calendar mode) register is captured into the
RTCC_CCx_CCV (RTCC_CCx_TIME and RTCC_CCx_DATE in calendar mode) register when an edge is detected on the selected
PRS input channel. The active capture edge is configured in the ICEDGE control bits.
In output compare mode the compare values are set by writing to the RTCC compare channel registers RTCC_CCx_CCV
(RTCC_CCx_TIME and RTCC_CCx_DATE in calendar mode). These values will be compared to the main counter, RTCC_CNT
(RTCC_TIME and RTCC_DATE in calendar mode), or a mixture of the main counter and the pre-counter, as illustrated in
13.4 RTCC Compare base illustration on page
BASE in RTCC_CCx_CTRL.
silabs.com | Building a more connected world.
RTCC_CNT
RTCC_CC0_CCV
RTCC_CC1_CCV
RTCC_CC2_CCV
0
CC2 PRS output,
CMOA=PULSE
1 LFCLK
cycle
RTCC
CC1 PRS output,
CMOA=TOGGLE
CC0 PRS output,
CMOA=SET
Figure 13.3. RTCC Compare match and PRS output illustration
383. Compare base for the capture compare channels is set by configuring COMP-
RTCC - Real Time Counter and Calendar
Reference Manual
Figure
Rev. 1.1 | 382
Need help?
Do you have a question about the EFR32xG14 Wireless Gecko and is the answer not in the manual?
Questions and answers