Datasheet
数据手册 > 微控制器,MCU,单片机 > NXP > MC9S08QE8CWJ 数据手册PDF > MC9S08QE8CWJ 应用笔记 第 1/32 页
MC9S08QE8CWJ
¥ 30.53
百芯的价格

MC9S08QE8CWJ 应用笔记 - NXP

  • 制造商:
    NXP
  • 分类:
    微控制器,MCU,单片机
  • 封装
    SOIC-20
  • 描述:
    MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
更新时间: 2024-07-27 21:47:30 (UTC+8)

MC9S08QE8CWJ 应用笔记

页码:/32页
下载 PDF
重新加载
下载
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 数据手册 PDF

MC9S08QE8CWJ 数据手册
NXP
46 页, 1276 KB
MC9S08QE8CWJ 产品设计参考
NXP
324 页, 4831 KB
MC9S08QE8CWJ 用户编程手册
NXP
2 页, 110 KB
MC9S08QE8CWJ 其它数据手册
NXP
346 页, 4557 KB
MC9S08QE8CWJ 应用笔记
NXP
32 页, 371 KB
MC9S08QE8CWJ 产品描述及参数
NXP
54 页, 861 KB
MC9S08QE8CWJ 产品封装文件
NXP
198 页, 3233 KB
MC9S08QE8CWJ 产品质量认证报告
NXP
4 页, 249 KB

MC9S08QE8 数据手册 PDF

MC9S08QE8CTG
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP Tube
MC9S08QE8CLC
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 32Pin LQFP Tray
MC9S08QE8CPG
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin PDIP Tube
MC9S08QE8CTG
数据手册
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP Tube
MC9S08QE8CWJ
数据手册
NXP
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
MC9S08QE8CWL
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 28Pin SOIC W Tube
MC9S08QE8CTGR
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 16Pin TSSOP T/R
MC9S08QE8CLC
数据手册
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 32Pin LQFP Tray
MC9S08QE8CFM
数据手册
NXP
MCU 8Bit S08 CISC 8KB Flash 2.5V/3.3V 32Pin QFN EP Tray
MC9S08QE8CWJ
数据手册
Freescale
MCU 8Bit S08 S08 CISC 8KB Flash 2.5V/3.3V 20Pin SOIC W Tube
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
相关文档: MC9S08 数据手册
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送