Professional Documents
Culture Documents
PPI
A1
A0
RD
WR
CS
OPERATION
0 0 1
0 1 0
0 0 0
1 1 1
0 0 0
input (read) opearation port A to data bus port B to data bus port C to data bus
output (write) opearation data bus to port A data bus to port B data bus to port C data bus to control register disable function data bus tri-stated illegal conditon data bus tri-stated
0 0 1 1 x 1 x
0 1 0 1 x 1 x
1 1 1 1 x 0 1
0 0 0 0 x 1 1
0 0 0 0 1 0 0
GROUP A CONTROL
PA7-PA0
PA
PC7-PC4
RD WR A0 A1 RESET CS
GROUP B CONTROL
X
BIT SET /RESET 1-SET 0-RESET Bit select 0 1 2 3 4 5 6 7 0 1 0 1 0 1 0 1 B0 0 0 1 1 0 0 1 1 B1 0 0 0 0 1 1 1 1 B2 BIT SET/RESET FLAG 0=ACTIVE
DONT CARE
GROUP B
PORT-C(LOWER) 1-INPUT 0-OUTPUT PORT B 1-INPUT 0-OUTPUT MODE SELECTION 0-MODE 0 1-MODE 1
GROUP B
PORT-C(UPPER) 1-INPUT 0-OUTPUT PORT A 1-INPUT 0-OUTPUT MODE SET FLAG 1=ACTIVE MODE SELECTION 00-MODE 0 01-MODE 1 1X-MODE2