English
Language : 

LC78624E Datasheet, PDF (21/27 Pages) Sanyo Semicon Device – Compact Disc Player DSP
LC78624E
19. General-Purpose I/O Ports; Pin 24: CONT1, Pin 25: CONT2, Pin 26: CONT3, Pin 27: CONT4, Pin 28: CONT5
The LC78624E provides the five CONT1 to CONT5 I/O ports. These are all set to function as input pins after a reset.
Unused port pins should be either connected to ground or set to the output port function.
Code
$DD
$DB
$DC
Command
PORT READ
PORT I/O SET
PORT OUTPUT SET
RES = low
PORT I SET
Port data is read in by the PORT READ command in synchronization with the falling edge of the CQCK by the
SQOUT pin in the order CONT1 to CONT5. This command is a single-byte command.
A09921
Additionally, these ports can be set up individually to function as control output pins with the PORT I/O SET
command. The ports are selected using the lower 5 bits of the 1Byte data. The bits in the data correspond to CONT1
to CONT5 in order starting with the LSB of the 1Byte data. This command is a Two- byte command. (RWC set once)
1 Byte data + $DB
PORT I/O SET
dn =1 ... Sets CONTn to be an output pin
dn =0 ... Sets CONTn to be an input pin
n = 0 to 5
No. 5811-21/27