Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HCS12 Datasheet(PDF) 316 Page - Freescale Semiconductor, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 Datasheet(HTML) 316 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 312Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 313Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 314Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 315Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 316Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 317Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 318Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 319Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 320Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 316 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
316
Freescale Semiconductor
generally must be enabled by writing one or more bits in associated control
registers. There may be other interrupt-related control bits and flags, and
there may be specific register read-write sequences associated with
interrupt service. Refer to individual on-chip peripheral descriptions for
details.
7.5.3 Interrupt Recognition
Once enabled, an interrupt request can be recognized at any time after the
I mask bit is cleared. When an interrupt service request is recognized, the
CPU responds at the completion of the instruction being executed. Interrupt
latency varies according to the number of cycles required to complete the
current instruction. Because the fuzzy logic rule evaluation (REV), fuzzy
logic rule evaluation weighted (REVW), and weighted average (WAV)
instructions can take many cycles to complete, they are designed so that
they can be interrupted. Instruction execution resumes when interrupt
execution is complete. When the CPU begins to service an interrupt, the
instruction queue is refilled, a return address is calculated, and then the
return address and the contents of the CPU registers are stacked as shown
in Table 7-2.
After the CCR is stacked, the I bit (and the X bit, if an XIRQ interrupt service
request caused the interrupt) is set to prevent other interrupts from
disrupting the interrupt service routine. Execution continues at the address
pointed to by the vector for the highest-priority interrupt that was pending at
the beginning of the interrupt sequence. At the end of the interrupt service
routine, an RTI instruction restores context from the stacked registers, and
normal program execution resumes.
Table 7-2. Stacking Order on Entry to Interrupts
Memory Location
CPU Registers
SP + 7
RTNH : RTNL
SP + 5
YH : YL
SP + 3
XH : XL
SP + 1
B : A
SP
CCR



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