Electronic Components Datasheet Search
  English  ▼

X  

XC2000 Datasheet(PDF) 264 Page - Infineon Technologies AG

Part # XC2000
Description  16/32-Bit Single-Chip Microcontroller with 32-Bit Performance Volume 1 (of 2): Peripheral Units
PDF  647 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

XC2000 Datasheet(HTML) 264 Page - Infineon Technologies AG

Back Button XC2000 Datasheet HTML 260Page - Infineon Technologies AG XC2000 Datasheet HTML 261Page - Infineon Technologies AG XC2000 Datasheet HTML 262Page - Infineon Technologies AG XC2000 Datasheet HTML 263Page - Infineon Technologies AG XC2000 Datasheet HTML 264Page - Infineon Technologies AG XC2000 Datasheet HTML 265Page - Infineon Technologies AG XC2000 Datasheet HTML 266Page - Infineon Technologies AG XC2000 Datasheet HTML 267Page - Infineon Technologies AG XC2000 Datasheet HTML 268Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 264 / 647 page
background image
XC2000 Derivatives
System Units (Vol. 1 of 2)
Interrupt and Trap Functions
Preliminary
User’s Manual
5-46
V1.0, 2007-06
ICU_X2K, V2.2
System Request 0 Trap (A)
Whenever a high-to-low transition on the respective CPU-input is detected (i.e. the
defined condition has become true), the SR0 flag in register TFR is set and the CPU will
enter the SR0 trap routine.
Stack Overflow Trap (A)
Whenever the stack pointer is implicitly decremented and the stack pointer is equal to
the value in the stack overflow register STKOV, the STKOF flag in register TFR is set
and the CPU will enter the stack overflow trap routine.
For recovery from stack overflow, it must be ensured that there is enough excess space
on the stack to save the current system state twice (PSW, IP, in segmented mode also
CSP). Otherwise, a system reset should be generated.
Stack Underflow Trap (A)
Whenever the stack pointer is implicitly incremented and the stack pointer is equal to the
value in the stack underflow register STKUN, the STKUF flag is set in register TFR and
the CPU will enter the stack underflow trap routine.
Software Break Trap (A)
When the instruction currently being executed by the CPU is a SBRK instruction, the
SOFTBRK flag is set in register TFR and the CPU enters the software break debug
routine. The flag generation of the software break instruction can be disabled by the On-
chip Emulation Module. In this case, the instruction only breaks the instruction flow and
signals this event to the debugger, the flag is not set and the trap will not be executed.
System Request 1 Trap (B)
Whenever a high-to-low transition on the respective CPU-input is detected (i.e. the
defined condition has become true), the SR1 flag in register TFR is set and the CPU will
enter the SR1 trap routine.
Undefined Opcode Trap (B)
When the instruction currently decoded by the CPU does not contain a valid XC2000
opcode, the UNDOPC flag is set in register TFR and the CPU enters the undefined
opcode trap routine. The instruction that causes the undefined opcode trap is executed
as a NOP.
This can be used to emulate unimplemented instructions. The trap service routine can
examine the faulting instruction to decode operands for unimplemented opcodes based
on the stacked IP. In order to resume processing, the stacked IP value must be
incremented by the size of the undefined instruction, which is determined by the user,
before a RETI instruction is executed.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com