Philips Semiconductors Product data
P89C660/P89C662/P89C664/
P89C668
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
2002 Oct 28
27
Table 6. Slave Receiver mode
APPLICATION SOFTWARE RESPONSE
CODE
I
2
C BUS AND
TO S1CON
NEXT ACTION TAKEN BY SIO1 HARDWARE
(S1STA) SIO1 HARDWARE
STA STO SI AA
60H Own SLA+W has
been received; ACK
No S1DAT action or X 0 0 0 Data byte will be received and NOT ACK will be
returned
has been returned
no S1DAT action X 0 0 1 Data byte will be received and ACK will be returned
68H Arbitration lost in
SLA+R/W as master;
Own SLA+W has
No S1DAT action or X 0 0 0 Data byte will be received and NOT ACK will be
returned
been received, ACK
returned
no S1DAT action X 0 0 1 Data byte will be received and ACK will be returned
70H General call address
(00H) has been
;
No S1DAT action or X 0 0 0 Data byte will be received and NOT ACK will be
returned
been returned
no S1DAT action X 0 0 1 Data byte will be received and ACK will be returned
78H Arbitration lost in
SLA+R/W as master;
General call address
No S1DAT action or X 0 0 0 Data byte will be received and NOT ACK will be
returned
,
ACK has been
returned
no S1DAT action X 0 0 1 Data byte will be received and ACK will be returned
80H Previously addressed
with own SLV
address; DATA has
Read data byte or X 0 0 0 Data byte will be received and NOT ACK will be
returned
been received; ACK
has been returned
read data byte X 0 0 1 Data byte will be received and ACK will be returned
88H Previously addressed
with own SLA; DATA
Read data byte or 0 0 0 0 Switched to not addressed SLV mode; no recognition
of own SLA or General call address
byte has been
received; NOT ACK
has been returned
read data byte or 0 0 0 1 Switched to not addressed SLV mode; Own SLA will
be recognized; General call address will be
recognized if S1ADR.0 = logic 1
read data byte or 1 0 0 0 Switched to not addressed SLV mode; no recognition
of own SLA or General call address. A START
condition will be transmitted when the bus becomes
free
read data byte 1 0 0 1 Switched to not addressed SLV mode; Own SLA will
be recognized; General call address will be
recognized if S1ADR.0 = logic 1. A START condition
will be transmitted when the bus becomes free.
90H Previously addressed
with General Call;
DATA byte has been
Read data byte or X 0 0 0 Data byte will be received and NOT ACK will be
returned
received; ACK has
been returned
read data byte X 0 0 1 Data byte will be received and ACK will be returned
98H Previously addressed
with General Call;
Read data byte or 0 0 0 0 Switched to not addressed SLV mode; no recognition
of own SLA or General call address
DATA byte has been
received; NOT ACK
has been returned
read data byte or 0 0 0 1 Switched to not addressed SLV mode; Own SLA will
be recognized; General call address will be
recognized if S1ADR.0 = logic 1
read data byte or 1 0 0 0 Switched to not addressed SLV mode; no recognition
of own SLA or General call address. A START
condition will be transmitted when the bus becomes
free
read data byte 1 0 0 1 Switched to not addressed SLV mode; Own SLA will
be recognized; General call address will be
recognized if S1ADR.0 = logic 1. A START condition
will be transmitted when the bus becomes free.