資料介紹
I. Instructions for Interrupt Operation: 1. If “IE” instruction (interrupt enable) is set outside the interrupt processing program and there is “HALT” or “STOP” instruction, this two instructions should be followed “IE” instruction closely. 2. After CPU responding to an interrupt, IRQ should be cleared before resetting IE in order to avoid many responses to one interrupt. 3. Interrupt Enable instruction will be automatically cleared after entering interrupt-processing program. If setting IE too early, there is a possibility of re-entry the interrupt. So the Interrupt Enable instruction should be placed at the end and followed closely by two instructions include “RTNI”。 4. During the two successive instruction cycles next to Interrupt Enable instruction, CPU will not respond to any interrupts. 5. After CPU responding to interrupts, each bit of IE will be cleared by hardware while IRQ should be cleared by software.
Examples: Users should pay attention to some problems when writing program according to the above points. Here are some examples for the software application: Case One: Description: CPU will be activated when running to “HALT” or “STOP” instruction. Program: Interrupt Enable instruction is set outside the interrupt processing program …… LDI IE, 0FH ; enable interrupt NOP NOP HALT Analysis: After two “NOP” instructions, if an interrupt pulse comes or IRQ is non-zero during the third instruction cycle, CPU will respond to the interrupt and IE will be cleared. Then when returning to main program, CPU begins to execute “HALT” or “STOP” and will not be activated, because IE is cleared to zero and all interrupts are disabled now. Solution: “HALT” or “STOP” are put closely behind “LDI IE, 0FH” (According to point 1)
- FX3系列編程手冊應用指令說明書 0次下載
- 直流可編程電子負載IT8500系列編程與語法指南 7次下載
- Renesas R-IN32M3 系列編程手冊:驅動程序 Rev.6.01
- SH66L06和SH66L06A差異對照表
- SH66L10與SH66L10A對照表
- SH66L12A和SH66L12B之間的差異表
- SH66L16與SH66L16A對比表
- MELIPC MI5000系列編程手冊(Windows篇)
- MELIPC MI5000系列編程手冊(VxWorks篇)
- 支持串口并口和USB(FT245B)PIC-Pgm 1.9.3.1全系列編程軟件 18次下載
- ARM Cortex-R系列編程手冊資源下載 14次下載
- SH66N12仿真板 0次下載
- FX1SFX1NFX2NFX2NC系列編程手冊 4次下載
- 8位motorola單片機MC68HC908全系列編程器
- TOP系列編程器軟件
- YXC高精度的石英可編程壓控溫補振蕩器:YSV531PT系列 187次閱讀
- Linux應用編程的基本概念 1.1k次閱讀
- GD32 MCU 入門教程】GD32 MCU 常見外設介紹(12)FMC 模塊介紹 3.3k次閱讀
- FPGA現場可編程門陣列的綜合指南 1.4k次閱讀
- 32位單片機RX66N如何進行輕松評測的套件 2.4k次閱讀
- HDH 25系列編碼器的工作原理及應用解析 3k次閱讀
- PLC的編程語言具體有哪些 9k次閱讀
- Google編程風格指南(一) 3.5k次閱讀
- tms320c6000系列dsp編程工具與指南 淺談dsp編程 6.2k次閱讀
- P800系列編程器設計規則介紹 2.1k次閱讀
- 編程器怎么用_編程器的使用方法 7.2w次閱讀
- shell編程使用方法 8.1k次閱讀
- zookeeper啟動成功與zkServer.sh status出錯的原因分析 6.9k次閱讀
- SH84八曲四路音樂彩燈控制電路圖 5.6k次閱讀
- DS33Z11/DS33Z44 EEPROM編程指南 2.7k次閱讀
下載排行
本周
- 1美的電磁爐電路原理圖資料
- 4.39 MB | 16次下載 | 10 積分
- 2反激式開關電源設計解析
- 0.89 MB | 2次下載 | 5 積分
- 3簡易光伏控制器原理圖資料
- 0.07 MB | 1次下載 | 5 積分
- 4TPS23755數據手冊
- 0.07 MB | 次下載 | 免費
- 536伏,10兆赫茲低噪聲雙運算放大器COS5532 技術手冊
- 0.41 MB | 次下載 | 免費
- 6LM5176 55V 寬輸入電壓同步4開關降壓/升壓控制器技術手冊
- 2.40 MB | 次下載 | 免費
- 7MCU模塊原理圖資料
- 0.37 MB | 次下載 | 1 積分
- 8LoRa1121 FCC&CE認證 多頻段LoRa無線通訊模塊規格書
- 997.05 KB | 次下載 | 免費
本月
- 1美的電磁爐電路原理圖資料
- 4.39 MB | 16次下載 | 10 積分
- 2冷柜-電氣控制系統講解
- 13.68 MB | 7次下載 | 10 積分
- 3SDFM 激光測距模塊模組手冊
- 0.54 MB | 7次下載 | 免費
- 4直流電路的組成和基本定律
- 1.67 MB | 4次下載 | 免費
- 5SW6238V ACCC 三 PD 四口多協議移動電源 SOC規格書
- 0.59 MB | 4次下載 | 1 積分
- 6安川A1000變頻器中文版說明書
- 20.16 MB | 3次下載 | 3 積分
- 7IP6742_datasheet_100V8A 同步 BUCK 控制器
- 2.16 MB | 3次下載 | 免費
- 8PAW3395DM-T6QU:光學游戲導航芯片手冊
- 1.26 MB | 2次下載 | 10 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233094次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191448次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183360次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81605次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73829次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發燒友App





創作
發文章
發帖
提問
發資料
發視頻
上傳資料賺積分
評論