SAB-C165-RM Siemens Semiconductor Group, SAB-C165-RM Datasheet - Page 16

no-image

SAB-C165-RM

Manufacturer Part Number
SAB-C165-RM
Description
C16x-Family of High-Performance CMOS 16-Bit Microcontrollers
Manufacturer
Siemens Semiconductor Group
Datasheet
The C165 also provides an excellent mechanism to identify and to process exceptions or error
conditions that arise during run-time, so-called ‘Hardware Traps’. Hardware traps cause immediate
non-maskable system reaction which is similar to a standard interrupt service (branching to a
dedicated vector table location). The occurrence of a hardware trap is additionally signified by an
individual bit in the trap flag register (TFR). Except when another higher prioritized trap service is in
progress, a hardware trap will interrupt any actual program execution. In turn, hardware trap
services can normally not be interrupted by standard or PEC interrupts.
The following table shows all of the possible exceptions or error conditions that can arise during run-
time:
Exception Condition
Reset Functions:
Class A Hardware Traps:
Class B Hardware Traps:
Reserved
Software Traps
Semiconductor Group
Hardware Reset
Software Reset
Watchdog Timer Overflow
Non-Maskable Interrupt
Stack Overflow
Stack Underflow
Undefined Opcode
Protected Instruction
Fault
Illegal Word Operand
Access
Illegal Instruction Access
Illegal External Bus
Access
TRAP Instruction
Trap
Flag
NMI
STKOF
STKUF
UNDOPC
PRTFLT
ILLOPA
ILLINA
ILLBUS
Trap
Vector
RESET
RESET
RESET
NMITRAP
STOTRAP
STUTRAP
BTRAP
BTRAP
BTRAP
BTRAP
BTRAP
15
Vector
Location
00’0000
00’0000
00’0000
00’0008
00’0010
00’0018
00’0028
00’0028
00’0028
00’0028
00’0028
[2C
Any
[00’0000
00’01FC
in steps
of 4
H
H
– 3C
H
H
H
H
H
H
H
H
H
H
H
H
H
]
H
] [0B
Trap
Number
00
00
00
02
04
06
0A
0A
0A
0A
0A
Any
[00
H
H
H
H
H
H
H
H
H
H
H
H
H
– 7F
– 0F
H
H
]
]
Trap
Priority
III
III
III
II
II
II
I
I
I
I
I
Current
CPU
Priority
C165

Related parts for SAB-C165-RM