RM0082
LS_I2C controller
Doc ID 018672 Rev 1
631/844
28.6.14 IC_INTR_STAT
register(0x02C)
The IC_INTR_STAT is a RO register which indicates the interrupt status of the I
2
C controller.
As bit assignments show in
, each bit in this register is associated to an interrupt
), and if a bit is set it indicates that relevant interrupt has been issued.
These bits are then cleared by reading the corresponding interrupt clear 1 bit register
(
).
Each bit has a corresponding mask bit in the IC_INTR_MASK register (
The raw version of these bits (prior to masking) is available in the IC_RAW_INTR_STAT
register (
).
Table 557.
IC_HS_SCL_LCNT register bit assignments
Bit
Name
Reset
value
Description
[15:00]
IC_HS_SCL_LCNT
16'h00
1b
SCL clock low period count for high speed.
This 16 bit field states the SCL clock low period
count for high speed. The minimum valid value is
8, and hardware prevents that a value less than
this minimum will be written (setting 8 if
attempted).
Table 558.
IC_HS_SCL_LCNT sample calculations
I
2
C data rate -
HS (Kbps)
SCL clock
frequency
(MHz)
SCL low time
required min
(µs)
I
2
C bus
loading
(pF)
IC_HS_SCL_LCNT
(hex/decimal)
SCL low time
actual
(µs)
3400
100
160
100
16‘h0010/’d16
160
3400
125
160
100
16‘h0014/’d20
160
3400
1000
160
100
16‘h00A0/’d160
160
3400
100
320
400
16‘h0020/’d32
320
3400
125
320
400
16‘h0028/’d40
320
3400
1000
320
400
16‘h0140/’d320
320
Table 559.
IC_INTR_STAT register bit assignments
Bit
Name
Type
Reset
value
Description
[15:12]
Reserved
-
Read: undefined.