Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

ATmega165 Arkusz danych(PDF) 47 Page - ATMEL Corporation

Numer części ATmega165
Szczegółowy opis  8-bit Microcontroller with 16K Bytes In-System Programmable Flash
PDF  336 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  ATMEL [ATMEL Corporation]
Strona internetowa  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega165 Arkusz danych(HTML) 47 Page - ATMEL Corporation

Back Button ATmega165 Datasheet HTML 43Page - ATMEL Corporation ATmega165 Datasheet HTML 44Page - ATMEL Corporation ATmega165 Datasheet HTML 45Page - ATMEL Corporation ATmega165 Datasheet HTML 46Page - ATMEL Corporation ATmega165 Datasheet HTML 47Page - ATMEL Corporation ATmega165 Datasheet HTML 48Page - ATMEL Corporation ATmega165 Datasheet HTML 49Page - ATMEL Corporation ATmega165 Datasheet HTML 50Page - ATMEL Corporation ATmega165 Datasheet HTML 51Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 336 page
background image
47
ATmega165/V
2573G–AVR–07/09
Table 23 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.
Note:
1. The Boot Reset Address is shown in Table 96 on page 244. 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 ATmega165 is:
Address
Labels
Code
Comments
0x0000
jmp
RESET
; Reset Handler
0x0002
jmp
EXT_INT0
; IRQ0 Handler
0x0004
jmp
PCINT0
; PCINT0 Handler
0x0006
jmp
PCINT1
; PCINT0 Handler
0x0008
jmp
TIM2_COMP
; Timer2 Compare Handler
0x000A
jmp
TIM2_OVF
; Timer2 Overflow Handler
0x000C
jmp
TIM1_CAPT
; Timer1 Capture Handler
0x000E
jmp
TIM1_COMPA
; Timer1 CompareA Handler
0x0010
jmp
TIM1_COMPB
; Timer1 CompareB Handler
0x0012
jmp
TIM1_OVF
; Timer1 Overflow Handler
0x0014
jmp
TIM0_COMP
; Timer0 Compare Handler
0x0016
jmp
TIM0_OVF
; Timer0 Overflow Handler
0x0018
jmp
SPI_STC
; SPI Transfer Complete Handler
0x001A
jmp
USART_RXC
; USART RX Complete Handler
0x001C
jmp
USART_DRE
; USART,UDR Empty Handler
0x001E
jmp
USART_TXC
; USART TX Complete Handler
0x0020
jmp
USI_STRT
; USI Start Condition Handler
0x0022
jmp
USI_OVFL
; USI Overflow Handler
0x0024
jmp
ANA_COMP
; Analog Comparator Handler
0x0026
jmp
ADC
; ADC Conversion Complete Handler
0x0028
jmp
EE_RDY
; EEPROM Ready Handler
0x002A
jmp
SPM_RDY
; SPM Ready Handler
;
0x002C
RESET:
ldi
r16, high(RAMEND); Main program start
0x002E
out
SPH,r16
Set Stack Pointer to top of RAM
0x002F
ldi
r16, low(RAMEND)
0x0030
out
SPL,r16
0x0031
sei
; Enable interrupts
0x0032
<instr>
xxx
...
...
...
...
Table 23. 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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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