ATTINY28L-4AU Atmel, ATTINY28L-4AU Datasheet - Page 20

IC MCU AVR 2K FLASH 4MHZ 32-TQFP

ATTINY28L-4AU

Manufacturer Part Number
ATTINY28L-4AU
Description
IC MCU AVR 2K FLASH 4MHZ 32-TQFP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY28L-4AU

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
Processor Series
ATTINY2x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
32 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
11
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Package
32TQFP
Device Core
AVR
Family Name
ATtiny
Maximum Speed
4 MHz
Ram Size
32 Byte
Operating Supply Voltage
3.3|5 V
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIPATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Ram Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY28L-4AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATTINY28L-4AUR
Manufacturer:
Atmel
Quantity:
10 000
Interrupts
Reset and Interrupt
Interrupt Handling
20
ATtiny28L/V
The ATtiny28 provides five different interrupt sources. These interrupts and the reset
vector each have a separate program vector in the program memory space. All the inter-
rupts are assigned to individual enable bits. In order to enable the interrupt, both the
individual enable bit and the I-bit in the status register (SREG) must be set to one.
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 7. 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.
Table 7. Reset and Interrupt Vectors
The most typical and general program setup for the Reset and Interrupt vector
addresses are:
The ATtiny28 has one 8-bit Interrupt Control Register (ICR).
When an interrupt occurs, the Global Interrupt Enable I-bit is cleared (zero) and all inter-
rupts are disabled. The user software can set (one) the I-bit to enable nested interrupts.
The I-bit is set (one) when a Return from Interrupt instruction (RETI) is executed.
When the program counter is vectored to the actual interrupt vector in order to execute
the interrupt handling routine, hardware clears the corresponding flag that generated the
interrupt. Some of the interrupt flags can also be cleared by writing a logical “1” to the
flag bit position(s) to be cleared.
Vector
Address
$000
$001
$002
$003
$004
$005
;
$006
No.
1
2
3
4
5
6
Labels
MAIN:
Program
Address
$000
$001
$002
$003
$004
$005
Code
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
<instr>
Source
RESET
INT0
INT1
Input Pins
TIMER0,
OVF0
ANA_COMP
xxx
RESET
EXT_INT0
EXT_INT1
LOW_LEVEL
TIM0_OVF
ANA_COMP
Interrupt Definition
Hardware Pin, Power-on Reset and
Watchdog Reset
External Interrupt Request 0
External Interrupt Request 1
Low-level Input on Port B
Timer/Counter0 Overflow
Analog Comparator
Comments
; Reset handler
; IRQ0 handler
; IRQ1 handler
; Low level input handler
; Timer0 overflow handle
; Analog Comparator handle
; Main program start
1062F–AVR–07/06

Related parts for ATTINY28L-4AU