ATtiny2313A Atmel Corporation, ATtiny2313A Datasheet - Page 12

no-image

ATtiny2313A

Manufacturer Part Number
ATtiny2313A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny2313A

Flash (kbytes)
2 Kbytes
Pin Count
20
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
18
Ext Interrupts
18
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny2313A-MMH
Manufacturer:
SAMSUNG
Quantity:
101
Part Number:
ATtiny2313A-MU
Manufacturer:
ATMEL
Quantity:
313
Company:
Part Number:
ATtiny2313A-MU
Quantity:
20 000
Part Number:
ATtiny2313A-MUR
Manufacturer:
LT
Quantity:
4 439
Part Number:
ATtiny2313A-PU
Manufacturer:
TI
Quantity:
1 560
Part Number:
ATtiny2313A-PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny2313A-PU
Quantity:
1 800
Part Number:
ATtiny2313A-SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
4.5
4.6
12
Stack Pointer
Instruction Execution Timing
ATtiny2313A/4313
Figure 4-3.
In the different addressing modes these address registers have functions as fixed displacement,
automatic increment, and automatic decrement (see the instruction set reference for details).
The Stack is mainly used for storing temporary data, for storing local variables and for storing
return addresses after interrupts and subroutine calls. The Stack Pointer Register always points
to the top of the Stack. Note that the Stack is implemented as growing from higher memory loca-
tions to lower memory locations. This implies that a Stack PUSH command decreases the Stack
Pointer.
The Stack Pointer points to the data SRAM Stack area where the Subroutine and Interrupt
Stacks are located. This Stack space in the data SRAM must be defined by the program before
any subroutine calls are executed or interrupts are enabled. The Stack Pointer must be set to
point above 0x60. The Stack Pointer is decremented by one when data is pushed onto the Stack
with the PUSH instruction, and it is decremented by two when the return address is pushed onto
the Stack with subroutine call or interrupt. The Stack Pointer is incremented by one when data is
popped from the Stack with the POP instruction, and it is incremented by two when data is
popped from the Stack with return from subroutine RET or return from interrupt RETI.
The Stack Pointer is implemented as one 8-bit register in the I/O space.
This section describes the general access timing concepts for instruction execution. The AVR
CPU is driven by the CPU clock clk
chip. No internal clock division is used.
Figure 4-4
vard architecture and the fast-access Register File concept. This is the basic pipelining concept
to obtain up to 1 MIPS per MHz with the corresponding unique results for functions per cost,
functions per clocks, and functions per power-unit.
X-register
Y-register
Z-register
Bit
0x3D (0x5D)
Read/Write
Initial Value
shows the parallel instruction fetches and instruction executions enabled by the Har-
The X-, Y-, and Z-registers
RAMEND
SP7
R/W
7
15
7
R27 (0x1B)
15
7
R29 (0x1D)
15
7
R31 (0x1F)
RAMEND
R/W
SP6
6
RAMEND
XH
YH
ZH
0
SP5
R/W
CPU
5
, directly generated from the selected clock source for the
RAMEND
R/W
SP4
4
0
0
RAMEND
SP3
R/W
7
R26 (0x1A)
7
R28 (0x1C)
7
R30 (0x1E)
3
RAMEND
SP2
R/W
2
XL
YL
ZL
RAMEND
R/W
SP1
0
1
RAMEND
SP0
R/W
0
8246B–AVR–09/11
0
0
0
0
0
SPL

Related parts for ATtiny2313A