參數(shù)資料
型號(hào): 90S1200
廠商: Atmel Corp.
元件分類: 8位微控制器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 位AVR微控制器具有8K字節(jié)的系統(tǒng)內(nèi)可編程閃存
文件頁數(shù): 17/71頁
文件大?。?/td> 1416K
代理商: 90S1200
17
AT90S1200
0838H
AVR
03/02
External Interrupts
The External Interrupt is triggered by the INT0 pin. The interrupt can trigger on rising
edge, falling edge or low level. This is set up as described in the specification for the
MCU Control Register (MCUCR). When INT0 is level triggered, the interrupt is pending
as long as INT0 is held low.
The interrupt is triggered even if INT0 is configured as an output. This provides a way to
generate a software interrupt.
The interrupt flag can not be directly accessed by the user. If an external edge-triggered
interrupt is suspected to be pending, the flag can be cleared as follows.
1.
Disable the External Interrupt by clearing the INT0 flag in GIMSK.
2.
Select level triggered interrupt.
3.
Select desired interrupt edge.
4.
Re-enable the external interrupt by setting INT0 in GIMSK.
Interrupt Response Time
The interrupt execution response for all the enabled AVR interrupts is four clock cycles
minimum. Four clock cycles after the interrupt flag has been set, the program vector
address for the actual interrupt handling routine is executed. During this 4-clock-cycle
period, the Program Counter (9 bits) is pushed onto the Stack. The vector is normally a
relative jump to the interrupt routine, and this jump takes two clock cycles. If an interrupt
occurs during execution of a multi-cycle instruction, this instruction is completed before
the interrupt is served.
A return from an interrupt handling routine takes four clock cycles. During these four
clock cycles, the Program Counter (9 bits) is popped back from the Stack and the I-flag
in SREG is set. When the AVR exits from an interrupt, it will always return to the main
program and execute one more instruction before any pending interrupt is served.
Note that the Subroutine and Interrupt Stack is a 3-level true hardware stack, and if
more than three nested subroutines and interrupts are executed, only the most recent
three return addresses are stored.
相關(guān)PDF資料
PDF描述
90S2313 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90S2343 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90S4414 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
90S8535 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90SCFM 20SCFM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
90S2313 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K bytes In-System Programmable Flash
90S2343 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K Bytes of In-System Programmable Flash
90S4414 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 4K bytes In-System Programmable Flash
90S7A 制造商:QUARTZCOM 制造商全稱:QUARTZCOM the communications company 功能描述:-20 ~ +70 °C commercia l application -30 ~ +75 °C on request
90S8535 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 4K/8K Bytes In-System Programmable Flash