| 전자부품 데이터시트 검색엔진 |
|
AT90PWM2 데이터시트(PDF) 59 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90PWM2 데이터시트(HTML) 59 Page - ATMEL Corporation |
|
59 / 365 page ![]() 59 AT90PWM2/3 4317B–AVR–02/05 When the BOOTRST Fuse is programmed and the Boot section size set to 2K bytes, the most typical and general program setup for the Reset and Interrupt Vector Addresses in AT90PWM2/3 is: Address Labels Code Comments .org 0x001 0x001 rjmp PSC2_CAPT ; PSC2 Capture event Handler 0x002 rjmp PSC2_EC ; PSC2 End Cycle Handler ... ... ... ; 0x01F rjmp SPM_RDY ; Store Program Memory Ready Handler ; .org 0xC00 0xC00 RESET: ldi r16,high(RAMEND); Main program start 0xC01 out SPH,r16 ; Set Stack Pointer to top of RAM 0xC02 ldi r16,low(RAMEND) 0xC03 out SPL,r16 0xC04 sei ; Enable interrupts 0xC05 <instr> xxx When the BOOTRST Fuse is programmed, the Boot section size set to 2K bytes and the IVSEL bit in the MCUCR Register is set before any interrupts are enabled, the most typ- ical and general program setup for the Reset and Interrupt Vector Addresses in AT90PWM2/3 is: Address Labels Code Comments ; .org 0xC00 0xC00 rjmp RESET ; Reset handler 0xC01 rjmp PSC2_CAPT ; PSC2 Capture event Handler 0xC02 rjmp PSC2_EC ; PSC2 End Cycle Handler ... ... ... ; 0xC1F rjmp SPM_RDY ; Store Program Memory Ready Handler ; 0xC20 RESET: ldi r16,high(RAMEND); Main program start 0xC21 out SPH,r16 ; Set Stack Pointer to top of RAM 0xC22 ldi r16,low(RAMEND) 0xC23 out SPL,r16 0xC24 sei ; Enable interrupts 0xC25 <instr> xxx |
|
링크 URL |
| 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 |