103
Chapter 6 Real-Time Output Function
6
Fig. 6-7 Contents of the Control Register for the Real-Time Output Function
76543210
00000001
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