NEC UPD703116 User Manual page 391

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(5) External pulse output
Timer 3 has one timer output pin (TO3).
An external pulse output (TO3) is generated when a match of the two compare registers (CC30 and CC31)
and the TM3 register is detected.
If a match is detected when the TM3 count value and the CC30 value are compared, the output level of the
TO3 pin is set. Also, if a match is detected when the TM3 count value and the CC31 value are compared,
the output level of the TO3 pin is reset.
The output level of the TO3 pin can be specified by the TMC31 register.
ENT1
ALV
0
0
0
1
1
0
1
1
Figure 9-95. TM3 Compare Operation Example (Set/Reset Output Mode)
TM3 count value
0
Count start
TM3CE1
Interrupt request
(INTCC31)
Interrupt request
(INTCC30)
TO3 pin
ENT1 ←
1
ALV ←
0
CHAPTER 9 TIMER/COUNTER FUNCTION
Table 9-13. TO3 Output Control
External Pulse Output
Disable
High level
Disable
Low level
Enable
When the CC30 register is matched: Low level
When the CC31 register is matched: High level
Enable
When the CC30 register is matched: High level
When the CC31 register is matched: Low level
CC30
CC31
Clear & start
1
User's Manual U14492EJ5V0UD
TO3 Output
Output Level
CC30
CC31
Clear & start
CC31
391

Advertisement

Table of Contents
loading

Table of Contents