SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 151
Version 2.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
13.8.7 I2C n SCL High Time register (I2Cn_SCLHT) (n=0,1)
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
13.8.8 I2C n SCL Low Time register (I2Cn_SCLLT) (n=0,1)
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
13.8.9 I2C n Timeout Control register (I2Cn_TOCTRL) (n=0,1)
Address Offset: 0x2C
Timeout happens when Master/Slave SCL remained LOW for:
TO * 32 * I2C0_PCLK cycle.
When I2C timeout occurs, the
I2C transfer 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
13.8.10 I2C n Monitor Mode Control register (I2Cn_MMCTRL) (n=0,1)
Address Offset: 0x30
This register controls the Monitor mode which allows the I2C module to monitor traffic on the I2C bus without actually
participating in traffic or interfering with the I2C bus.
In Monitor mode, SDA output will be forced high to prevent the I2C module from outputting data of any kind (including
ACK) onto the I2C data bus. Depending on the state of the SCLOEN bit, the SCL output may be also forced high to
prevent the module from having control over the I2C clock line.
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...