at90ls8535-8mi ATMEL Corporation, at90ls8535-8mi Datasheet - Page 21

no-image

at90ls8535-8mi

Manufacturer Part Number
at90ls8535-8mi
Description
8-bit Microcontroller With 8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Reset Sources
1041H–11/01
Table 2. Reset and Interrupt Vectors (Continued)
The most typical and general program setup for the Reset and Interrupt vector
addresses are:
The AT90S8535 has three sources of reset:
During reset, all I/O registers are set to their initial values and the program starts execu-
tion from address $000. The instruction placed in address $000 must be an RJMP
(relative jump) instruction to the reset handling routine. If the program never enables an
interrupt source, the interrupt vectors are not used and regular program code can be
Vector No.
Address Labels
$000
$001
$002
$003
$004
$005
$006
$007
$008
$009
$00a
$00b
$00c
$00d
$00e
Handler
$00f
$010
$011
$012
$013
$014
$015
Power-on Reset. The MCU is reset when the supply voltage is below the Power-on
Reset threshold (V
External Reset. The MCU is reset when a low level is present on the RESET pin for
more than 50 ns.
Watchdog Reset. The MCU is reset when the Watchdog timer period expires and
the Watchdog is enabled.
13
14
15
16
17
MAIN:
Program Address
<instr> xxx
$00C
$00D
$00E
$00F
$010
POT
Code
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
ldi
out
).
RESET
EXT_INT0
EXT_INT1
TIM2_COMP
TIM2_OVF
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
TIM1_OVF
TIM0_OVF
SPI_STC;
UART_RXC
UART_DRE
UART_TXC
ADC
EE_RDY
ANA_COMP
r16, high(RAMEND); Main program start
SPH,r16
r16, low(RAMEND) ;
SPL,r16
Source
UART, UDRE
UART, TX
ADC
EE_RDY
ANA_COMP
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; Timer2 Compare Handler
; Timer2 Overflow Handler
; Timer1 Capture Handler
; Timer1 CompareA Handler
; Timer1 CompareB Handler
; Timer0 Overflow Handler
; SPI Transfer Complete Handler
; UART RX Complete Handler
; UDR Empty Handler
; UART TX Complete Handler
; ADC Conversion Complete Interrupt
; EEPROM Ready Handler
; Analog Comparator Handler
; Timer1 Overflow Handler
Interrupt Definition
UART Data Register Empty
UART, Tx Complete
ADC Conversion Complete
EEPROM Ready
Analog Comparator
AT90S/LS8535
21

Related parts for at90ls8535-8mi