Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

S9S08SG16E1MTLR Datasheet(PDF) 61 Page - Freescale Semiconductor, Inc

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

S9S08SG16E1MTLR Datasheet(HTML) 61 Page - Freescale Semiconductor, Inc

Back Button S9S08SG16E1MTLR Datasheet HTML 57Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 58Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 59Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 60Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 61Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 62Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 63Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 64Page - Freescale Semiconductor, Inc S9S08SG16E1MTLR Datasheet HTML 65Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 61 / 328 page
background image
Chapter 5 Resets, Interrupts, and General System Control
MC9S08SG32 Data Sheet, Rev. 7
Freescale Semiconductor
61
The COP counter is initialized by the first writes to the SOPT1 and SOPT2 registers after any system reset.
Subsequent writes to SOPT1 and SOPT2 have no effect on COP operation. Even if the application will use
the reset default settings of COPT, COPCLKS, and COPW bits, the user should write to the write-once
SOPT1 and SOPT2 registers during reset initialization to lock in the settings. This will prevent accidental
changes if the application program gets lost.
The write to SRS that services (clears) the COP counter should not be placed in an interrupt service routine
(ISR) because the ISR could continue to be executed periodically even if the main application program
fails.
If the bus clock source is selected, the COP counter does not increment while the MCU is in background
debug mode or while the system is in stop mode. The COP counter resumes when the MCU exits
background debug mode or stop mode.
If the 1-kHz clock source is selected, the COP counter is re-initialized to zero upon entry to either
background debug mode or stop mode and begins from zero upon exit from background debug mode or
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 left off 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 a pin interrupt 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 unless the local interrupt enable is a 1 to enable the interrupt and 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
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


Similar Part No. - S9S08SG16E1MTLR

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
S9S08SG4 FREESCALE-S9S08SG4 Datasheet
1Mb / 320P
   MC9S08SG8 MC9S08SG4 Data Sheet Addendum
S9S08SG4E2CRSCR FREESCALE-S9S08SG4E2CRSCR Datasheet
3Mb / 316P
   Microcontrollers
S9S08SG4E2CTGR FREESCALE-S9S08SG4E2CTGR Datasheet
3Mb / 316P
   Microcontrollers
S9S08SG4E2CTJR FREESCALE-S9S08SG4E2CTJR Datasheet
1Mb / 320P
   MC9S08SG8 MC9S08SG4 Data Sheet Addendum
S9S08SG4E2CTJRR FREESCALE-S9S08SG4E2CTJRR Datasheet
3Mb / 316P
   Microcontrollers
More results

Similar Description - S9S08SG16E1MTLR

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
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
MC9S08QG8 FREESCALE-MC9S08QG8_09 Datasheet
5Mb / 314P
   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