English
Language : 

M16C29 Datasheet, PDF (183/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
M16C/29 Group
13. Timer S
(a) When selecting the rising edge as a timer measurement trigger
(Bits CTS1 and CTS0 in the G1TMCRj register (j=0 to 7)=012)
fBT1
Base timer
INPC1j pin input or
trigger signal after
passing the digital
filter
n-2 n-1 n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 n+10 n+11 n+12 n+13 n+14
(2)
G1IRj bit (1)
G1TMj register
Delayed by 1 clock
n
n +5
write 0 by program if setting to 0
n+8
NOTES :
1. Bits in the G1IR register.
2. Input pulse applied to the INPC1j pin requires 1.5 fBT1 clock cycles. or more.
(b) When selecting both edges as a timer measurement trigger
(Bits CTS1 and CTS0 = 112)
fBT1
Base timer
n-2 n-1 n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 n+10 n+11 n+12 n+13 n+14
INPC1j pin input or
trigger signal after
passing the digital
filter
G1IRj bit (1)
G1TMj register (2)
n
n+2
n+5
n+8
NOTES :
1. Bits in the G1IR register.
2. No interrupt is generated if the MCU receives a trigger signal when. the G1IRj bit is set to 1.
However, the value of the G1TMj register is updated.
write 0 by program
if setting to 0
n+12
(c) Trigger signal when using digital filter
(Bits DF1 to DF0 in the G1TMCRj register =102 or 112)
f1 or f2 or fBT1 (1)
INPC1j pin
Trigger signal after
passing the digital
filter
Signals, which do not match 3
times, are stripped off
Maximum 3.5 f1 or f2 or fBT1
clock cycles (1)
The trigger signal is delayed
by the digital filter
NOTE:
1. fBT1 when bits DF1 to DF0 are set to 102, and f1 or f2 when set to 112.
Figure 13.20 Time Measurement Function (2)
Rev. 1.12 Mar.30, 2007 page 159 of 458
REJ09B0101-0112