beautypg.com

Chapter 6 real-time output function – NEC PD78214 User Manual

Page 132

background image

103

Chapter 6 Real-Time Output Function

6

Fig. 6-7 Contents of the Control Register for the Real-Time Output Function

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

1

RTPC

Uses pins P00 to P03 as real-time output ports

Disables data transfer by INTP0 from the buffer
register to the output latch

Uses pins P04 to P07 as ordinary output ports

Selects a 4-bit separate real-time output port

Fig. 6-8 Real-Time Output Function Setting Procedure

INTC10 interrupt

Real-time output port

Set an initial value in
the P0 output latch

Set the value to be output next
in the P0L buffer register

Set the real-time output
port control register

Set the 8-bit timer/
counter 1

Timer start

This manual is related to the following products: