CHAPTER 7 TIMER/COUNTER FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
232
(5) External pulse output
The 16-bit timer/event counter has two timer output pins (TOn).
An external pulse output (TOn) is generated when a match of the two compare registers (CCn0 and CCn1)
and the TMn register is detected.
If a match is detected when the TMn register count value and the CCn0 value are compared, the output level
of the TOn pin is set. Also, if a match is detected when the TMn register count value and the CCn1 value are
compared, the output level of the TOn pin is reset.
The output level of the TOn pin can be specified by the TMCn1 register.
Remark
n = 0, 1
Table 7-2. TOn Output Control
TOn Output
ETIn
ALVn
External Pulse Output
Output Level
0
0
Disable
High level
0
1
Disable
Low level
1
0
Enable
When the CCn0 register is matched: low level
When the CCn1 register is matched: high level
1
1
Enable
When the CCn0 register is matched: high level
When the CCn1 register is matched: low level
Remark
n = 0, 1
Figure 7-8. TM1 Compare Operation Example (Set/Reset Output Mode)
TM1 register count value
0
FFFFH
∆
Count start
TMCE1
←
1
∆
Overflow
OVF1
←
1
∆
Overflow
OVF1
←
1
CC11
CC10
FFFFH
CC11
CC10
CC10
Interrupt request
(INTCC10)
Interrupt request
(INTCC11)
TO1 pin
ENTO1
←
1
ALV1
←
1
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...