113
Chapter 7 Timer/Counter Units
7
(3) Timer output control register (TOC)
The TOC register is an 8-bit register for specifying the active level of timer output and for enabling/disabling
timer output.
The lower 4 bits control the timer output operation (on the TO0 and TO1 pins) of the 16-bit timer/counter. (The
higher 4 bits control the timer output operation (on the TO2 and TO3 pins) of 8-bit timer/counter 2.)
The TOC register allows only write operation using an 8-bit manipulation instruction. Fig. 7-5 shows the
format of the TOC register.
When the RESET signal is applied, the TOC register is cleared to 00H.
Fig. 7-5 Format of Timer Output Control Register (TOC)
7
6
5
4
3
2
1
0
TOC
ENTO3
ALV3
ENTO2
ALV2
ENTO1
ENTO0
ALV1
ALV0
ALV0
ALV1
ENTO1
0
0
0
1
1
1
Active level for TO0 pin
When toggle output
is specified
When toggle output
is specified
When PWM/PPG
output is specified
Low level
High level
Low level
High level
Active level for pin TO1
ENTO0
0
1
TO0 pin operation specification
Outputs ALV0
Enables pulse output
When PWM/PPG
output is specified
TO1 pin operation specification
Low level
Low level
High level
High level
Enables pulse output
Outputs ALV1
These bits control timer output operation(output of pins
TO2 and TO3) by the 8-bit timer/counter 2 (see
Fig. 7-70
).
Summary of Contents for PD78212
Page 11: ......
Page 53: ...24 ...
Page 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Page 65: ...36 ...
Page 83: ...54 ...
Page 135: ...106 ...
Page 271: ...242 ...
Page 405: ...376 ...
Page 417: ...388 ...
Page 423: ...394 ...
Page 449: ...420 ...
Page 457: ...428 ...
Page 471: ...442 ...
Page 487: ...458 ...