参数资料
型号: AT90S1200-4YI
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 8-BIT, FLASH, 4 MHz, RISC MICROCONTROLLER, PDSO20
封装: 5.30 MM, PLASTIC, SSOP-20
文件页数: 12/71页
文件大小: 1416K
代理商: AT90S1200-4YI
12
AT90S1200
0838H
AVR
03/02
Reset and Interrupt
Handling
The AT90S1200 provides three different interrupt sources. These interrupts and the
separate reset vector, each have a separate program vector in the program memory
space. All the interrupts are assigned individual enable bits that must be set (one)
together with the I-bit in the Status Register in order to enable the interrupt.
The lowest addresses in the program memory space are automatically defined as the
Reset and Interrupt vectors. The complete list of vectors is shown in Table 2. The list
also determines the priority levels of the different interrupts. The lower the address the
higher is the priority level. RESET has the highest priority, and next is INT0 (the External
Interrupt Request 0), etc.
Table 2.
Reset and Interrupt Vectors
The most typical and general program setup for the Reset and Interrupt Vector
Addresses are:
Address
Labels
Code
Comments
$000
rjmp
RESET
; Reset Handler
$001
rjmp
EXT_INT0
; IRQ0 Handler
$002
rjmp
TIM0_OVF
; Timer0 Overflow Handler
$003
rjmp
ANA_COMP
; Analog Comparator Handler
;
$004
MAIN:
<instr> xxx
; Main program start
… …
Reset Sources
The AT90S1200 has three sources of reset:
Power-on Reset. The MCU is reset when the supply voltage is below the power-on
Reset threshold (V
POT
).
External Reset. The MCU is reset when a low level is present on the RESET pin for
more than 50 ns.
Watchdog Reset. The MCU is reset when the Watchdog Timer period expires and
the Watchdog is enabled.
During Reset, all I/O registers are then set to their initial values, and the program starts
execution from address $000. The instruction placed in address $000 must be an RJMP
(relative jump) instruction to the reset handling routine. If the program never enables an
interrupt source, the interrupt vectors are not used, and regular program code can be
placed at these locations. The circuit diagram in Figure 13 shows the reset logic. Table 3
defines the timing and electrical parameters of the reset circuitry. Note that Power-on
Reset timing is clocked by the internal RC Oscillator. Refer to characterization data for
RC Oscillator frequency at other V
CC
voltages.
Vector No.
Program Address
Source
Interrupt Definition
1
$000
RESET
Hardware Pin, Power-on Reset and
Watchdog Reset
2
$001
INT0
External Interrupt Request 0
4
$002
TIMER0, OVF0
Timer/Counter0 Overflow
5
$003
ANA_COMP
Analog Comparator
相关PDF资料
PDF描述
AT90S1200A -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S1200-12PC -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S1200 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313-10 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
相关代理商/技术参数
参数描述
AT90S1200A 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-Bit Microcontroller with 1K bytes In-System Programmable Flash
AT90S1200A-12PC 功能描述:8位微控制器 -MCU 1K Flash 5V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT90S1200A-12PI 制造商:Atmel Corporation 功能描述:MCU 8BIT AT90 RISC 1KB FLASH 3.3V/5V 20PDIP - Rail/Tube
AT90S1200A-12SC 制造商:Atmel Corporation 功能描述:MCU 8BIT AT90 RISC 1KB FLASH 3.3V/5V 20SOIC - Rail/Tube
AT90S1200A-12SI 制造商:Atmel Corporation 功能描述:MCU 8BIT AT90 RISC 1KB FLASH 3.3V/5V 20SOIC - Rail/Tube