Format Of Timer Output Control Register (Toc) - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
(4) Timer output control register (TOC)
The TOC register is an 8-bit register for controlling the active level of timer output and for enabling/disabling
timer output.
The higher 4 bits control the timer output operation (on the TO2 and TO3 pins) of 8-bit timer/counter 2. (The
lower 4 bits control the timer output operation (on the TO0 and TO1 pins) of the 16-bit timer/counter.)
The TOC register allows only write operation using an 8-bit measurement instruction. Fig. 7-70 shows the
format of the TOC register.
When the RESET signal is applied, the TOC register is cleared to 00H.
7
TOC
ENTO3
166
Fig. 7-70 Format of Timer Output Control Register (TOC)
6
5
4
3
ALV3 ENTO2
ALV2 ENTO1
1
0
2
ALV1
ENTO0 ALV0
These bits control timer output operation (output of
pins TO0 and TO1) by the 16-bit timer/counter
(see Fig. 7-5).
Active level for TO2 pin
ALV2
When toggle output
is specified
Low level
0
1
High level
ENTO2
TO2 pin operation specification
Outputs ALV2
0
Enables pulse output
1
ALV3
When toggle output
is specified
0
Low level
High level
1
ENTO3
TO3 pin operation specification
0
Outputs ALV3
Enables pulse output
1
When PWM/PPG
output is specified
High level
Low level
Active level for TO3 pin
When PWM/PPG
output is specified
High level
Low level

Advertisement

Table of Contents
loading

Table of Contents