| 数据搜索系统,热门电子元器件搜索 |
|
ATmega162 数据表(PDF) 62 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega162 数据表(HTML) 62 Page - ATMEL Corporation |
|
62 / 324 page ![]() 62 2513K–AVR–07/09 ATmega162/V • Bit 0 – IVCE: Interrupt Vector Change Enable The IVCE bit must be written to logic one to enable change of the IVSEL bit. IVCE is cleared by hardware four cycles after it is written or when IVSEL is written. Setting the IVCE bit will disable interrupts, as explained in the IVSEL description above. See Code Example below. Assembly Code Example Move_interrupts: ; Enable change of Inter?upt Vectors ldi r16, (1<<IVCE) out GICR, r16 ; Move interrupts to Boo? Flash section ldi r16, (1<<IVSEL) out GICR, r16 ret C Code Example void Move_interrupts(void) { /* Enable change of?Interrupt Vectors */ GICR = (1<<IVCE); /* Move interrupts to Bo?t Flash section */ GICR = (1<<IVSEL); } |
|
链接网址 |
| 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 |