Web Analytics
Datasheet
Teiledatenblatt > Microcontroller, MCU IC > NXP > MC9S08QE8CWJ Datenblatt-PDF > MC9S08QE8CWJ Anwendungshinweis Seite 1/32
MC9S08QE8CWJ
€ 3.68
Preis von AiPCBA

MC9S08QE8CWJ Anwendungshinweis - NXP

  • Hersteller:
    NXP
  • Kategorie:
    Microcontroller, MCU IC
  • Fallpaket
    SOIC-20
  • Beschreibung:
    MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
Aktualisierte Uhrzeit: 2025-05-25 20:10:27 (UTC+8)

MC9S08QE8CWJ Anwendungshinweis

Seite:von 32
PDF herunterladen
Neu laden
herunterladen
Freescale Semiconductor
Application Note
Document Number: AN3496
Rev.0, 07/2007
Contents
© Freescale Semiconductor, Inc., 2007. All rights reserved.
In the HCS08 family of microcontrollers, 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.
Before an ISR is completed, the global interrupt mask
(I bit) in the condition code register (CCR) is set to mask
further interrupts. This mechanism ensures that the ISR
is not interrupted during execution. However, the
disadvantage of this mechanism is that a high-priority
interrupt cannot interrupt a low-priority ISR execution.
This document provides a solution to yield a prioritized
interrupt mechanism in software. This benefits anyone
who wants more powerful and flexible applications
without a task-based real-time operation system (RTOS)
support.
1 Non-Nested Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Interrupt Stack Frame . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Inhibiting Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Nested Interrupt Mechanism . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Requirements Of Nested Interrupts. . . . . . . . . . . . . 5
2.2 Software Nested Interrupt Scheduler . . . . . . . . . . . 5
2.3 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Port User Program with the Scheduler . . . . . . . . . . . . . 11
3.1 Variable and Macro Definitions . . . . . . . . . . . . . . . 11
3.2 Interrupt Service Routine Definitions . . . . . . . . . . . 12
3.3 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1 Flash Memory Consumption . . . . . . . . . . . . . . . . . 13
4.2 RAM Consumption . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3 Time Consumption . . . . . . . . . . . . . . . . . . . . . . . . 14
5 Miscellaneous Topics . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.1 Use ISR Not Supporting Scheduler. . . . . . . . . . . . 15
5.2 Use Scheduler in the Main Loop . . . . . . . . . . . . . . 15
Appendix AScheduler Code Lists . . . . . . . . . . . . . . . . . . . . . 16
A Software Approach to Using
Nested Interrupts in HCS08
by: Kenny Ji
Asia & Pacific Operation Microcontroller Division

MC9S08QE8CWJ Datenblatt-PDF

MC9S08QE8CWJ Datenblatt PDF
NXP
46 Seiten, 1276 KB
MC9S08QE8CWJ Benutzerreferenzhandbuch
NXP
324 Seiten, 4831 KB
MC9S08QE8CWJ Programmierhandbuch
NXP
2 Seiten, 110 KB
MC9S08QE8CWJ Anderes Datenblatt
NXP
346 Seiten, 4557 KB
MC9S08QE8CWJ Anwendungshinweis
NXP
32 Seiten, 371 KB
MC9S08QE8CWJ Eigenschaften Beschreibung Parameter
NXP
54 Seiten, 861 KB
MC9S08QE8CWJ Verpackung
NXP
198 Seiten, 3233 KB
MC9S08QE8CWJ Qualitätsbericht
NXP
4 Seiten, 249 KB

MC9S08QE8 Datenblatt-PDF

MC9S08QE8CTG
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP Tube
MC9S08QE8CLC
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 32Pin LQFP Tray
MC9S08QE8CPG
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin PDIP Tube
MC9S08QE8CTG
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP Tube
MC9S08QE8CWJ
Datenblatt PDF
NXP
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
MC9S08QE8CWL
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 28Pin SOIC W Tube
MC9S08QE8CTGR
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP T/R
MC9S08QE8CLC
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 32Pin LQFP Tray
MC9S08QE8CFM
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 32Pin QFN EP Tray
MC9S08QE8CWJ
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
Datenblatt-PDF-Suche
Suche
100 Millionen Datenblatt-PDF, aktualisieren Sie mehr als 5.000 PDF-Dateien pro Tag.
Dokumentation beziehen: MC9S08 Datenblatt PDF
Kontakt online
Bonnie - AiPCBA Sales Manager Online, vor 5 Minuten
Ihre E-Mail *
Nachricht *
Senden