English
Language : 

UPD784938 Datasheet, PDF (315/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 11 TIMER/EVENT COUNTER 2
(4) Timer output control register (TOC)
TOC is an 8-bit register that controls output enabling/disabling of the active level of timer output.
The operation of the timer output pins (TO2/TO3) by timer/event counter 2 is controlled by the high-order 4 bits (the
low-order 4 bits control the operation of the timer output pins (TO0/TO1) by timer/event counter 0).
TOC can be read or written with an 8-bit manipulation instruction or bit manipulation instruction. The format of TOC
is shown in Figure 11-5.
RESET input clears TOC to 00H.
Figure 11-5. Timer Output Control Register (TOC) Format
7
6
5
4
3
2
1
0 Address After reset R/W
TOC ENTO3 ALV3 ENTO2 ALV2 ENTO1 ALV1 ENTO0 ALV0 0FF31H
0000H R/W
Control operation of timer output pins (TO0 & TO1)
by timer/event counter 0 (see Figure 9-5).
ALV2
TO2 Pin Active Level
Toggle Output
Specification
PWM/PPG
Output Specification
0 Low level
High level
1 High level
Low level
ENTO2
TO2 Pin Operation Specification
0 ALV2 output
1 Pulse output enabled
ALV3
TO3 Pin Active Level
Toggle Output
PWM/PPG
Specification Output Specification
0 Low level
High level
1 High level
Low level
ENTO3
TO3 Pin Operation Specification
0 ALV3 output
1 Pulse output enabled
Preliminary User’s Manual U13987EJ1V0UM00
315