Datasheet

Table Of Contents
ADuC7060/ADuC7061 Data Sheet
Rev. D | Page 90 of 108
I
2
C Master Receive, I2CMRX, Register
Name: I2CMRX
Address: 0xFFFF0908
Default value: 0x00
Access: Read only
Function: This 8-bit MMR is the I
2
C master receive
register.
I
2
C Master Transmit, I2CMTX, Register
Name: I2CMTX
Address: 0xFFFF090C
Default value: 0x00
Access: Write only
Function: This 8-bit MMR is the I
2
C master transmit
register.
I
2
C Master Read Count, I2CMCNT0, Register
Name: I2CMCNT0
Address: 0xFFFF0910
Default value: 0x0000
Access: Read and write
Function: This 16-bit MMR holds the required number
of bytes when the master begins a read
sequence from a slave device.
Table 99. I2CMCNT0 MMR Bit Designations
Bit Name Description
15:9 Reserved.
8 I2CRECNT Set this bit if more than 256 bytes are
required from the slave.
Clear this bit when reading 256 bytes or
fewer.
7:0 I2CRCNT These eight bits hold the number of bytes
required during a slave read sequence,
minus 1. If only a single byte is required, set
these bits to 0.
I
2
C Master Current Read Count, I2CMCNT1, Register
Name: I2CMCNT1
Address: 0xFFFF0914
Default value: 0x00
Access: Read only
Function: This 8-bit MMR holds the number of bytes
received so far during a read sequence with a
slave device.
I
2
C Address 0, I2CADR0, Register
Name: I2CADR0
Address: 0xFFFF0918
Default value: 0x00
Access: Read and write
Function: This 8-bit MMR holds the 7-bit slave address
and the read/write bit when the master begins
communicating with a slave.
Table 100. I2CADR0 MMR in 7-Bit Address Mode
Bit Name Description
7:1 I2CADR These bits contain the 7-bit address of the
required slave device.
0 R/
W
Bit 0 is the read/write bit.
When this bit = 1, a read sequence is requested.
When this bit = 0, a write sequence is requested.
Table 101. I2CADR0 MMR in 10-Bit Address Mode
Bit Name Description
7:3 These bits must be set to [11110b] in 10-bit
address mode.
2:1
I2CMADR
These bits contain ADDR[9:8] in 10-bit
addressing mode.
0 R/
W
Read/write bit.
When this bit = 1, a read sequence is
requested.
When this bit = 0, a write sequence is
requested.