Philips P89LPC938 User Manual page 89

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 85:
Slave Receiver mode
Status code
Status of the I
(I2STAT)
hardware
A0H
A STOP condition
or repeated
START condition
has been received
while still
addressed as
SLA/REC or
SLA/TRX
Table 86:
Slave Transmitter mode
Status code
Status of the I
(I2STAT)
hardware
A8h
Own SLA+R has
been received;
ACK has been
returned
B0h
Arbitration lost in
SLA+R/W as
master; Own
SLA+R has been
received, ACK
has been returned
B8H
Data byte in
I2DAT has been
transmitted; ACK
has been received
User manual
...continued
2
C
Application software response
to/from I2DAT
to I2CON
STA
No I2DAT action
0
no I2DAT action
0
no I2DAT action
1
no I2DAT action
1
2
C
Application software response
to/from I2DAT
to I2CON
STA
Load data byte or x
load data byte
x
Load data byte or x
load data byte
x
Load data byte or x
load data byte
x
Rev. 03 — 7 June 2005
Next action taken by I
STO SI
AA
0
0
0
Switched to not addressed SLA
mode; no recognition of own SLA or
General call address
0
0
1
Switched to not addressed SLA
mode; Own slave address will be
recognized; General call address
will be recognized if I2ADR.0 = 1.
0
0
0
Switched to not addressed SLA
mode; no recognition of own SLA or
General call address. A START
condition will be transmitted when
the bus becomes free.
0
0
1
Switched to not addressed SLA
mode; Own slave address will be
recognized; General call address
will be recognized if I2ADR.0 = 1. A
START condition will be transmitted
when the bus becomes free.
Next action taken by I
hardware
STO SI
AA
0
0
0
Last data byte will be transmitted
and ACK bit will be received
0
0
1
Data byte will be transmitted; ACK
will be received
0
0
0
Last data byte will be transmitted
and ACK bit will be received
0
0
1
Data byte will be transmitted; ACK
bit will be received
0
0
0
Last data byte will be transmitted
and ACK bit will be received
0
0
1
Data byte will be transmitted; ACK
will be received
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10119
P89LPC938 User manual
2
C hardware
2
C
89 of 139

Advertisement

Table of Contents
loading

Table of Contents