NEC PD17062 Datasheet page 200

Mos integrated circuit 4-bit single-chip microcontroller containing pll frequency synthesizer and image display controller
Table of Contents

Advertisement

15.5.2 Example of Using Output Ports (P0C, P1A)
The output ports output the contents of the output latch from each pin.
Output data can be set by executing an instruction, such as the MOV instruction, to write the contents of
the port register for each pin.
To output a high level signal to each pin, write 1. To output a low level signal to each pin, write 0.
However, the P1A
, P1A
3
state (Hi-Z) when a high level signal is output.
Upon executing an instruction to read the port register, such as the SKT instruction, the contents of the
output latch are read.
15.5.3 State of Output Ports (P0C, P1A) at Reset
(1) At power-on reset
The contents of the output latch are output.
Since the contents of the output latch are "indefinite", "indefinite" values are output until the output latch
is initialized by the program.
(2) At CE reset
The contents of the output latch are output.
Since the contents of the output latch are retained, the output data remains as is upon a CE reset.
(3) At clock stop
The contents of the output latch are output.
Since the contents of the output latch are retained, the output data remains as is at clock stop.
Therefore, the output latch must be initialized by the program as necessary.
(4) During halt state
The contents of the output latch are output.
Since the contents of the output latch are retained, the output data remains as is during the halt state.
200
, P1A
, and P1A
pins, because of the N-ch open-drain output, are set to the floating
2
1
0
PD17062

Advertisement

Table of Contents
loading

Table of Contents