Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 794 of 1852
Nov 30, 2020
RX23W Group 28. Realtime Clock (RTCe)
TCNF[1:0] Bits (Time Capture Noise Filter Control)
These bits control the noise filter of the time capture event input pins (RTCIC0 and RTCIC1).
When the noise filter is on, the count source divided by 1 or divided by 32 is selectable. In this case, when the input level
on the time capture event input pin matches three consecutive times at the set sampling period, the input level is
determined.
Set the TCNF[1:0] bits while the TCCT[1:0] bits are 00b (no event is detected). When the noise filter is used, set the
TCNF[1:0] bits, wait for three cycles of the specified sampling period, and then set the TCCT[1:0] bits. Set the
TCNF[1:0] bits when the TCEN bit is 1.
TCEN Bit (Time Capture Event Input Pin Enable)
This bit enables or disables the time capture event input pins (RTCIC0 and RTCIC1).
When the sub-clock oscillator is stopped (RCR3.RTCEN bit = 0), the time capture event input pins (RTCIC0 and
RTCIC1) are disabled regardless of the value of the TCEN bit.
When the time capture event input pin functions (RTCIC0 and RTCIC1) are allocated to the same pins as other
multiplexed functions, make the general input port pin settings for the corresponding pins and then set this bit to 1. If the
TCEN bit is set to 0, set also the TCCT[1:0] bits to 00b.