NEC PD78214 User Manual

Page 195

Advertising
background image

166

µ

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.

Fig. 7-70 Format of Timer Output Control Register (TOC)

7

6

5

4

3

2

1

0

ENTO3

ALV2 ENTO1

ENTO0 ALV0

TOC

ALV3 ENTO2

ALV1

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

When toggle output
is specified

When toggle output
is specified

When PWM/PPG
output is specified

Low level

When PWM/PPG
output is specified

High level

Low level

Low level

Low level

High level

High level

TO2 pin operation specification

Outputs ALV2

Enables pulse output

Active level for TO3 pin

TO3 pin operation specification

Outputs ALV3

Enables pulse output

ALV2

ALV3

0

ENTO2

ENTO3

High level

1

1

0

1

0

0

1

Advertising
This manual is related to the following products: