欢迎访问ic37.com |
会员登录 免费注册
发布采购

90S1200 参数 Datasheet PDF下载

90S1200图片预览
型号: 90S1200
PDF下载: 下载PDF文件 查看货源
内容描述: 8 -bit微控制器1K字节的系统内可编程闪存 [8-Bit Microcontroller with 1K bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 71 页 / 1365 K
品牌: ATMEL [ ATMEL ]
 浏览型号90S1200的Datasheet PDF文件第8页浏览型号90S1200的Datasheet PDF文件第9页浏览型号90S1200的Datasheet PDF文件第10页浏览型号90S1200的Datasheet PDF文件第11页浏览型号90S1200的Datasheet PDF文件第13页浏览型号90S1200的Datasheet PDF文件第14页浏览型号90S1200的Datasheet PDF文件第15页浏览型号90S1200的Datasheet PDF文件第16页  
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  
Vector No. Program Address  
Source  
Interrupt Definition  
Hardware Pin, Power-on Reset and  
Watchdog Reset  
1
2
4
5
$000  
$001  
$002  
$003  
RESET  
INT0  
External Interrupt Request 0  
Timer/Counter0 Overflow  
Analog Comparator  
TIMER0, OVF0  
ANA_COMP  
The most typical and general program setup for the Reset and Interrupt Vector  
Addresses are:  
Address Labels  
Code  
rjmp  
rjmp  
rjmp  
rjmp  
Comments  
$000  
$001  
$002  
$003  
;
RESET  
; Reset Handler  
EXT_INT0  
TIM0_OVF  
ANA_COMP  
; IRQ0 Handler  
; Timer0 Overflow Handler  
; 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 (VPOT).  
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 VCC voltages.  
12  
AT90S1200  
0838HAVR03/02