| 数据搜索系统,热门电子元器件搜索 |
|
ATmega16HVB 数据表(PDF) 53 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega16HVB 数据表(HTML) 53 Page - ATMEL Corporation |
|
53 / 273 page ![]() 53 8042A–AVR–07/09 ATmega16HVB/32HVB Notes: 1. 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. 2. When the BOOTRST Fuses are programmed, the device will jump to the Boot Loader address at reset, see ”Boot Loader Support – Read-While-Write Self-Programming” on page 191. If the program never enables an interrupt source, the Interrupt Vectors are not used, and regular program code can be placed at these locations. Table 12-2 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 locations. 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. Note: 1. The Boot Reset Address is shown in Table 29-5 on page 204. 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 ATmega16HVB/32HVB is: 27 0x0034 CCADC ACC CC-ADC Accumulate Current Conversion Complete 28 0x0036 EE READY EEPROM Ready 29 0x0038 SPM SPM Ready Table 12-2. Reset and Interrupt Vectors Placement (1) BOOTRST IVSEL Reset Address Interrupt Vectors Start Address 1 0 0x0000 0x0002 1 1 0x0000 Boot Reset Address + 0x0002 0 0 Boot Reset Address 0x0002 0 1 Boot Reset Address Boot Reset Address + 0x0002 Table 12-1. Reset and Interrupt Vectors (Continued) Vector No. Program Address(1) Source Interrupt Definition Address Labels Code Comments 0x0000 jmp RESET ; Reset Handler 0x0002 jmp BPINT ; Battery Protection Interrupt Handler 0x0004 jmp VREGMON_INT ; Voltage Regulator Monitor Interrupt Handler 0x0006 jmp EXT_INT0 ; External Interrupt Request 0 Handler 0x0008 jmp EXT_INT1 ; External Interrupt Request 1 Handler 0x000A jmp EXT_INT2 ; External Interrupt Request 2 Handler 0x000C jmp EXT_INT3 ; External Interrupt Request 3 Handler 0x000E jmp PCINT0 ; Pin Change Interrupt 0 Handler 0x0010 jmp PCINT1 ; Pin Change Interrupt 1 Handler 0x0012 jmp WDT ; Watchdog Time-out Interrupt 0x0014 jmp BGSCD ; Bandgap Buffer Short Circuit Detected 0x0016 jmp CHDET ; Charger Detect 0x0018 jmp TIM1_IC ; Timer1 Input Capture Handler 0x001A jmp TIM1_COMPA ; Timer1 Compare A Handler |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |