參數(shù)資料
型號: μPD78F0228
廠商: NEC Corp.
元件分類: 8位微控制器
英文描述: 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
中文描述: 8位微控制器與2/4/8K字節(jié)在系統(tǒng)可編程閃存
文件頁數(shù): 179/239頁
文件大小: 871K
代理商: ΜPD78F0228
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁當前第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁
CHAPTER 12 INTERRUPT FUNCTIONS
159
12.4.4 Multiple interrupt servicing
Acknowledging another interrupt while one interrupt is processed is called multiple interrupts.
A multiple interrupt is not generated unless acknowledge of the interrupt request is enabled (IE = 1) (except the
non-maskable interrupt). When an interrupt request is acknowledged, the other interrupt requests are disabled (IE
= 0). To enable a multiple interrupt, therefore, the IE flag must be set to 1 by executing the EI instruction during interrupt
servicing and the interrupt must be enabled. Even in the EI status, a multiple interrupt may not be enabled. In such
a case, it is controlled according to the priority of the interrupt. An interrupt has two types of priorities: default priority
and programmable priority. The multiple interrupt is controlled by the programmable priority.
In the EI status, if an interrupt request having the same as or higher priority than that of the interrupt currently
processed is generated, and it is acknowledged as the multiple interrupt. If an interrupt request with a priority lower
than that of the interrupt currently processed is generated, the multiple interrupt is not acknowledged.
If an interrupt is disabled, or if a multiple interrupt is not acknowledged because it has a low priority, the interrupt
is kept pending. After the processing of the current interrupt has been completed, and after one instruction of the
main processing has been executed, the pending interrupt is acknowledged.
Multiple interrupts are not acknowledged while the non-maskable interrupt is processed.
Table 12-4 shows interrupt requests enabled for multiple interrupts. Figure 12-14 shows multiple interrupt
examples.
Table 12-4. Interrupt Request Enabled for Multiple Interrupt during Interrupt Servicing
Multiple Interrupt Request
Non-maskable
Maskable Interrupt Request
Interrupt Request
xx PR = 0
xx PR = 1
Interrupt being Serviced
IE = 1
IE = 0
IE = 1
IE = 0
Non-maskable interrupt
Maskable interrupt
ISP = 0
ISP = 1
Software interrupt
Remarks 1.
: Multiple interrupt enable
: Multiple interrupt disable
2.
ISP and IE are flags included in PSW.
ISP = 0
: High-priority interrupt servicing
ISP = 1
: Interrupt request is not acknowledged or low-priority interrupt servicing
IE = 0
: Interrupt request acknowledge disabled
IE = 1
: Interrupt request acknowledge enabled
3.
xxPR is a flag included in PR0L and PR0H.
xxPR = 0: High-priority flag
xxPR = 1: Low-priority flag
相關PDF資料
PDF描述
μPD780228 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
μPD78044H 8 Bit Single Chip Microcontrollers
μPD78044F 8 Bit Single Chip Microcontrollers(8位單片微控制器)
μPD780306Y 8 Bit Single Chip Microcontrollers(8位單片微控制器)
μPD780308Y 8 Bit Single Chip Microcontrollers(8位單片微控制器)
相關代理商/技術參數(shù)
參數(shù)描述
PD78F0730-MC-CAB-AX 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Microcontroller with Full-Speed USB 2.0
PD7935 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:FOR OPTICAL COMMUNICATION
PD7937 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES
PD793D26 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES
PD793D7 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES