![FTDI FT51A Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158044.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
43
Copyright © 2015 Future Technology Devices International Limited
2.5.3
I2CMSR
The I
2
C Master Status register is accessed only during a read operation.
Bit
Position
Bit Field Name
Type
Reset
Description
7
Reserved
RFU
0
Reserved
6
BUS_BUSY
R
0
Indicates that the Bus is Busy, and
access is not possible; set/reset by
START and STOP conditions
5
IDLE
R
0
Indicates that the I
2
C Bus controller is
in the idle state
4
ARB_LOST
R
0
Indicates that due to the last
operation, the I
2
C Bus controller lost
the arbitration
3
DATA_ACK
R
0
Indicates that due to the last
operation the transmitted data was
not acknowledged
2
ADDR_ACK
R
0
Indicates that due to the last
operation the slave address was not
acknowledged
1
ERROR
R
0
Indicates that due to the last
operation an error occurred: slave
address was not acknowledged,
transmitted data was not
acknowledged, or the I
2
C Bus
controller lost the arbitration
0
BUSY
R
0
Indicates that the I
2
C Bus controller
receiving, or transmitting data on the
bus, and other bits of the Status
register are not valid
Table 2.47 I
2
C Master Status Register
2.5.4
I2CMBUF
Bit
Position
Bit Field Name
Type
Reset
Description
7..0
data
R/W
0
Data register.
Table 2.48 I
2
C Master Data Buffer Register
The
I2CMBUF
register when read contains the data received during the last read operation. When
written the data in the register will be transmitted on the next send operation.