NEC PD703114 User Manual page 222

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 9-9. When UPORTn = 1 Is Set Immediately Before TORTOn = 0 (Switched by Active 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 1 in the P1 period in Figure 9-9
above, the F/F continues to hold the TORTOn bit setting of "1" until the T1 timing.
However, because the F/F is reset at the T1 timing (by a compare match of TM0n during down counting), the
TO0n0 output changes from 1 to 0.
222
CHAPTER 9 TIMER/COUNTER FUNCTION
CM0n3
CM0n3
Note 1
Note 2
Note 3
Timer output
Software output
User's Manual U15195EJ5V0UD
CM0n3
CM0n3
Note 2
Note 1
Note 4
Timer output
P1
T1
Note 2

Advertisement

Table of Contents
loading

Table of Contents