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

ATMEGA8-16AI 参数 Datasheet PDF下载

ATMEGA8-16AI图片预览
型号: ATMEGA8-16AI
PDF下载: 下载PDF文件 查看货源
内容描述: 位的AVR微控制器8K字节在 - 系统内可编程Flash [-bit AVR Microcontroller with 8K Bytes In- System Programmable Flash]
分类和应用: 微控制器
文件页数/大小: 303 页 / 5122 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA8-16AI的Datasheet PDF文件第41页浏览型号ATMEGA8-16AI的Datasheet PDF文件第42页浏览型号ATMEGA8-16AI的Datasheet PDF文件第43页浏览型号ATMEGA8-16AI的Datasheet PDF文件第44页浏览型号ATMEGA8-16AI的Datasheet PDF文件第46页浏览型号ATMEGA8-16AI的Datasheet PDF文件第47页浏览型号ATMEGA8-16AI的Datasheet PDF文件第48页浏览型号ATMEGA8-16AI的Datasheet PDF文件第49页  
ATmega8(L)  
Table 19. Reset and Interrupt Vectors Placement  
BOOTRST(1)  
IVSEL  
Reset Address  
0x000  
Interrupt Vectors Start Address  
1
1
0
0
0
1
0
1
0x001  
0x000  
Boot Reset Address + 0x001  
0x001  
Boot Reset Address  
Boot Reset Address  
Boot Reset Address + 0x001  
Note:  
1. The Boot Reset Address is shown in Table 82 on page 217. For the BOOTRST Fuse  
“1” means unprogrammed while “0” means programmed.  
The most typical and general program setup for the Reset and Interrupt Vector  
Addresses in ATmega8 is:  
addressLabelsCode  
Comments  
$000  
$001  
$002  
$003  
$004  
$005  
$006  
$007  
$008  
$009  
$00a  
$00b  
$00c  
$00d  
$00e  
$00f  
$010  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
rjmp  
RESET  
; Reset Handler  
EXT_INT0  
EXT_INT1  
TIM2_COMP  
TIM2_OVF  
TIM1_CAPT  
TIM1_COMPA  
TIM1_COMPB  
TIM1_OVF  
TIM0_OVF  
SPI_STC  
; IRQ0 Handler  
; IRQ1 Handler  
; Timer2 Compare Handler  
; Timer2 Overflow Handler  
; Timer1 Capture Handler  
; Timer1 CompareA Handler  
; Timer1 CompareB Handler  
; Timer1 Overflow Handler  
; Timer0 Overflow Handler  
; SPI Transfer Complete Handler  
; USART RX Complete Handler  
; UDR Empty Handler  
USART_RXC  
USART_UDRE  
USART_TXC  
ADC  
; USART TX Complete Handler  
; ADC Conversion Complete Handler  
; EEPROM Ready Handler  
; Analog Comparator Handler  
; Two-wire Serial Interface  
EE_RDY  
ANA_COMP  
TWSI  
$011  
Handler  
$012  
rjmp  
SPM_RDY  
; Store Program Memory Ready  
Handler  
;
$013  
$014  
$015  
$016  
$017  
$018  
...  
RESET: ldi  
out  
r16,high(RAMEND); Main program start  
SPH,r16  
; Set Stack Pointer to top of RAM  
ldi  
r16,low(RAMEND)  
SPL,r16  
out  
sei  
; Enable interrupts  
<instr> xxx  
...  
...  
45  
2486M–AVR–12/03  
 复制成功!