Inter-integrated Circuit (I2C) Interface
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
261
13.3
Registers
This section describes the programmable registers of the I
2
C.
13.3.1
Register Memory Map
Table 13-2 lists the details of I
2
C register memory map. The base address of I
2
C0 is 0x4800_C000, and the size is 1K.
Note
: A read operation to an address location that contains unused bits results in a 0 value being returned on each of the unused bits.
Table 13-2 I
2
C Memory map
Name
Address Offset
Access
Description
0x00
R/W
I
2
C Control Register
0x04
R/W
I
2
C Target Address Register
0x08
R/W
I
2
C Slave Address Register
0x0C
R/W
I
2
C High Speed Master Mode Code Address Register
0x10
R/W
I
2
C Rx/Tx Data Buffer and Command Register
0x14
R/W
Standard Speed I
2
C Clock SCL High Count Register
0x18
R/W
Standard Speed I
2
C Clock SCL Low Count Register
0x1C
R/W
Fast Speed I
2
C Clock SCL High Count Register
0x20
R/W
Fast Speed I
2
C Clock SCL Low Count Register
0x24
R/W
High Speed I
2
C Clock SCL High Count Register
0x28
R/W
High Speed I
2
C Clock SCL Low Count Register
0x2C
R
I
2
C Interrupt Status Register
0x30
R/W
I
2
C Interrupt Mask Register
0x34
R
I
2
C Raw Interrupt Status Register
0x38
R/W
I
2
C Receive FIFO Threshold Register
0x3C
R/W
I
2
C Transmit FIFO Threshold Register
0x40
R
Clear Combined and Individual Interrupt Register
0x44
R
Clear RX_UNDER Interrupt Register
0x48
R
Clear RX_OVER Interrupt Register
0x4C
R
Clear TX_OVER Interrupt Register
0x50
R
Clear RD_REQ Interrupt Register
0x54
R
Clear TX_ABRT Interrupt Register
0x58
R
Clear RX_ DONE Interrupt Register
0x5C
R
Clear ACTIVITY Interrupt Register
0x60
R
Clear STOP_DET Interrupt Register
0x64
R
Clear START_DET Interrupt Register
0x68
R
Clear GEN_CALL Interrupt Register
0x6C
R/W
I
2
C Enable Register
0x70
R
I
2
C Status Register
0x74
R
I
2
C Transmit FIFO Level Register
0x78
R
I
2
C Receive FIFO Level Register
0x7C
R/W
SDA Hold Time Length Register
0x80
R
I
2
C Transmit Abort Status Register
0x84
R/W
Generate Slave Data NACK Register
0x88
R/W
DMA Control Register
0x8C
R/W
DMA Transmit Data Level Register
0x90
R/W
DMA Receive Data Level Register
0x94
R/W
I
2
C SDA Setup Register
0x98
R/W
I
2
C ACK General Call Register
0x9C
R
I
2
C Enable Status Register
0xA0
R/W
I
2
C DMA Command Register
The document authorized to
SZ99iot
2019-05-15 10:08:03