Web Analytics
Datasheet
Teiledatenblatt > 8-Bit Microcontroller IC > NXP > MC9S08QE16CLC Datenblatt-PDF > MC9S08QE16CLC Anwendungshinweis Seite 1/32
MC9S08QE16CLC
€ 3.75
Preis von AiPCBA

MC9S08QE16CLC Anwendungshinweis - NXP

  • Hersteller:
    NXP
  • Kategorie:
    8-Bit Microcontroller IC
  • Fallpaket
    LQFP-32
  • Beschreibung:
    MCU 8Bit HCS08 CISC 16KB Flash 2.5V/3.3V 32Pin LQFP
Aktualisierte Uhrzeit: 2025-05-17 17:00:37 (UTC+8)

MC9S08QE16CLC Anwendungshinweis

Seite:von 32
PDF 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

MC9S08QE16CLC Datenblatt-PDF

MC9S08QE16CLC Datenblatt PDF
NXP
4 Seiten, 42 KB
MC9S08QE16CLC Benutzerreferenzhandbuch
NXP
324 Seiten, 4831 KB
MC9S08QE16CLC Programmierhandbuch
NXP
2 Seiten, 110 KB
MC9S08QE16CLC Anderes Datenblatt
NXP
346 Seiten, 4557 KB
MC9S08QE16CLC Anwendungshinweis
NXP
32 Seiten, 371 KB
MC9S08QE16CLC Eigenschaften Beschreibung Parameter
NXP
54 Seiten, 1310 KB
MC9S08QE16CLC Notizdatei
NXP
7 Seiten, 133 KB
MC9S08QE16CLC Qualitätsbericht
NXP
4 Seiten, 249 KB
MC9S08QE16CLC Andere Referenzen
NXP
1 Seiten, 139 KB

MC9S08QE16 Datenblatt-PDF

MC9S08QE16CLC
Datenblatt PDF
NXP
MCU 8Bit HCS08 CISC 16KB Flash 2.5V/3.3V 32Pin LQFP
MC9S08QE16CWL
Benutzerreferenzhandbuch
NXP
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 28Pin SOIC W
MC9S08QE16CFT
Datenblatt PDF
NXP
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 48Pin QFN EP Tray
MC9S08QE16CLD
Datenblatt PDF
NXP
MCU 8Bit S08 CISC 16KB Flash 2.5V/3.3V 44Pin LQFP Tray
MC9S08QE16CFT
Datenblatt PDF
Freescale
MCU 8Bit S08 CISC 16KB Flash 2.5V/3.3V 48Pin QFN EP Tray
MC9S08QE16CLC
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 32Pin LQFP
MC9S08QE16CLD
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 44Pin LQFP Tray
MC9S08QE16CWL
Datenblatt PDF
Freescale
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 28Pin SOIC W
MC9S08QE16CFM
Benutzerreferenzhandbuch
NXP
MCU 8Bit S08 CISC 16KB Flash 2.5V/3.3V 32Pin QFN EP Tray
MC9S08QE16CFM
Eigenschaften Beschreibung Parameter
Freescale
MCU 8Bit S08 S08 CISC 16KB Flash 2.5V/3.3V 32Pin QFN EP Tray
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