Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

M68HC12B Datasheet(PDF) 73 Page - Freescale Semiconductor, Inc

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

M68HC12B Datasheet(HTML) 73 Page - Freescale Semiconductor, Inc

Back Button M68HC12B Datasheet HTML 69Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 70Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 71Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 72Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 73Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 74Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 75Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 76Page - Freescale Semiconductor, Inc M68HC12B Datasheet HTML 77Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 334 page
background image
Interrupt Recognition
M68HC12B Family Data Sheet, Rev. 9.1
Freescale Semiconductor
73
4.7.7 Other Resources
The timer, serial communications interface (SCI), serial peripheral interface (SPI), byte data link controller
(BDLC), pulse-width modulator (PWM), analog-to-digital converter (ATD), and MSCAN are off after reset.
4.8 Interrupt Recognition
Once enabled, an interrupt request can be recognized at any time after the I bit in the CCR is cleared.
When an interrupt 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 instruction.
Some of the longer instructions can be interrupted and resume normally after servicing the interrupt.
When the CPU begins to service an interrupt request, it:
•
Clears the instruction queue
•
Calculates the return address
•
Stacks the return address and the contents of the CPU registers as shown in Table 4-3
After stacking the CCR, the CPU:
•
Sets the I bit to prevent other interrupts from disrupting the interrupt service routine
•
Sets the X bit if an XIRQ interrupt request is pending
•
Fetches the interrupt vector for the highest-priority request that was pending at the beginning of the
interrupt sequence
•
Begins execution of the interrupt service routine at the location pointed to by the vector
If no other interrupt request is pending at the end of the interrupt service routine, a return-from-interrupt
(RTI) instruction recovers the stacked values. Program execution resumes program at the return address.
If another interrupt request is pending at the end of an interrupt service routine, the RTI instruction
recovers the stacked values. However, the CPU then:
•
Adjusts the stack pointer to point again at the stacked CCR location, SP – 9
•
Fetches the vector of the pending interrupt
•
Begins execution of the interrupt service routine at the location pointed to by the vector
Table 4-3. Stacking Order on Entry to Interrupts
Memory Location
Stacked Values
SP – 2
RTNH : RTNL
SP – 4
YH : YL
SP – 6
XH : XL
SP – 8
B : A
SP – 9
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