ST10F269Z2Qx
xxIC (yyyyh / zzh)
15 14 13 12 11 10
-
-
-
-
-
-
SFR Area
9
8
7
6
5
-
- xxIR xxIE
RW RW
Reset Value: - - 00h
4
3
2
1
0
ILVL
GLVL
RW
RW
Bit
GLVL
ILVL
xxIE
xxIR
Function
Group Level
Defines the internal order for simultaneous requests of the same priority.
3: Highest group priority
0: Lowest group priority
Interrupt Priority Level
Defines the priority level for the arbitration of requests.
Fh: Highest priority level
0h: Lowest priority level
Interrupt Enable Control Bit (individually enables/disables a specific source)
‘0’: Interrupt Request is disabled
‘1’: Interrupt Request is enabled
Interrupt Request Flag
‘0’: No request pending
‘1’: This source has raised an interrupt request
8.4 - Exception and Error Traps List
Table 8 shows all of the possible exceptions or error conditions that can arise during run-time:
Table 8 : Trap Priorities
Exception Condition
Trap
Flag
Trap
Vector
Vector
Location
Trap
Number
Trap*
Priority
Reset Functions:
Hardware Reset
Software Reset
Watchdog Timer Overflow
Class A Hardware Traps:
Non-Maskable Interrupt
Stack Overflow
Stack Underflow
Class B Hardware Traps:
Undefined Opcode
Protected Instruction Fault
Illegal word Operand Access
Illegal Instruction Access
Illegal External Bus Access
Reserved
Software Traps
TRAP Instruction
RESET
00’0000h
00h
RESET
00’0000h
00h
RESET
00’0000h
00h
NMI
NMITRAP
00’0008h
02h
STKOF STOTRAP
00’0010h
04h
STKUF STUTRAP
00’0018h
06h
UNDOPC
PRTFLT
ILLOPA
ILLINA
ILLBUS
BTRAP
BTRAP
BTRAP
BTRAP
BTRAP
00’0028h
00’0028h
00’0028h
00’0028h
00’0028h
[002Ch - 003Ch]
Any
0000h – 01FCh
in steps of 4h
0Ah
0Ah
0Ah
0Ah
0Ah
[0Bh - 0Fh]
Any
[00h - 7Fh]
III
III
III
II
II
II
I
I
I
I
I
Current
CPU
Priority
* - All the class B traps have the same trap number (and vector) and the same lower priority compare to the class A traps and to the resets.
- Each class A traps has a dedicated trap number (and vector). They are prioritized in the second priority level.
- The resets have the highest priority level and the same trap number.
- The PSW.ILVL CPU priority is forced to the highest level (15) when these exceptions are serviced.
47/161