Electronic Components Datasheet Search
  English  ▼

X  

AT75C Datasheet(PDF) 27 Page - ATMEL Corporation

Part # AT75C
Description  Smart Internet Appliance Processor (SIAP)
PDF  171 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT75C Datasheet(HTML) 27 Page - ATMEL Corporation

Back Button AT75C Datasheet HTML 23Page - ATMEL Corporation AT75C Datasheet HTML 24Page - ATMEL Corporation AT75C Datasheet HTML 25Page - ATMEL Corporation AT75C Datasheet HTML 26Page - ATMEL Corporation AT75C Datasheet HTML 27Page - ATMEL Corporation AT75C Datasheet HTML 28Page - ATMEL Corporation AT75C Datasheet HTML 29Page - ATMEL Corporation AT75C Datasheet HTML 30Page - ATMEL Corporation AT75C Datasheet HTML 31Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 171 page
background image
27
AT75C DSP Subsystem
1368C–INTAP–08/02
Interrupt Context
Switching
When a program is interrupted by an interrupt service routine, it is necessary to save
those registers used by the service routine so that the interrupted program resumes
execution correctly. To reduce the involved overhead, a context-switching mechanism
can be used for each of the following interrupts: NMI, INT0, INT1 and/or INT2. Whether
a specific interrupt should use the context-switching mechanism is determined by the
corresponding bit in the internal configuration register (ICR). Refer to the comments on
ICR contents on page 29 and to the MOV instruction in “Instruction Set” on page 31.
When an interrupt that uses context switching is accepted, context switching occurs
automatically without any impact on interrupt latency. When returning from this interrupt
service routine, context switching should be used to restore the original register values
automatically. Refer to the RETI and CNTX instructions in “Instruction Set” on page 31.
Context switching involves three parallel mechanisms: push/pop to/from dedicated
shadow bits, swap of a dedicated page register and swap between two specific
accumulators.
The following register bits are saved automatically as shadow bits, i.e., one stack level
register: ST0[11:2], ST0[0], ST1[11:10], ST2[7:0]. This means that the data bits can be
pushed to or popped from the shadow registers.
The page bits ST1[7:0] are swapped to an alternative register. This means that when an
interrupt is accepted, the current page is saved into the alternative register while the
previous (stored) value of the page is restored so that it can be used without additional
initialization. When returning from the interrupt, the interrupt page is saved again into the
alternative register for the next interrupt, and the page used before entering the interrupt
service routine is swapped back to ST1.
The A1- and B1-accumulators are automatically swapped. Therefore, it is very conve-
nient to use B1 to store data needed for interrupt routines. This data will be transferred
automatically into the A1-accumulator on interrupt service for interrupts using the con-
text-switching mechanism and transferred back while returning from the interrupt
service routine.
A context-switching activation instruction is also available. For details refer to the CNTX
instruction in “Instruction Set” on page 31.



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