NEC V850E/MA1 User Manual page 340

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

CHAPTER 10 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
(5) External pulse output
Timer C has four timer output pins (TO0n).
An external pulse output (TO0n) is generated when a match of the two compare registers (CCCn0 and
CCCn1) and the TMCn register is detected.
If a match is detected when the TMCn count value and the CCCn0 value are compared, the output level of
the TO0n pin is set. Also, if a match is detected when the TMCn count value and the CCCn1 value are
compared, the output level of the TO0n pin is reset.
The output level of the TO0n pin can be specified by the TMCCn1 register.
Remark
n = 0 to 3
ENTn1
ACTLVn
0
0
0
1
1
0
1
1
Remark
n = 0 to 3
Figure 10-6. TMC1 Compare Operation Example (Set/Reset Output Mode)
TMC1 count value
Interrupt request
(INTM010)
Interrupt request
(INTM011)
TO01 pin
ENT11 ← 1
ACTLV1 ← 1
340
Table 10-2. TO0n Output Control
External Pulse Output
Disable
Disable
Enable
Enable
CCC11
CCC10
0
Count start
TMCCE1
1
User's Manual U14359EJ4V0UM
TO0n Output
Output Level
High level
Low level
When the CCCn0 register is matched: low level
When the CCCn1 register is matched: high level
When the CCCn0 register is matched: high level
When the CCCn1 register is matched: low level
FFFFH
CCC11
CCC10
Overflow
OVF1
1
FFFFH
CCC10
Overflow
OVF1
1

Advertisement

Table of Contents
loading

Table of Contents