參數(shù)資料
型號(hào): UPD17227
廠商: NEC Corp.
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機(jī)的小型通用紅外遙控器
文件頁數(shù): 40/84頁
文件大?。?/td> 393K
代理商: UPD17227
μ
PD17225, 17226, 17227, 17228
40
Data Sheet U12643EJ2V0DS00
7.
INTERRUPT FUNCTIONS
7.1
Interrupt Sources
μ
PD17225 is provided with three interrupt sources.
When an interrupt has been accepted, the program execution automatically branches to a predetermined address,
which is called a vector address. A vector address is assigned to each interrupt source, as shown in Table 7-1.
Table 7-1. Vector Address
Priority
Interrupt Source
Ext/Int
Vector Address
1
8-bit timer
Internal
0003H
2
INT pin rising and falling edges
External
0002H
3
Basic interval timer
Internal
0001H
When more than one interrupt request is issued at the same time, the interrupts are accepted in sequence, starting
from the one with the highest priority.
Whether an interrupt is enabled or disabled is specified by the EI or DI instruction. The basic condition under which
an interrupt is accepted is that the interrupt is enabled by the EI instruction. While the DI instruction is executed, or while
an interrupt is accepted, the interrupt is disabled.
To enable accepting an interrupt after the interrupt has been processed, the EI instruction must be executed before
the RETI instruction. Accepting the interrupt is enabled by the EI instruction after the instruction next to the EI instruction
has been executed. Therefore, no interrupt can be accepted between the EI and RETI instructions.
Caution In interrupt processing, only the BCD, CMP, CY, Z, IXE flags are automatically saved to the stack
by the hardware, to a maximum of three levels. Also, within the interrupt processing contents, when
peripheral hardware (timer, A/D converter, etc. ) is accessed, the DBF and WR contents are not saved
by the hardware. Accordingly, it is recommended that at the beginning of interrupt processing DBF
and WR be saved by software to RAM, and immediately before finishing interrupt processing the
saved contents be returned to thier original location.
相關(guān)PDF資料
PDF描述
UPD17227CT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17227MC 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17228 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17228CT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17228GT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD17227CT 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17227CT-XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
UPD17227GT 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
UPD17227GT-XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|4-BIT|UPD17K CPU|CMOS|SOP|28PIN|PLASTIC
UPD17227MC 制造商:NEC 制造商全稱:NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER