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

MEGA128CAN 参数 Datasheet PDF下载

MEGA128CAN图片预览
型号: MEGA128CAN
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有ISP功能的Flash和CAN控制器128K字节 [Microcontroller WITH 128K BYTES OF ISP FLASH AND CAN CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 413 页 / 5507 K
品牌: ATMEL [ ATMEL ]
 浏览型号MEGA128CAN的Datasheet PDF文件第53页浏览型号MEGA128CAN的Datasheet PDF文件第54页浏览型号MEGA128CAN的Datasheet PDF文件第55页浏览型号MEGA128CAN的Datasheet PDF文件第56页浏览型号MEGA128CAN的Datasheet PDF文件第58页浏览型号MEGA128CAN的Datasheet PDF文件第59页浏览型号MEGA128CAN的Datasheet PDF文件第60页浏览型号MEGA128CAN的Datasheet PDF文件第61页  
AT90CAN128  
Table 25. Reset and Interrupt Vectors (Continued)  
Vector  
No.  
Program  
Source  
Interrupt Definition  
Address(2)  
30  
31  
32  
33  
34  
35  
36  
37  
0x003A  
0x003C  
0x003E  
0x0040  
0x0042  
0x0044  
0x0046  
0x0048  
TIMER3 COMPB Timer/Counter3 Compare Match B  
TIMER3 COMPC Timer/Counter3 Compare Match C  
TIMER3 OVF  
USART1, RX  
USART1, UDRE  
USART1, TX  
TWI  
Timer/Counter3 Overflow  
USART1, Rx Complete  
USART1 Data Register Empty  
USART1, Tx Complete  
Two-wire Serial Interface  
Store Program Memory Ready  
SPM READY  
Notes: 1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader  
address at reset, see “Boot Loader Support – Read-While-Write Self-Programming”  
on page 311.  
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of  
the Boot Flash Section. The address of each Interrupt Vector will then be the address  
in this table added to the start address of the Boot Flash Section.  
Table 26 shows reset and Interrupt Vectors placement for the various combinations of  
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the  
Interrupt Vectors are not used, and regular program code can be placed at these loca-  
tions. This is also the case if the Reset Vector is in the Application section while the  
Interrupt Vectors are in the Boot section or vice versa.  
Table 26. Reset and Interrupt Vectors Placement(Note:)  
BOOTRST  
IVSEL  
Reset Address  
0x0000  
Interrupt Vectors Start Address  
0x0002  
1
1
0
0
0
1
0
1
0x0000  
Boot Reset Address + 0x0002  
0x0002  
Boot Reset Address  
Boot Reset Address  
Boot Reset Address + 0x0002  
Note:  
The Boot Reset Address is shown in Table 119 on page 323. 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 AT90CAN128 is:  
;AddressLabels Code  
Comments  
0x0000  
0x0002  
0x0004  
0x0006  
0x0008  
0x000A  
0x000C  
0x000E  
0x0010  
0x0012  
0x0014  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
jmp  
RESET  
; Reset Handler  
; IRQ0 Handler  
; IRQ1 Handler  
; IRQ2 Handler  
; IRQ3 Handler  
; IRQ4 Handler  
; IRQ5 Handler  
; IRQ6 Handler  
; IRQ7 Handler  
EXT_INT0  
EXT_INT1  
EXT_INT2  
EXT_INT3  
EXT_INT4  
EXT_INT5  
EXT_INT6  
EXT_INT7  
TIM2_COMP ; Timer2 Compare Handler  
TIM2_OVF ; Timer2 Overflow Handler  
57  
4250E–CAN–12/04  
 复制成功!