Download Print this page

Renesas M16C/50 Series User Manual page 336

Advertisement

M16C/5L Group, M16C/56 Group
Count source
0000h
TBiS bit in the
TABSR register
TBiIN input
TBi register
IR bit
in TBiIC register
i = 0 to 2
The above assumes the following:
Bits MR1 to MR0 in the TBiMR register = 00b (measurement between a falling edge and the next falling
edge of measured pulse).
Bits PPWFS12 to PPWFS10 in the PPWFS1 register = 0 (measurement result stored in the TBi register).
No initial value is set while timer Bi is stopped.
Figure 16.6
Operation Example in Pulse Period Measurement Mode
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
(Undefined
value)
Transfer to the TBi register
(Measured value 1)
(Undefined
value)
Count
start
Becomes 0000h
Undefined value
Undefined value
(Measured
value 2)
Measured
value 1
Measured value 2
Interrupt request by an active edge of
the measured pulse
Set to 0 by accepting an interrupt request, or by a program.
16. Timer B
Transfer to
the TBi register
(Measured value 3)
Transfer to
the TBi register
(Measured value 4)
Becomes 0000h
Measured
Measured
value 3
value 4
Page 299 of 803

Advertisement

loading