Philips P89LPC938 User Manual page 85

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 83:
Master Transmitter mode
Status code
Status of the I
(I2STAT)
hardware
08H
A START
condition has
been transmitted
10H
A repeat START
condition has
been transmitted
18h
SLA+W has been
transmitted; ACK
has been received
20h
SLA+W has been
transmitted;
NOT-ACK has
been received
28h
Data byte in I2DAT
has been
transmitted; ACK
has been received
User manual
2
C
Application software response
to/from I2DAT
to I2CON
STA
Load SLA+W
x
Load SLA+W or
x
Load SLA+R
Load data byte or 0
no I2DAT action or 1
no I2DAT action or 0
no I2DAT action
1
Load data byte or 0
no I2DAT action or 1
no I2DAT action or 0
no I2DAT action
1
Load data byte or 0
no I2DAT action or 1
no I2DAT action or 0
no I2DAT action
1
Rev. 03 — 7 June 2005
P89LPC938 User manual
Next action taken by I
hardware
STO
SI
AA
0
0
x
SLA+W will be transmitted;
ACK bit will be received
0
0
x
As above; SLA+W will be
transmitted; I
to Master Receiver Mode
0
0
x
Data byte will be transmitted;
ACK bit will be received
0
0
x
Repeated START will be
transmitted;
1
0
x
STOP condition will be
transmitted;
STO flag will be reset
1
0
x
STOP condition followed by a
START condition will be
transmitted; STO flag will be
reset.
0
0
x
Data byte will be transmitted;
ACK bit will be received
0
0
x
Repeated START will be
transmitted;
1
0
x
STOP condition will be
transmitted; STO flag will be
reset
1
0
x
STOP condition followed by a
START condition will be
transmitted; STO flag will be
reset
0
0
x
Data byte will be transmitted;
ACK bit will be received
0
0
x
Repeated START will be
transmitted;
1
0
x
STOP condition will be
transmitted; STO flag will be
reset
1
0
x
STOP condition followed by a
START condition will be
transmitted; STO flag will be
reset
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10119
2
C
2
C-bus switches
85 of 139

Advertisement

Table of Contents
loading

Table of Contents