ATtiny2313 Atmel Corporation, ATtiny2313 Datasheet - Page 53

no-image

ATtiny2313

Manufacturer Part Number
ATtiny2313
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny2313

Flash (kbytes)
2 Kbytes
Pin Count
20
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
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
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
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:
ATtiny2313-20
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny2313-20MI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny2313-20MU
Manufacturer:
原装ATMEL
Quantity:
20 000
Part Number:
ATtiny2313-20PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny2313-20PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny2313-20PU
Quantity:
6 000
Company:
Part Number:
ATtiny2313-20PU
Quantity:
53
Part Number:
ATtiny2313-20SI
Manufacturer:
AT
Quantity:
95
Part Number:
ATtiny2313-20SU
Manufacturer:
ATMEL
Quantity:
441
Part Number:
ATtiny2313-20SU
Manufacturer:
AT
Quantity:
1 212
Part Number:
ATtiny2313A-MMH
Manufacturer:
SAMSUNG
Quantity:
101
Part Number:
ATtiny2313A-MU
Manufacturer:
ATMEL
Quantity:
313
Company:
Part Number:
ATtiny2313A-MU
Quantity:
20 000
Company:
Part Number:
ATtiny2313A-PU
Quantity:
1 800
MCU Control Register
– MCUCR
Alternate Functions of
Port A
Alternate Functions of
Port B
2543L–AVR–08/10
• Bit 7 – PUD: Pull-up Disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See
figuring the Pin” on page 47
The Port A pins with alternate functions are as shown in
Table 24. Port A Pins Alternate Functions
The Port B pins with alternate functions are shown in
Table 25. Port B Pins Alternate Functions
The alternate pin configuration is as follows:
• USCK/SCL/PCINT7 - Port B, Bit 7
USCK: Three-wire mode Universal Serial Interface Clock.
SCL: Two-wire mode Serial Clock for USI Two-wire mode.
PCINT7: Pin Change Interrupt source 7. The PB7 pin can serve as an external interrupt source.
• DO/PCINT6 - Port B, Bit 6
DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output over-
rides PORTB6 value and it is driven to the port when data direction bit DDB6 is set (one).
However the PORTB6 bit still controls the pull-up enabling pull-up, if direction is input and
PORTB6 is set (one).
PCINT6: Pin Change Interrupt Source 6. The PB6 pin can serve as an external interrupt source.
Bit
Read/Write
Initial Value
Port Pin
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
Port Pin
PA2
PA1
PA0
Alternate Functions
USCK/SCL/PCINT7
DO/PCINT6
DI/SDA/PCINT5
OC1B/PCINT4
OC1A/PCINT3
OC0A/PCINT2
AIN1/PCINT1
AIN0/PCINT0
PUD
R/W
7
0
SM1
R/W
6
0
Alternate Function
RESET, dW
XTAL2
XTAL1
for more details about this feature.
R/W
SE
5
0
SM0
R/W
4
0
ISC11
R/W
3
0
Table
Table
ISC10
R/W
2
0
25.
5.
ISC01
R/W
1
0
ISC00
R/W
0
0
MCUCR
“Con-
53

Related parts for ATtiny2313