CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
325
User’s Manual U14492EJ3V0UD
(iii) Mode 3 (PRM12 = 1, PRM11 = 1, PRM10 = 0)
In mode 3, when two signals 90 degrees out of phase are input to the TIUD1n and TCUD1n pins, the
level of the TCUD1n pin is sampled at the input of the valid edge of the TIUD1n pin (refer to
Figure
9-51
).
If the TCUD1n pin level sampled at the valid edge input to the TIUD1n pin is low, TM1n counts down
when the valid edge is input to the TIUD1n pin.
If the TCUD1n pin level sampled at the valid edge input to the TIUD1n pin is high, TM1n counts up
when the valid edge is input to the TIUD1n pin.
Figure 9-51. Mode 3 (When Rising Edge Is Specified as Valid Edge of TIUD1n Pin)
0007H
TIUD1n
TCUD1n
TM1n
0008H
Up count
Down count
0009H
000AH
0009H
0008H
0007H
Remark
n = 0, 1
Figure 9-52. Mode 3 (When Rising Edge Is Specified as Valid Edge of TIUD1n Pin):
In Case of Simultaneous TIUD1n, TCUD1n Pin Edge Timing
0007H
TIUD1n
TCUD1n
TM1n
0008H
Up count
Down count
0009H
000AH
0009H
0008H
0007H
Remark
n = 0, 1
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...