SAB-C167CR-LM

Manufacturer Part NumberSAB-C167CR-LM
Description16-bit microcontroller with 2x2 KByte RAM
ManufacturerInfineon Technologies AG
SAB-C167CR-LM datasheet
 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Page 21
22
Page 22
23
Page 23
24
Page 24
25
Page 25
26
Page 26
27
Page 27
28
Page 28
29
Page 29
30
Page 30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Page 25/74:

Hardware Trap Summary

Download datasheet (2Mb)Embed
PrevNext
The C167CR 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.
Table 4
shows all of the possible exceptions or error conditions that can arise during run-
time:
Table 4

Hardware Trap Summary

Exception Condition
Reset Functions:
– Hardware Reset
– Software Reset
– W-dog 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
Data Sheet
Trap
Trap
Vector
Flag
Vector
Location
RESET
00’0000
RESET
00’0000
RESET
00’0000
NMI
NMITRAP
00’0008
STKOF
STOTRAP
00’0010
STKUF
STUTRAP
00’0018
UNDOPC
BTRAP
00’0028
PRTFLT
BTRAP
00’0028
ILLOPA
BTRAP
00’0028
ILLINA
BTRAP
00’0028
ILLBUS
BTRAP
00’0028
[2C
3C
Any
[00’0000
00’01FC
in steps
of 4
21
C167CR
C167SR
Trap
Trap
Number
Priority
00
III
H
H
00
III
H
H
00
III
H
H
02
II
H
H
04
II
H
H
06
II
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
[0B
H
H
]
0F
]
H
H
Any
Current
[00
CPU
H
H
]
7F
]
Priority
H
H
H
V3.2, 2001-07