資料介紹
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系列編程手冊(cè)應(yīng)用指令說明書 0次下載
- 直流可編程電子負(fù)載IT8500系列編程與語法指南 7次下載
- Renesas R-IN32M3 系列編程手冊(cè):驅(qū)動(dòng)程序 Rev.6.01
- SH66L06和SH66L06A差異對(duì)照表
- SH66L10與SH66L10A對(duì)照表
- SH66L12A和SH66L12B之間的差異表
- SH66L16與SH66L16A對(duì)比表
- MELIPC MI5000系列編程手冊(cè)(Windows篇)
- MELIPC MI5000系列編程手冊(cè)(VxWorks篇)
- 支持串口并口和USB(FT245B)PIC-Pgm 1.9.3.1全系列編程軟件 18次下載
- ARM Cortex-R系列編程手冊(cè)資源下載 14次下載
- SH66N12仿真板 0次下載
- FX1SFX1NFX2NFX2NC系列編程手冊(cè) 4次下載
- 8位motorola單片機(jī)MC68HC908全系列編程器
- TOP系列編程器軟件
- YXC高精度的石英可編程壓控溫補(bǔ)振蕩器:YSV531PT系列 187次閱讀
- Linux應(yīng)用編程的基本概念 1.1k次閱讀
- GD32 MCU 入門教程】GD32 MCU 常見外設(shè)介紹(12)FMC 模塊介紹 3.3k次閱讀
- FPGA現(xiàn)場(chǎng)可編程門陣列的綜合指南 1.4k次閱讀
- 32位單片機(jī)RX66N如何進(jìn)行輕松評(píng)測(cè)的套件 2.4k次閱讀
- HDH 25系列編碼器的工作原理及應(yīng)用解析 3k次閱讀
- PLC的編程語言具體有哪些 9k次閱讀
- Google編程風(fēng)格指南(一) 3.5k次閱讀
- tms320c6000系列dsp編程工具與指南 淺談dsp編程 6.2k次閱讀
- P800系列編程器設(shè)計(jì)規(guī)則介紹 2.1k次閱讀
- 編程器怎么用_編程器的使用方法 7.2w次閱讀
- shell編程使用方法 8.1k次閱讀
- zookeeper啟動(dòng)成功與zkServer.sh status出錯(cuò)的原因分析 6.9k次閱讀
- SH84八曲四路音樂彩燈控制電路圖 5.6k次閱讀
- DS33Z11/DS33Z44 EEPROM編程指南 2.7k次閱讀
下載排行
本周
- 1美的電磁爐電路原理圖資料
- 4.39 MB | 16次下載 | 10 積分
- 2反激式開關(guān)電源設(shè)計(jì)解析
- 0.89 MB | 2次下載 | 5 積分
- 3簡(jiǎn)易光伏控制器原理圖資料
- 0.07 MB | 1次下載 | 5 積分
- 4TPS23755數(shù)據(jù)手冊(cè)
- 0.07 MB | 次下載 | 免費(fèi)
- 536伏,10兆赫茲低噪聲雙運(yùn)算放大器COS5532 技術(shù)手冊(cè)
- 0.41 MB | 次下載 | 免費(fèi)
- 6LM5176 55V 寬輸入電壓同步4開關(guān)降壓/升壓控制器技術(shù)手冊(cè)
- 2.40 MB | 次下載 | 免費(fèi)
- 7MCU模塊原理圖資料
- 0.37 MB | 次下載 | 1 積分
- 8LoRa1121 FCC&CE認(rèn)證 多頻段LoRa無線通訊模塊規(guī)格書
- 997.05 KB | 次下載 | 免費(fèi)
本月
- 1美的電磁爐電路原理圖資料
- 4.39 MB | 16次下載 | 10 積分
- 2冷柜-電氣控制系統(tǒng)講解
- 13.68 MB | 7次下載 | 10 積分
- 3SDFM 激光測(cè)距模塊模組手冊(cè)
- 0.54 MB | 7次下載 | 免費(fèi)
- 4直流電路的組成和基本定律
- 1.67 MB | 4次下載 | 免費(fèi)
- 5SW6238V ACCC 三 PD 四口多協(xié)議移動(dòng)電源 SOC規(guī)格書
- 0.59 MB | 4次下載 | 1 積分
- 6安川A1000變頻器中文版說明書
- 20.16 MB | 3次下載 | 3 積分
- 7IP6742_datasheet_100V8A 同步 BUCK 控制器
- 2.16 MB | 3次下載 | 免費(fèi)
- 8PAW3395DM-T6QU:光學(xué)游戲?qū)Ш叫酒謨?cè)
- 1.26 MB | 2次下載 | 10 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233094次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191448次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183360次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81605次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73829次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻
上傳資料賺積分
評(píng)論