Maxq7667 user’s guide – Maxim Integrated MAXQ7667 User Manual
Page 25
__________________________________________________________________________________________________________
2-20
MAXQ7667 User’s Guide
SYSTEM MODULES
MODULE 0
WDIF
(WATCHDOG)
EWDI
(LOCAL ENABLE)
IM1
(MODULE 1 ENABLE)
EIF0.0
EIE0.0–EIE0.5
(LOCAL ENABLES)
EIF0.1
EIF0.5
IM0
(MODULE 0 ENABLE)
IMS
(SYSTEM ENABLE)
MODULE 2
ET2L, ET2
(LOCAL ENABLES)
IM2
(MODULE 2 ENABLE)
IGE
(GLOBAL ENABLE)
NOTE: ONLY A FEW OF THE MANY POSSIBLE MAXQ PERIPHERAL MODULES ARE SHOWN IN THIS INTERRUPT HIERARCHY FIGURE.
INS
(INTERRUPT IN SERVICE)
INTERRUPT
VECTOR
EIF1.0
EIE1.0–EIE1.7
EIF1.1
EIF1.7
TC2L
TF2L
TCC2
TF2
MODULE 1
ESPII
(LOCAL ENABLE)
SPIC
SALIE
(LOCAL ENABLE)
SALMF
ROVR
WCOL
MODF
Figure 2-7. MAXQ7667 Interrupt Source Hierarchy Example
3) The local interrupt enable bit for that specific interrupt source must be set to 1.
4) The interrupt flag for that interrupt source must be set to 1. Typically, this is done by hardware when the condition that requires
interrupt service occurs.
5) The Interrupt In Service (INS) bit must be cleared to 0. This bit is set automatically upon vectoring to the interrupt handler
address and cleared automatically upon exit (RETI/POPI), so the only reason to clear this bit manually (inside the interrupt han-
dler routine) is allow nested interrupt handling.