ATtiny85 Atmel Corporation, ATtiny85 Datasheet - Page 111
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny85
Manufacturer Part Number
ATtiny85
Description
Manufacturer
Atmel Corporation
Datasheets
1.ATTINY25.pdf
(34 pages)
2.ATTINY25.pdf
(34 pages)
3.ATTINY25.pdf
(30 pages)
4.ATTINY85.pdf
(234 pages)
Specifications of ATtiny85
Flash (kbytes)
8 Kbytes
Pin Count
8
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
3
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
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
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATtiny85-15SZ
Manufacturer:
ATMEL
Quantity:
30
Company:
Part Number:
ATtiny85-20PU
Manufacturer:
CUI
Quantity:
1 000
Part Number:
ATtiny85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny85V-10SH
Manufacturer:
Intel
Quantity:
62
Part Number:
ATtiny85V-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
15. USI – Universal Serial Interface
15.1
15.2
2586N–AVR–04/11
Features
Overview
•
•
•
•
•
•
The Universal Serial Interface (USI), provides the basic hardware resources needed for serial
communication. Combined with a minimum of control software, the USI allows significantly
higher transfer rates and uses less code space than solutions based on software only. Interrupts
are included to minimize the processor load.
A simplified block diagram of the USI is shown in
refer to
listed in the
Figure 15-1. Universal Serial Interface, Block Diagram
The 8-bit USI Data Register (USIDR) contains the incoming and outgoing data. It is directly
accessible via the data bus but a copy of the contents is also placed in the USI Buffer Register
(USIBR) where it can be retrieved later. If reading the USI Data Register directly, the register
must be read as quickly as possible to ensure that no data is lost.
The most significant bit of the USI Data Register is connected to one of two output pins (depend-
ing on the mode configuration, see
transparent latch between the output of the USI Data Register and the output pin, which delays
Two-wire Synchronous Data Transfer (Master or Slave)
Three-wire Synchronous Data Transfer (Master or Slave)
Data Received Interrupt
Wakeup from Idle Mode
Wake-up from All Sleep Modes In Two-wire Mode
Two-wire Start Condition Detector with Interrupt Capability
“Pinout ATtiny25/45/85” on page
“Register Descriptions” on page
USIDR
USIBR
USISR
USICR
2
4-bit Counter
“USICR – USI Control Register” on page
3
2
1
0
3
2
1
0
D Q
LE
2. Device-specific I/O Register and bit locations are
118.
[1]
TIM0 COMP
Figure 15-1
0
1
Control Unit
Two-wire
For actual placement of I/O pins
Clock
ATtiny25/45/85
CLOCK
HOLD
DO
DI/SDA
USCK/SCL
120). There is a
(Output only)
(Input/Open Drain)
(Input/Open Drain)
111