ATtiny2313A Atmel Corporation, ATtiny2313A Datasheet - Page 183
ATtiny2313A
Manufacturer Part Number
ATtiny2313A
Description
Manufacturer
Atmel Corporation
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
Company:
Part Number:
ATtiny2313A-MMH
Manufacturer:
SAMSUNG
Quantity:
101
Company:
Part Number:
ATtiny2313A-MU
Manufacturer:
ATMEL
Quantity:
313
Company:
Part Number:
ATtiny2313A-MUR
Manufacturer:
LT
Quantity:
4 439
Company:
Part Number:
ATtiny2313A-PU
Manufacturer:
TI
Quantity:
1 560
Part Number:
ATtiny2313A-PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny2313A-SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
8246B–AVR–09/11
If successful, the contents of the destination register are as described in section
ture Imprint Table” on page
The RSIG and SPMEN bits will auto-clear after three CPU cycles. When RSIG and SPMEN are
cleared, LPM will work as described in the “AVR Instruction Set” description.
See program example below.
Note:
Assembly Code Example
4. Wait three clock cycles for SPMEN bits to be cleared.
5. Read table data from the LPM destination register.
DSIT_read:
; Uses Z-pointer as table index
ldi
ldi
; Preload SPMCSR bits into R16, then write to SPMCSR
ldi
out SPMCSR, r16
; Issue LPM. Table data will be returned into r17
lpm r17, Z
ret
See
“Code Examples” on page
ZH, 0
ZL, 1
r16, (1<<RSIG)|(1<<SPMEN)
180.
7.
ATtiny2313A/4313
“Device Signa-
183