SAF-C161S-L25M Infineon Technologies AG, SAF-C161S-L25M Datasheet - Page 21
![no-image](/images/manufacturer_photos/0/3/328/infineon_technologies_ag_sml.jpg)
SAF-C161S-L25M
Manufacturer Part Number
SAF-C161S-L25M
Description
16-Bit Single-Chip Microcontroller
Manufacturer
Infineon Technologies AG
Datasheet
1.SAF-C161S-L25M.pdf
(75 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
SAF-C161S-L25M AA
Manufacturer:
Infineon
Quantity:
2 942
Company:
Part Number:
SAF-C161S-L25M AA
Manufacturer:
Infineon Technologies
Quantity:
10 000
The C161S 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
time:
Table 4
Exception Condition
Reset Functions:
•
•
•
Class A Hardware Traps:
•
•
•
Class B Hardware Traps:
•
•
•
•
•
Reserved
Software Traps
•
Data Sheet
Hardware Reset
Software Reset
W-dog 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
shows all of the possible exceptions or error conditions that can arise during run-
Hardware Trap Summary
Trap
Flag
–
NMI
STKOF
STKUF
UNDOPC
PRTFLT
ILLOPA
ILLINA
ILLBUS
–
–
Trap
Vector
RESET
RESET
RESET
NMITRAP
STOTRAP
STUTRAP
BTRAP
BTRAP
BTRAP
BTRAP
BTRAP
–
–
17
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
3C
Any
[00’0000
00’01FC
in steps of
4
H
H
H
]
–
H
H
H
H
H
H
H
H
H
H
H
H
H
Functional Description
]
–
Trap
Number
00
00
00
02
04
06
0A
0A
0A
0A
0A
[0B
0F
Any
[00
7F
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
]
]
–
–
V1.0, 2003-11
Trap
Priority
III
III
III
II
II
II
I
I
I
I
I
–
Current
CPU
Priority
C161S