AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 57

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
7710D–AVR–08/09
When the BOOTRST Fuse is unprogrammed, 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 typical and
general program setup for the Reset and Interrupt Vector Addresses in AT90PWM216/316 is:
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
AT90PWM216/316 is:
0x01E
0x020
0x022
0x024
0x026
0x028
0x02A
0x02C
0x02E
0x030
0x032
0x034
0x036
0x038
0x03E
;
0x040RESET:
0x041
0x042
0x043
0x044
0x045
Address Labels Code
0x000
0x001
0x002
0x003
0x004
0x005
;
.org 0xC01
0xC01
0xC02
...
0xC1F
Address Labels Code
.org 0x001
0x001
...
RESET: ldi
...
rjmp
rjmp
out
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
ldi
sei
<instr>
out
ldi
out
sei
<instr>
rjmp
rjmp
...
rjmp
rjmp
...
TIM1_OVF
SPM_RDY
SPL,r16
...
TIM0_COMPA
TIM0_OVF
ADC
EXT_INT1
SPI_STC
USART_RXC
USART_UDRE
USART_TXC
EXT_INT2
WDT
EE_RDY
TIM0_COMPB
EXT_INT3
r16, high(RAMEND); Main program start
SPH,r16
r16, low(RAMEND)
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
PSC2_CAPT
PSC2_EC
...
SPM_RDY
PSC2_CAPT
xxx
xxx
; Timer1 Overflow Handler
; Store Program Memory Ready Handler
Comments
; Timer0 Compare A Handler
; Timer0 Overflow Handler
; ADC Conversion Complete Handler
; IRQ1 Handler
; SPI Transfer Complete Handler
; USART, RX Complete Handler
; USART, UDR Empty Handler
; USART, TX Complete Handler
; IRQ2 Handler
; Watchdog Timer Handler
; EEPROM Ready Handler
; Timer0 Compare B Handler
; IRQ3 Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
; PSC2 Capture event Handler
; PSC2 End Cycle Handler
;
; Store Program Memory Ready Handler
; PSC2 Capture event Handler
AT90PWM216/316
57

Related parts for AT90PWM216-16SE