AT90S2313-4PI Atmel, AT90S2313-4PI Datasheet - Page 18

IC MCU 2K 4MHZ UART LV IT 20DIP

AT90S2313-4PI

Manufacturer Part Number
AT90S2313-4PI
Description
IC MCU 2K 4MHZ UART LV IT 20DIP
Manufacturer
Atmel
Series
AVR® 90Sr
Datasheet

Specifications of AT90S2313-4PI

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S2313-4PI
Manufacturer:
ATMEL
Quantity:
5 530
Part Number:
AT90S2313-4PI
Quantity:
5 510
Part Number:
AT90S2313-4PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Reset and Interrupt
Handling
18
AT90S2313
The AT90S2313 provides 10 different interrupt sources. These interrupts and the sepa-
rate Reset Vector each have a separate Program Vector in the program memory space.
All the interrupts are assigned individual enable bits that must be set (one) together with
the I-bit in the Status Register in order to enable the interrupt.
The lowest addresses in the Program memory space are automatically defined as the
Reset and Interrupt Vectors. The complete list of vectors is shown in Table 2. The list
also determines the priority levels of the different interrupts. The lower the address, the
higher the priority level. RESET has the highest priority, and next is INT0 (the External
Interrupt Request 0), etc.
Table 2. Reset and Interrupt Vectors
The most typical and general program setup for the Reset and Interrupt Vector
addresses are:
Vector No.
Address Labels Code
$000
$001
$002
$003
$004
$005
$006
$007
$008
$009
$00a
;
$00b
$00c
$00d
10
11
1
2
3
4
5
6
7
8
9
MAIN:
Program Address
rjmp RESET
rjmp EXT_INT0
rjmp EXT_INT1
rjmp TIM_CAPT1
rjmp TIM_COMP1
rjmp TIM_OVF1
rjmp TIM_OVF0
rjmp UART_RXC
rjmp UART_DRE
rjmp UART_TXC
rjmp ANA_COMP
ldi r16,low(RAMEND); Main program start
out SPL,r16
<instr>
$00A
$000
$001
$002
$003
$004
$005
$006
$007
$008
$009
xxx
Source
RESET
INT0
INT1
TIMER1 CAPT1
TIMER1 COMP1
TIMER1 OVF1
TIMER0 OVF0
UART, RX
UART, UDRE
UART, TX
ANA_COMP
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; Timer1 Capture Handler
; Timer1 Compare Handler
; Timer1 Overflow Handler
; Timer0 Overflow Handler
; UART RX Complete Handler
; UDR Empty Handler
; UART TX Complete Handler
; Analog Comparator Handler
Hardware Pin, Power-on Reset and
Watchdog Reset
Interrupt Definition
External Interrupt Request 0
External Interrupt Request 1
Timer/Counter1 Capture Event
Timer/Counter1 Compare Match
Timer/Counter1 Overflow
Timer/Counter0 Overflow
UART, RX Complete
UART Data Register Empty
UART, TX Complete
Analog Comparator
0839I–AVR–06/02

Related parts for AT90S2313-4PI