ATtiny28L  

Manufacturer Part Number  ATtiny28L 
Manufacturer  Atmel Corporation 
ATtiny28L datasheets 

Specifications of ATtiny28L  

Flash (kbytes)  2 Kbytes  Pin Count  28 
Max. Operating Frequency  4 MHz  Cpu  8bit 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 
PrevNext
Instruction Set Summary
Mnemonic
Operands
Description
ARITHMETIC AND LOGIC INSTRUCTIONS
ADD
Rd, Rr
Add Two Registers
ADC
Rd, Rr
Add with Carry Two Registers
SUB
Rd, Rr
Subtract Two Registers
SUBI
Rd, K
Subtract Constant from Register
SBC
Rd, Rr
Subtract with Carry Two Registers
SBCI
Rd, K
Subtract with Carry Constant from Reg.
AND
Rd, Rr
Logical AND Registers
ANDI
Rd, K
Logical AND Register and Constant
OR
Rd, Rr
Logical OR Registers
ORI
Rd, K
Logical OR Register and Constant
EOR
Rd, Rr
Exclusive OR Registers
COM
Rd
One’s Complement
NEG
Rd
Two’s Complement
SBR
Rd, K
Set Bit(s) in Register
CBR
Rd, K
Clear Bit(s) in Register
INC
Rd
Increment
DEC
Rd
Decrement
TST
Rd
Test for Zero or Minus
CLR
Rd
Clear Register
SER
Rd
Set Register
BRANCH INSTRUCTIONS
RJMP
k
Relative Jump
RCALL
k
Relative Subroutine Call
RET
Subroutine Return
RETI
Interrupt Return
CPSE
Rd, Rr
Compare, Skip if Equal
CP
Rd, Rr
Compare
CPC
Rd, Rr
Compare with Carry
CPI
Rd, K
Compare Register with Immediate
SBRC
Rr, b
Skip if Bit in Register Cleared
SBRS
Rr, b
Skip if Bit in Register is Set
SBIC
P, b
Skip if Bit in I/O Register Cleared
SBIS
P, b
Skip if Bit in I/O Register is Set
BRBS
s, k
Branch if Status Flag Set
BRBC
s, k
Branch if Status Flag Cleared
BREQ
k
Branch if Equal
BRNE
k
Branch if Not Equal
BRCS
k
Branch if Carry Set
BRCC
k
Branch if Carry Cleared
BRSH
k
Branch if Same or Higher
BRLO
k
Branch if Lower
BRMI
k
Branch if Minus
BRPL
k
Branch if Plus
BRGE
k
Branch if Greater or Equal, Signed
BRLT
k
Branch if Less than Zero, Signed
BRHS
k
Branch if Halfcarry Flag Set
BRHC
k
Branch if Halfcarry Flag Cleared
BRTS
k
Branch if Tflag Set
BRTC
k
Branch if Tflag Cleared
BRVS
k
Branch if Overflow Flag is Set
BRVC
k
Branch if Overflow Flag is Cleared
BRIE
k
Branch if Interrupt Enabled
BRID
k
Branch if Interrupt Disabled
1062F–AVR–07/06
Operation
Rd ← Rd + Rr
Rd ← Rd + Rr + C
Rd ← Rd  Rr
Rd ← Rd  K
Rd ← Rd  Rr  C
Rd ← Rd  K  C
Rd ← Rd • Rr
Rd ← Rd • K
Rd ← Rd v Rr
Rd ← Rd v K
Rd ← Rd ⊕ Rr
Rd ← $FF  Rd
Rd ← $00  Rd
Rd ← Rd v K
Rd ← Rd • (FFh  K)
Rd ← Rd + 1
Rd ← Rd  1
Rd ← Rd • Rd
Rd ← Rd ⊕ Rd
Rd ← $FF
PC ← PC + k + 1
PC ← PC + k + 1
PC ← STACK
PC ← STACK
if (Rd = Rr) PC ← PC + 2 or 3
Rd  Rr
Rd  Rr  C
Rd  K
if (Rr(b) = 0) PC ← PC + 2 or 3
if (Rr(b) = 1) PC ← PC + 2 or 3
if (P(b) = 0) PC ← PC + 2 or 3
if (P(b) = 1) PC ← PC + 2 or 3
if (SREG(s) = 1) then PC ← PC + k + 1
if (SREG(s) = 0) then PC ← PC + k + 1
if (Z = 1) then PC ← PC + k + 1
if (Z = 0) then PC ← PC + k + 1
if (C = 1) then PC ← PC + k + 1
if (C = 0) then PC ← PC + k + 1
if (C = 0) then PC ← PC + k + 1
if (C = 1) then PC ← PC + k + 1
if (N = 1) then PC ← PC + k + 1
if (N = 0) then PC ← PC + k + 1
if (N ⊕ V = 0) then PC ← PC + k + 1
if (N ⊕ V = 1) then PC ← PC + k + 1
if (H = 1) then PC ← PC + k + 1
if (H = 0) then PC ← PC + k + 1
if (T = 1) then PC ← PC + k + 1
if (T = 0) then PC ← PC + k + 1
if (V = 1) then PC ← PC + k + 1
if (V = 0) then PC ← PC + k + 1
if (I = 1) then PC ← PC + k + 1
if (I = 0) then PC ← PC + k + 1
ATtiny28L/V
Flags
# Clocks
Z,C,N,V,H
1
Z,C,N,V,H
1
Z,C,N,V,H
1
Z,C,N,V,H
1
Z,C,N,V,H
1
Z,C,N,V,H
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,C,N,V
1
Z,C,N,V,H
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
Z,N,V
1
None
1
None
2
None
3
None
4
I
4
None
1/2
Z,N,V,C,H
1
Z,N,V,C,H
1
Z N,V,C,H
1
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
None
1/2
71
Related parts for ATtiny28L  

Part Number  Manufacturer  Datasheet  
ATtiny10  Atmel Corporation 


ATtiny13  Atmel Corporation 


ATtiny13A  Atmel Corporation 


ATtiny167  Atmel Corporation 


ATtiny167 Automotive  Atmel Corporation 


ATtiny20  Atmel Corporation 


ATtiny2313  Atmel Corporation 


ATtiny2313A  Atmel Corporation 


ATtiny24  Atmel Corporation 


ATtiny24 Automotive  Atmel Corporation 


ATtiny24A  Atmel Corporation 


ATtiny25  Atmel Corporation 


ATtiny25 Automotive  Atmel Corporation 


ATtiny26  Atmel Corporation 


ATtiny261  Atmel Corporation 
