English
Language : 

M16C29 Datasheet, PDF (146/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
M16C/29 Group
12. Timer B
Count source
Measurement pulse “H”
“L”
Reload register counter
transfer timing
Timing at which counter
reaches 000016
1
TBiS bit
0
Transfer
(undefined value)
(1)
Transfer
(measured value)
(1)
(2)
TBiIC register's
1
IR bit
0
Set to 0 upon accepting an interrupt request or by program
TBiMR register's
1
MR3 bit
0
Bits TB0S to TB2S are assigned to the bit 5 to bit 7 in the TABSR register.
i = 0 to 2
NOTES:
1. Counter is initialized at completion of measurement.
2. Timer has overflowed.
3. This timing diagram is for the case where bits MR1 and MR0 in the TBiMR register are 002 (measure the
interval from falling edge to falling edge of the measurement pulse).
Figure 12.21 Operation timing when measuring a pulse period
Count source
Measurement pulse “H”
“L”
Reload register counter
transfer timing
Timing at which counter
reaches 000016
Transfer
(undefined
value)
Transfer
(measured value)
Transfer
(measured
value)
Transfer
(measured value)
(1)
(1)
(1)
(1)
(1)
TBiS bit
1
0
TBiIC register's
1
IR bit
0
1
The MR3 bit in the
0
TBiMR register
Set to 0 upon accepting an interrupt request or by
program
Bits TB0S to TB2S are assigned to the bit 5 to bit 7 in the TABSR register.
i = 0 to 2
NOTES:
1. Counter is initialized at completion of measurement.
2. Timer has overflowed.
3. This timing diagram is for the case where bits MR1 to MR0 in the TBiMR register are 102 (measure the interval
from a falling edge to the next rising edge and the interval from a rising edge to the next falling edge of the
measurement pulse).
Figure 12.22 Operation timing when measuring a pulse width
Rev. 1.12 Mar.30, 2007 page 122 of 458
REJ09B0101-0112