參數(shù)資料
型號(hào): W77IE58
廠商: WINBOND ELECTRONICS CORP
元件分類(lèi): 微控制器/微處理器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 25 MHz, MICROCONTROLLER, PDIP40
封裝: DIP-40
文件頁(yè)數(shù): 56/90頁(yè)
文件大?。?/td> 409K
代理商: W77IE58
Preliminary W77IE58
- 56 -
The interrupt flags are sampled every machine cycle. In the same machine cycle, the sampled interrupts
are polled and their priority is resolved. If certain conditions are met then the hardware will execute an
internally generated LCALL instruction which will vector the process to the appropriate interrupt vector
address. The conditions for generating the LCALL are
1. An interrupt of equal or higher priority is not currently being serviced.
2. The current polling cycle is the last machine cycle of the instruction currently being executed.
3. The current instruction does not involve a write to IP, IE, EIP or EIE registers and is not a RETI.
If any of these conditions are not met, then the LCALL will not be generated. The polling cycle is
repeated every machine cycle, with the interrupts sampled in the same machine cycle. If an interrupt flag
is active in one cycle but not responded to, and is not active when the above conditions are met, the
denied interrupt will not be serviced. This means that active interrupts are not remembered; every polling
cycle is new.
The processor responds to a valid interrupt by executing an LCALL instruction to the appropriate service
routine. This may or may not clear the flag which caused the interrupt. In case of Timer interrupts, the
TF0 or TF1 flags are cleared by hardware whenever the processor vectors to the appropriate timer service
routine. In case of external interrupt, INT0 and INT1, the flags are cleared only if they are edge triggered.
In case of Serial interrupts, the flags are not cleared by hardware. In the case of Timer 2 interrupt, the
flags are not cleared by hardware. The Watchdog timer interrupt flag WDIF has to be cleared by
software. The hardware LCALL behaves exactly like the software LCALL instruction. This instruction
saves the Program Counter contents onto the Stack, but does not save the Program Status Word PSW.
The PC is reloaded with the vector address of that interrupt which caused the LCALL. These vector
address for the different sources are as follows
Table 8. Vector locations for interrupt sources
Source
Vector Address
Source
Vector Address
Timer 0 Overflow
000Bh
External Interrupt 0
0003h
Timer 1 Overflow
001Bh
External Interrupt 1
0013h
Timer 2 Interrupt
002Bh
Serial Port
0023h
External Interrupt 2
0043h
Serial Port 1
003Bh
External Interrupt 4
0053h
External Interrupt 3
004Bh
Watchdog Timer
0063h
External Interrupt 5
005Bh
The vector table is not evenly spaced; this is to accommodate future expansions to the device family.
相關(guān)PDF資料
PDF描述
W77L32 8-BIT MICROCONTROLLER
W77LE532 8 BIT MICROCONTROLLER
W77LE58 8 BIT MICROCONTROLLER
W77LE58-25 8 BIT MICROCONTROLLER
W77LE58F-25 8 BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W77IE58_06 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W77J_1G WAF 制造商:Fairchild Semiconductor Corporation 功能描述:
W77J_2GST WAF 制造商:Fairchild Semiconductor Corporation 功能描述:
W77J_3G WAF 制造商:Fairchild Semiconductor Corporation 功能描述:
W77L032A 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER