155
ABOV Semiconductor Co., Ltd.
I2CSR (I2C Status Register) : EAH
Initial value : 00H
This bit has different meaning depending on whether I2C is master or slave. When I2C
is a master, this bit represents whether it received ACK (address ACK) from slave.
No ACK is received (Master mode)
ACK is received (Master mode)
When I2C is a slave, this bit is used to indicated general call.
General call address is not detected (Slave mode)
General call address is detected (Slave mode)
This bit is set when 1-byte of data is transferred completely
1 byte of data is not completely transferred
1 byte of data is completely transferred
This bit is set when a STOP condition is detected.
No STOP condition is detected
STOP condition is detected
This bit is set when I2C is addressed by other master.
I2C is not selected as a slave
I2C is addressed by other master and acts as a slave
This bit represents the result of bus arbitration in master mode.
I2C maintains bus mastership
I2C has lost bus mastership during arbitration process
This bit reflects bus status.
I2C bus is idle, so a master can issue a START condition
This bit is used to indicate whether I2C is transmitter or receiver.
This bit shows the state of ACK signal
ACK is received at ninth SCL period
NOTE)
1. The GCALL, TEND, STOPD, SSEL, and MLOST bits can be source of interrupt.
2. When an I2C interrupt occurs except for STOP mode, the SCL line is hold low. To
release SCL, Clear to “0b” all interrupt source bits in I2CSR register.
3. The GCALL, TEND, STOPD, SSEL, MLOST, and RXACK bits are cleared when “0b” is
written to the corresponding bit.