| поискавой системы для электроныых деталей |
|
ATMEGA640 датащи(PDF) 105 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATMEGA640 датащи(HTML) 105 Page - Microchip Technology |
|
105 / 436 page ![]() 105 ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET] DS40002211A When the BOOTRST Fuse is unprogrammed, the Boot section size set to 8Kbytes and the IVSEL bit in the MCUCR Register is set before any interrupts are enabled, the most typical and general program setup for the Reset and Interrupt Vector Addresses is: Address Labels Code Comments 0x00000 RESET: ldi r16,high(RAMEND); Main program start 0x00001 out SPH,r16 ; Set Stack Pointer to top of RAM 0x00002 ldi r16,low(RAMEND) 0x00003 out SPL,r16 0x00004 sei ; Enable interrupts 0x00005 <instr> xxx ; .org 0x1F002 0x1F002 jmp EXT_INT0 ; IRQ0 Handler 0x1F004 jmp EXT_INT1 ; IRQ1 Handler ... ... ... ; 0x1FO70 jmp USART3_TXC ; USART3 TX Complete Handler 0x006 2 jmp TIM5_COMPC ; Timer5 CompareC Handler 0x006 4 jmp TIM5_OVF ; Timer5 Overflow Handler 0x006 6 jmp USART2_RXC ; USART2 RX Complete Handler 0x006 8 jmp USART2_UDRE ; USART2,UDR Empty Handler 0x006 A jmp USART2_TXC ; USART2 TX Complete Handler 0x006 C jmp USART3_RXC ; USART3 RX Complete Handler 0x006 E jmp USART3_UDRE ; USART3,UDR Empty Handler 0x007 0 jmp USART3_TXC ; USART3 TX Complete Handler ; 0x007 2 RESET : ldi r16, high(RAMEND) ; Main program start 0x007 3 out SPH,r16 ; Set Stack Pointer to top of RAM 0x007 4 ldi r16, low(RAMEND) 0x007 5 out SPL,r16 0x007 6 sei ; Enable interrupts 0x007 7 <ins tr > xxx ... ... .. . ... |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |