English
Language : 

M16C65 Datasheet, PDF (393/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
18. Timer B
Count source
FFFFh
(Undefined
value)
Count
start
(Undefined value)
Transfer to the TBi register
(Measured value 1)
(Measured
value 2)
0000h
TBiS bit
in TABSR register
or TBSR register
Set to 0000h automatically
Transfer to
the TBi register
(Measured value 3)
Set to 0000h automatically
TBiIN input
TBi register
IR bit
in TBiIC register
Undefined value
Undefined value
Measured
value 1
Measured value 2
Interrupt request
by an effective edge of the measured pulse
Measured
value 3
Interrupt request
by overflow
Set to 0 by an interrupt request acknowledgement or by a program.
MR3 bit
in TBiMR register
Set to 0 by writing to the TBiMR register
i = 0 to 5
The above timing diagram applies when the register bits are set as follows:
-Bits MR1 to MR0 in the TBiMR register = 10b (measure pulse width)
-Bits PPWFS12 to PPWFS10 and PPWFS22 to PPWFS20 in registers PPWFS1 and PPWFS2
= 0 (measurement result stored in the TBi register)
-No initial value is set while timer Bi is stopped.
Figure 18.7 Operation Example in Pulse Width Measurement Mode
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 358 of 791