27.12.2012 Views

Atmel AT89C51ID2 Data Sheet - Keil

Atmel AT89C51ID2 Data Sheet - Keil

Atmel AT89C51ID2 Data Sheet - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 65. Status in Master Transmitter Mode<br />

Status<br />

Code<br />

SSSTA<br />

08h<br />

10h<br />

18h<br />

20h<br />

28h<br />

30h<br />

38h<br />

Status of the Twowire<br />

Bus and Twowire<br />

Hardware<br />

A START condition has<br />

been transmitted<br />

A repeated START<br />

condition has been<br />

transmitted<br />

SLA+W has been<br />

transmitted; ACK has<br />

been received<br />

SLA+W has been<br />

transmitted; NOT ACK<br />

has been received<br />

<strong>Data</strong> byte has been<br />

transmitted; ACK has<br />

been received<br />

<strong>Data</strong> byte has been<br />

transmitted; NOT ACK<br />

has been received<br />

Arbitration lost in<br />

SLA+W or data bytes<br />

88 <strong>AT89C51ID2</strong><br />

To/From SSDAT<br />

Application software response<br />

To SSCON<br />

SSSTA SSSTO SSI SSAA<br />

Next Action Taken by Two-wire Hardware<br />

Write SLA+W X 0 0 X SLA+W will be transmitted.<br />

Write SLA+W<br />

Write SLA+R<br />

Write data byte<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

Write data byte<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

Write data byte<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

Write data byte<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

No SSDAT action<br />

X<br />

X<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

1<br />

0<br />

0<br />

0<br />

0<br />

1<br />

1<br />

0<br />

0<br />

1<br />

1<br />

0<br />

0<br />

1<br />

1<br />

0<br />

0<br />

1<br />

1<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

SLA+W will be transmitted.<br />

SLA+R will be transmitted.<br />

Logic will switch to master receiver mode<br />

<strong>Data</strong> byte will be transmitted.<br />

Repeated START will be transmitted.<br />

STOP condition will be transmitted and SSSTO flag<br />

will be reset.<br />

STOP condition followed by a START condition will<br />

be transmitted and SSSTO flag will be reset.<br />

<strong>Data</strong> byte will be transmitted.<br />

Repeated START will be transmitted.<br />

STOP condition will be transmitted and SSSTO flag<br />

will be reset.<br />

STOP condition followed by a START condition will<br />

be transmitted and SSSTO flag will be reset.<br />

<strong>Data</strong> byte will be transmitted.<br />

Repeated START will be transmitted.<br />

STOP condition will be transmitted and SSSTO flag<br />

will be reset.<br />

STOP condition followed by a START condition will<br />

be transmitted and SSSTO flag will be reset.<br />

<strong>Data</strong> byte will be transmitted.<br />

Repeated START will be transmitted.<br />

STOP condition will be transmitted and SSSTO flag<br />

will be reset.<br />

STOP condition followed by a START condition will<br />

be transmitted and SSSTO flag will be reset.<br />

Two-wire bus will be released and not addressed<br />

slave mode will be entered.<br />

A START condition will be transmitted when the bus<br />

becomes free.<br />

4289A–8051–09/03

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!