Interrupts And Low Power Modes; Concurrent & Nested Management; Figure 19. Concurrent Interrupt Management - STMicroelectronics ST72361 Auto Series Manual

8-bit mcu for automotive with flash or rom, 10-bit adc, 5 timers, spi, linsci
Table of Contents

Advertisement

ST72361xx-Auto
if the corresponding enable bit is set in the peripheral control register.
The general sequence for clearing an interrupt is based on an access to the status register
followed by a read or write to an associated register.
Note:
The clearing sequence resets the internal latch. A pending interrupt (that is, waiting for
being serviced) will therefore be lost if the clear sequence is executed.
6.3

Interrupts and low power modes

All interrupts allow the processor to exit the WAIT low power mode. On the contrary, only
external and other specified interrupts allow the processor to exit from the HALT modes (see
column "Exit from HALT" in "Interrupt Mapping" table). When several pending interrupts are
present while exiting HALT mode, the first one serviced can only be an interrupt with exit
from HALT mode capability and it is selected through the same decision process shown in
Figure
18.
Note:
If an interrupt, that is not able to Exit from HALT mode, is pending with the highest priority
when exiting HALT mode, this interrupt is serviced after the first one serviced.
6.4
Concurrent & nested management
The following
first is called concurrent mode and does not allow an interrupt to be interrupted, unlike the
nested mode in
lowest to the highest: MAIN, IT4, IT3, IT2, IT1, IT0, TLI. The software priority is given for
each interrupt.
Warning:

Figure 19. Concurrent interrupt management

Figure 19
and
Figure 20
Figure
20. The interrupt hardware priority is given in this order from the
A stack overflow may occur without notifying the software of
the failure.
IT1
IT2
RIM
MAIN
11 / 10
Doc ID 12468 Rev 3
show two different interrupt management modes. The
TLI
IT0
IT1
IT3
IT4
Interrupts
SOFTWARE
I1
PRIORITY
LEVEL
3
1 1
3
1 1
3
1 1
3
1 1
3
1 1
3
1 1
3/0
MAIN
10
I0
51/279

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST72361 Auto Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents