SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 103
Version 1.5
Bit
Name
Description
Attribute
Reset
31:10
Reserved
R
0
9:0
ADDR[9:0]
The I2C slave address.
ADD[9:0] is valid when ADD_MODE = 1.
ADD[7:1] is valid when ADD_MODE = 0.
R/W
0
9.7.7 I2C n SCL High Time register (I2Cn_SCLHT) (n=0)
Address Offset: 0x20
Note: I2C Bit Frequency = I2Cn_PCLK / (I2CI2Cn_SCLLT)
Bit
Name
Description
Attribute
Reset
31:8
Reserved
R
0
7:0
SCLH[7:0]
Count for SCL High Period time.
SCL High Period Time = (SCLH+1)
* I2C0_PCLK cycle
R/W
0x04
9.7.8 I2C n SCL Low Time register (I2Cn_SCLLT) (n=0)
Address Offset: 0x24
Bit
Name
Description
Attribute
Reset
31:8
Reserved
R
0
7:0
SCLL[7:0]
Count for SCL Low Period time.
SCL Low Period Time = (SCLL+1) * I2C0_PCLK cycle.
R/W
0x04
9.7.9 I2C n Timeout Control register (I2Cn_TOCTRL) (n=0)
Address Offset: 0x2C
Timeout happens when Master/Slave SCL remained LOW for:
TO * 32 * I2C0_PCLK cycle.
When I2C timeout occurs, the I2C trans
fer will return to “IDLE” state and issue a TO interrupt to inform user. That
means SCL/SDA will be released by HW after timeout. User can issue a STOP after timeout interrupt occurred in
Master mode.
Time-out status will be cleared automatically by writing I2Cn_CTRL or I2Cn_TXDATA register.
Bit
Name
Description
Attribute
Reset
31:16
Reserved
R
0
15:0
TO[15:0]
Count for checking Timeout.
0: Disable Timeout checking.
N: Timeout period time = N*32*I2Cn_PCLK cycle.
R/W
0x0