Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

MC9S08QG8CFQE Datasheet(PDF) 63 Page - Freescale Semiconductor, Inc

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

MC9S08QG8CFQE Datasheet(HTML) 63 Page - Freescale Semiconductor, Inc

Back Button MC9S08QG8CFQE Datasheet HTML 59Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 60Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 61Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 62Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 63Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 64Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 65Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 66Page - Freescale Semiconductor, Inc MC9S08QG8CFQE Datasheet HTML 67Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 314 page
background image
Chapter 5 Resets, Interrupts, and General System Control
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
Freescale Semiconductor
61
When the 1-kHz clock source is selected, the COP counter is re-initialized to zero upon entry to stop mode.
The COP counter begins from zero after the MCU exits stop mode.
5.5
Interrupts
Interrupts provide a way to save the current CPU status and registers, execute an interrupt service routine
(ISR), and then restore the CPU status so processing resumes where it was before the interrupt. Other than
the software interrupt (SWI), which is a program instruction, interrupts are caused by hardware events
such as an edge on the IRQ pin or a timer-overflow event. The debug module can also generate an SWI
under certain circumstances.
If an event occurs in an enabled interrupt source, an associated read-only status flag will become set. The
CPU will not respond until and unless the local interrupt enable is a 1 to enable the interrupt. The I bit in
the CCR is 0 to allow interrupts. The global interrupt mask (I bit) in the CCR is initially set after reset,
which masks (prevents) all maskable interrupt sources. The user program initializes the stack pointer and
performs other system setup before clearing the I bit to allow the CPU to respond to interrupts.
When the CPU receives a qualified interrupt request, it completes the current instruction before responding
to the interrupt. The interrupt sequence obeys the same cycle-by-cycle sequence as the SWI instruction
and consists of:
Saving the CPU registers on the stack
Setting the I bit in the CCR to mask further interrupts
Fetching the interrupt vector for the highest-priority interrupt that is currently pending
Filling the instruction queue with the first three bytes of program information starting from the
address fetched from the interrupt vector locations
While the CPU is responding to the interrupt, the I bit is automatically set to avoid the possibility of
another interrupt interrupting the ISR itself (this is called nesting of interrupts). Normally, the I bit is
restored to 0 when the CCR is restored from the value stacked on entry to the ISR. In rare cases, the I bit
can be cleared inside an ISR (after clearing the status flag that generated the interrupt) so that other
interrupts can be serviced without waiting for the first service routine to finish. This practice is not
recommended for anyone other than the most experienced programmers because it can lead to subtle
program errors that are difficult to debug.
The interrupt service routine ends with a return-from-interrupt (RTI) instruction which restores the CCR,
A, X, and PC registers to their pre-interrupt values by reading the previously saved information from the
stack.
NOTE
For compatibility with M68HC08 devices, the H register is not
automatically saved and restored. It is good programming practice to push
H onto the stack at the start of the interrupt service routine (ISR) and restore
it immediately before the RTI that is used to return from the ISR.
When two or more interrupts are pending when the I bit is cleared, the highest priority source is serviced
first (see Table 5-2).


Similar Part No. - MC9S08QG8CFQE

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
MC9S08QG8CFQE FREESCALE-MC9S08QG8CFQE Datasheet
3Mb / 300P
   8-BIT HCS08 Central Processor Unit
More results

Similar Description - MC9S08QG8CFQE

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
MC9S08SG32 FREESCALE-MC9S08SG32 Datasheet
3Mb / 328P
   HCS08 Microcontrollers
MC9S08DV60 FREESCALE-MC9S08DV60 Datasheet
4Mb / 414P
   HCS08 Microcontrollers
MC9S08AC16 FREESCALE-MC9S08AC16_09 Datasheet
5Mb / 330P
   HCS08 Microcontrollers
logo
NXP Semiconductors
SC9S08MZ16 NXP-SC9S08MZ16 Datasheet
4Mb / 270P
   HCS08 Microcontrollers
Rev. 1, 9/2008
logo
Freescale Semiconductor...
MC9S08SH8CTG FREESCALE-MC9S08SH8CTG Datasheet
1Mb / 341P
   HCS08 Microcontrollers
MC9S08AC16_0911 FREESCALE-MC9S08AC16_0911 Datasheet
5Mb / 336P
   HCS08 Microcontrollers
MC9S08GB60A FREESCALE-MC9S08GB60A Datasheet
6Mb / 302P
   HCS08 Microcontrollers
logo
NXP Semiconductors
MC9S08JM60 NXP-MC9S08JM60 Datasheet
2Mb / 374P
   HCS08 Microcontrollers
Revision 5, 10/2014
logo
Freescale Semiconductor...
MC9S08JM60 FREESCALE-MC9S08JM60_09 Datasheet
4Mb / 388P
   HCS08 Microcontrollers
MC9S08QD4 FREESCALE-MC9S08QD4_10 Datasheet
2Mb / 198P
   HCS08 Microcontrollers
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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