R01UH0823EJ0100 Rev.1.00
Page 786 of 1823
Jul 31, 2019
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 functions of the time capture event input pins (RTCIC0 and RTCIC1) are multiplexed, set the port control and
enable this bit. In this case, the port control should be set first. If the TCEN bit is set to 0, set also the TCCT[1:0] bits to
00b.