English
Language : 

EZ80F91MCU Datasheet, PDF (255/396 Pages) Zilog, Inc. – eZ80Acclaim-TM Flash Microcontrollers
eZ80F91 MCU
Product Specification
236
I2C Status Register
The I2C_SR register is a Read Only register that contains a 5-bit status code in
the five most-significant bits; the three least-significant bits are always 0. The
Read Only I2C_SR registers share the same I/O addresses as the Write Only
I2C_CCR registers. See Table 128.
Table 128. I2C Status Registers
(I2C_SR = 00CCh)
Bit
Reset
CPU Access
Note: R = Read only.
7
6
5
4
3
2
1
0
1
1
1
1
1
0
0
0
R
R
R
R
R
R
R
R
Bit
Position
[7:3]
STAT
[2:0]
Value
00000–
11111
000
Description
5-bit I2C status code.
Reserved.
There are 29 possible status codes, as listed in Table 129. When the I2C_SR reg-
ister contains the status code F8h, no relevant status information is available, no
interrupt is generated, and the IFLG bit in the I2C_CTL register is not set. All other
status codes correspond to a defined state of the I2C.
When each of these states is entered, the corresponding status code appears in
this register and the IFLG bit in the I2C_CTL register is set to 1. When the IFLG bit
is cleared, the status code returns to F8h.
Table 129. I2C Status Codes
Code
00h
08h
10h
18h
20h
28h
30h
Status
Bus error.
START condition transmitted.
Repeated START condition transmitted.
Address and Write bit transmitted, ACK received.
Address and Write bit transmitted, ACK not received.
Data byte transmitted in MASTER mode, ACK received.
Data byte transmitted in MASTER mode, ACK not received.
PS019209-0504
PRELIMINARY
I2C Serial I/O Interface