ST92F124R1 STMicroelectronics, ST92F124R1 Datasheet - Page 99
ST92F124R1
Manufacturer Part Number
ST92F124R1
Description
8/16-bit Single Voltage Flash Mcu Family With Ram, E?? Emulated Eeprom , Can 2.0b And J1850 Blpd
Manufacturer
STMicroelectronics
Datasheet
1.ST92F124R1.pdf
(429 pages)
- Current page: 99 of 429
- Download datasheet (8Mb)
ARBITRATION MODES (Cont’d)
End of Interrupt Routine
The iret Interrupt Return instruction executes
the following steps:
– The Flag register is popped from system stack.
– If ENCSR is set, CSR is popped from system
– The PC high byte is popped from system stack.
– The PC low byte is popped from system stack.
– All unmasked Interrupts are enabled by setting
– The priority level of the interrupted routine is
Figure 49. Complex Example of a Sequence of Interrupt Requests with:
- Nested mode
- IEN set to 1 during the interrupt routine execution
Priority Level of
Interrupt Request
0
1
2
3
4
5
6
7
stack.
the CICR.IEN bit.
popped from the special register (NICR) and
copied into CPL.
CPL is set to 7
INT5
MAIN
ei
CPL=5
INT 5
INT2
INT3
INT4
ei
CPL=2
INT0
INT 2
ei
CPL2 < CPL4:
Serviced just after ei
CPL=0
INT 0
CPL=2
INT 2
ei
CPL6 > CPL3:
INT6 pending
CPL=3
INT 3
INT6
CPL=4
INT 4
INT2
ei
– If ENCSR is reset, CSR is used instead of ISR,
The suspended routine thus resumes at the inter-
rupted instruction.
Figure 48
if the ei instruction is not used in the interrupt
service routines, nested and concurrent modes
are equivalent.
Figure 49
showing how nested mode allows nested interrupt
processing (enabled inside the interrupt service
routinesi using the ei instruction) according to
their priority level.
CPL=2
INT 2
unless the program returns to another nested
routine.
ST92F124/F150/F250 - INTERRUPTS
CPL=4
INT 4
contains a simple example, showing that
contains a more complex example
CPL=5
INT 5
INTERRUPT 0 HAS PRIORITY LEVEL 0
INTERRUPT 2 HAS PRIORITY LEVEL 2
INTERRUPT 3 HAS PRIORITY LEVEL 3
INTERRUPT 4 HAS PRIORITY LEVEL 4
INTERRUPT 5 HAS PRIORITY LEVEL 5
INTERRUPT 6 HAS PRIORITY LEVEL 6
CPL=6
INT 6
CPL=7
MAIN
99/429
9
Related parts for ST92F124R1
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Search -----> STE16N100
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Search ---> STE53NA50
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
NPN Transistor Power Module
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet: