ATtiny28L Atmel Corporation, ATtiny28L Datasheet - Page 5

no-image

ATtiny28L

Manufacturer Part Number
ATtiny28L
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny28L

Flash (kbytes)
2 Kbytes
Pin Count
28
Max. Operating Frequency
4 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
11
Ext Interrupts
10
Usb Speed
No
Usb Interface
No
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.03
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny28L-1AC
Manufacturer:
ATMEL
Quantity:
1 187
Part Number:
ATtiny28L-1AI
Manufacturer:
ATMEL
Quantity:
2 840
Part Number:
ATtiny28L-4AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny28L-4AC
Manufacturer:
ATMEL
Quantity:
31 007
Part Number:
ATtiny28L-4AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny28L-4AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny28L-4AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny28L-4AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny28L-4AUR
Manufacturer:
ATMEL
Quantity:
4 759
Part Number:
ATtiny28L-4MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny28L-4PC
Manufacturer:
EPCOS
Quantity:
3 000
Part Number:
ATtiny28L-4PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny28L-4PI
Quantity:
479
Part Number:
ATtiny28L-4PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
ALU – Arithmetic Logic
Unit
Subroutine and Interrupt
Hardware Stack
General-purpose
Register File
1062F–AVR–07/06
r a t e i n t e r r u p t v e c t o r i n t h e i n t e r r u p t v e c t o r t a b le a t t h e b e g i n n i n g o f t h e
program memory. The different interrupts have priority in accordance with their interrupt
vector position. The lower the interrupt vector address, the higher the priority.
The high-performance AVR ALU operates in direct connection with all the 32 general-
purpose working registers. Within a single clock cycle, ALU operations between regis-
ters in the register file are executed. The ALU operations are divided into three main
categories – arithmetic, logic and bit functions. Some microcontrollers in the AVR prod-
uct family feature a hardware multiplier in the arithmetic part of the ALU.
The ATtiny28 uses a 3-level-deep hardware stack for subroutines and interrupts. The
hardware stack is 10 bits wide and stores the program counter (PC) return address
while subroutines and interrupts are executed.
RCALL instructions and interrupts push the PC return address onto stack level 0, and
the data in the other stack levels 1 - 2 are pushed one level deeper in the stack. When a
RET or RETI instruction is executed the returning PC is fetched from stack level 0, and
the data in the other stack levels 1 - 2 are popped one level in the stack.
If more than three subsequent subroutine calls or interrupts are executed, the first val-
ues written to the stack are overwritten.
Figure 4 shows the structure of the 32 general-purpose registers in the CPU.
Figure 4. AVR CPU General-purpose Working Registers
All the register operating instructions in the instruction set have direct and single cycle
access to all registers. The only exception are the five constant arithmetic and logic
instructions SBCI, SUBI, CPI, ANDI and ORI between a constant and a register and the
LDI instruction for load immediate constant data. These instructions apply to the second
half of the registers in the register file – R16..R31. The general SBC, SUB, CP, AND,
OR and all other operations between two registers or on a single register apply to the
entire register file.
Registers 30 and 31 form a 16-bit pointer (the Z-pointer), which is used for indirect Flash
memory and register file access. When the register file is accessed, the contents of R31
are discarded by the CPU.
Registers
Purpose
Working
General
7
R30 (Z-Register low byte)
R31(Z-Register high byte)
R29
R28
R0
R1
R2
ATtiny28L/V
0
5

Related parts for ATtiny28L