Master Transmitter Mode - Philips P89LPC920 User Manual

80c51 8-bit microcontroller with two-clock core
Table of Contents

Advertisement

Philips Semiconductors
2
I
C INTERFACE
Table 2: Master Transmitter Mode
Status
code
Status of the
2
(I2STAT)
I
C-bus hardware
A START condition
08H
has been
transmitted
A repeat START
10H
condition has been
transmitted
SLA+W has been
transmitted; ACK
18h
has been received
SLA+W has been
20h
transmitted;NOT-
ACK has been
received
Data byte in I2DAT
has been
28h
transmitted; ACK
has been received
2003 Dec 8
Application software response
to/from I2DAT
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
to I2CON
STO
SI
AA
SLA+W will be transmitted; ACK bit will be
0
0
x
received
As above;SLA+W will be transmitted;
2
0
0
x
I
C switches to Master Receiver Mode
Data byte will be transmitted; ACK bit will be
0
0
x
received
0
0
x
Repeated START will be transmitted;
STOP condition will be transmitted;
1
0
x
STO flag will be reset
STOP condition followed by a START
1
0
x
condition will be transmitted; STO flag will be
reset.
Data byte will be transmitted;ACK bit will be
0
0
x
received
0
0
x
Repeated START will be transmitted;
STOP condition will be transmitted; STO flag
1
0
x
will be reset
STOP condition followed by a START
1
0
x
condition will be transmitted; STO flag will be
reset
Data byte will be transmitted;
0
0
x
ACK bit will be received
0
0
x
Repeated START will be transmitted;
STOP condition will be transmitted; STO flag
1
0
x
will be reset
STOP condition followed by a START
1
0
x
condition will be transmitted; STO flag will be
reset
72
User's Manual - Preliminary -
P89LPC920/921/922
2
Next action taken by I
C
hardware

Advertisement

Table of Contents
loading

This manual is also suitable for:

P89lpc921P89lpc922

Table of Contents