NEC UPD703116 User Manual page 244

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 9-10. When UPORTn = 0 Is Set Immediately Before TORTOn = 0 (Switched by Inactive Value)
TM0n
Count value
0000H
F/F
INTCM0n3
INTTM0n
TO0n0
TM0CEn
TORTOn
UPORTn
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 1 to 0 while the UPORTn bit is set to 0 in the P1 period in Figure 9-
10 above, the F/F continues to hold the TORTOn bit setting of "0" until the T2 timing.
However, because the F/F is set at the T2 timing (by a compare match of TM0n during up counting), the TO0n0
output changes from 1 to 0.
Note that TO0n0 to TO0n5 output will stop if the TORTOn bit setting is changed from 1 to 0 while the TM0CEn bit
is 0.
244
CHAPTER 9 TIMER/COUNTER FUNCTION
CM0n3
CM0n3
Note 2
Note 3
Note 1
Timer output
Software output
User's Manual U14492EJ5V0UD
CM0n3
CM0n3
Note 1
Note 4
Timer output
P1
T2
Note 2

Advertisement

Table of Contents
loading

Table of Contents