7. I
2
C Interface > Events versus Interrupts
178
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
Figure 38: I
2
C Event and Interrupt Logic
shows the mapping of interrupts in the
to the events in the
Event and Event Snapshot Registers”
. Any asserted and enabled event sets the corresponding interrupt
status, and clearing an asserted interrupt status bit clears all the related and enabled events.
Table 22: I
2
C Interrupt to Events Mapping
Interrupt Status Bit
Events Related to Interrupt
OMB_EMPTY (Outgoing Mailbox Empty)
OMBR (Outgoing Mailbox Read Event)
IMB_FULL (Incoming Mailbox Full)
IMBW (Incoming Mailbox Write Event)
BL_FAIL (Boot Load Fail)
BLTO (Boot Load Timeout Error)
BLERR (Boot Load Error Event)
BLSZ (Boot Load Size Error Event)
BLNOD (Boot Load No Device Event)
Bit N
I2C_INT_STAT
Bit N
I2C_INT_ENABLE
Bit 0 Enable
Write 1 to bit N in I2C_EVENT to CLEAR
AND
Read I2C_INT_STAT to copy all asserted
OR
OR
Interrupt Signal to
Interrupt Controller
AND
AND
Bit 31 Enable
Bit N
I2C_NEW_EVENT
Bit N
I2C_EVENT_ENB
Write 1 to bit N in I2C_NEW_EVENT
Event Asserted by Logic SETS
Write 1 to bit N in I2C_EVENT to CLEAR
AND
Bit N
I2C_SNAP_EVENT
Read I2C_INT_STAT to CLEAR (after snapshot)
OR
new events to snapshot register
Write 1 to related status bit in I2C_INT_STAT to CLEAR
Bit N
I2C_EVENT
AND
OR
Other related
event(s)+
enb(s) if any
or to related bit in I2C_INT_SET to SET