ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 54

no-image

ATAVRSB202

Manufacturer Part Number
ATAVRSB202
Description
KIT BATT MGMT FOR ATMEGA32HVB
Manufacturer
Atmel
Datasheets

Specifications of ATAVRSB202

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
When the BOOTRST Fuse is unprogrammed, the Boot section size set to 4K bytes and the IVSEL bit in the MCUCR Reg-
ister is set before any interrupts are enabled, the most typical and general program setup for the Reset and Interrupt Vector
Addresses is:
When the BOOTRST Fuse is programmed and the Boot section size set to 4K bytes, the most typical and general program
setup for the Reset and Interrupt Vector Addresses is:
8042B–AVR–06/10
0x001C
0x001E
0X0020
0x0022
0x0024
0x0026
0x0028
0x002A
0x002C
0x002E
0x0030
0x0032
0x0034
0x0036
0x0038
;
0x003A
0x003B
0x003C
0x003D
0x003E
0x003F
0x0040
;
Address Labels
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
;
.org 0x4C02
0x4C02
0x4C04
...
0x4C2C
Address Labels
.org 0x0002
0x0002
0x0004
RESET:
...
RESET:
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
ldi
out
ldi
out
sei
<instr>
...
Code
ldi
out
ldi
out
sei
<instr>
jmp
jmp
...
jmp
Code
jmp
jmp
TIM1_COMPB
TIM1_OVF
TIM0_IC
TIM0_COMPA
TIM0_COMPB
TIM0_OVF
TWI_BUS_CD
TWI
SPI, STC
VADC
CCADC_CONV
CCADC_REC_CUR
CCADC_ACC
EE_RDY
SPM
r16, high(RAMEND)
SPH,r16
r16, low(RAMEND)
SPL,r16
xxx
...
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
BPINT
EXT_INT0
...
SPM_RDY
BPINT
EXT_INT0
xxx
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
; Battery Protection Interrupt Handler
; External Interrupt Request 0 Handler
;
; Store Program Memory Ready Handler
Comments
; Battery Protection Interrupt Handler
; External Interrupt Request 0 Handler
; Timer1 Compare B Handler
; Timer1 Overflow Handler
; Timer0 Input Capture Handler
; Timer0 CompareA Handler
; Timer0 CompareB Handler
; Timer0 Overflow Handler
; Two-wire Bus Connect/Disconnect Handler
; Two-wire Serial Interface Handler
; SPI, Serial Transfer Complete
; Voltage ADC Conversion Complete Handler
; CC-ADC Instantaneous Current Conversion Complete Handler
; CC-ADC Regular Current Handler
; CC-ADC Accumulate Current Conversion Complete Handler
; EEPROM Ready Handler
; Store Program Memory Ready Handler
; Main program start
; Set Stack Pointer to top of RAM
; Enable interrupts
ATmega16HVB/32HVB
54

Related parts for ATAVRSB202