CHAPTER 9 TIMER/COUNTER FUNCTION
224
User’s Manual U15195EJ5V0UD
Figure 9-11. When UPORTn = 0 Is Set Immediately Before TORTOn = 1
CM0n3
0000H
TM0n
Count value
F/F
INTCM0n3
INTTM0n
TO0n0
TM0CEn
TORTOn
UPORTn
Timer output
Software output
Timer output
T3
CM0n3
CM0n3
CM0n3
Note 2
Note 1
Note 1
Note 2
Note 1
Note 4
Note 3
Notes 1.
F/F set by compare match during up count
2.
F/F reset by compare match during down count
3.
F/F set by writing UPORTn bit
4.
F/F reset by writing UPORTn bit
Remark
n = 0, 1
If the setting of the TORTOn bit changes from 0 to 1 while the UPORTn bit is set to 0 during TM0n operation
(TM0CEn = 1), the TO0n0 output changes from 1 to 0 because the F/F is reset at the T3 timing.
Examples of the software output waveforms of TO000 and TO001 based on the settings of the TORTOn, UPORTn,
VPORTn, and WPORTn bits are shown on the following pages.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...