SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 119
Version 1.9
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
11.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
11.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
11.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.
Note: The SCLOEN
and MATCH_ALL bits have no effect if MMEN bit is ‘0’ (i.e. if the module is NOT in
monitor mode).
Bit
Name
Description
Attribute
Reset
31:8
Reserved
R
0
2
MATCH_ALL
Match address selection
0: Interrupt will only be generated when the address matches one of the
values in I2Cn_SLVADDR0~3 register.
1: If I2C is in monitor mode, an interrupt will be generated on ANY address
received. This will enable the part to monitor all traffic on the bus.
R/W
0
1
SCLOEN
SCL output enable bit.
0: SCL output will be forced high.
1: I2C module may act as a slave peripheral just like in normal operation,
the I2C holds the clock line low until it has had time to respond to an I2C
R/W
0
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...