MT7620 PROGRAMMING GUIDE
Integrated 802.11n MAC/BBP and 2.4 GHz RF/FEM Router-on-a-Chip
116. DATAIN: I
2
C Data In Register (offset: 0x0014)
I
2
C Data In
These bits store the 8-bits of data received from
the external I2C slave devices during a read
transaction. The DATARDY bit in the STATUS
register is set to 1 when data is valid in this
register.
117. STATUS: I
2
C Status Register (offset: 0x0018)
Start Overflow Error
0: Indicates firmware is writing to the STARTXFR
register when the BUSY bit is cleared.
1: Indicates an overflow error occurred. The
STARTXFR register is written and a transfer is
in progress. When this occurs, the write to
the STARTXFR register is ignored.
I
2
C Acknowledge Error Detect
0: Indicates firmware is writing to the STARTXFR
register.
1: Indicates the Host controller did not receive
a proper acknowledge from the I2C slave
device after the transmission of a device
address, address, or data out.
I
2
C Data Ready for Read
This bit indicates that the receive buffer
contains valid data.
0: Indicates firmware is reading the DATAIN
register.
1: Indicates data is received from an I2C slave
device and is transferred from the interface
shift register to the DATAIN register.
I
2
C Serial Data Out Register Empty
This bit indicates that the transmit data buffer
is empty.
0: Indicates the DATAOUT register is being
written to by software.
1: Indicates when transmit data is transferred
from the DATAOUT register to the interface
shift register. Firmware may write to the
DATAOUT register when this bit is 1.