ATtiny5 Atmel Corporation, ATtiny5 Datasheet - Page 25

no-image

ATtiny5

Manufacturer Part Number
ATtiny5
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny5

Flash (kbytes)
0.5 Kbytes
Pin Count
6
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
1
Hardware Qtouch Acquisition
No
Max I/o Pins
4
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
8
Adc Speed (ksps)
15
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 125
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
Output Compare Channels
2
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny5-TS8R
Manufacturer:
Atmel
Quantity:
8 105
Part Number:
ATtiny5-TSHR
Manufacturer:
OMRON
Quantity:
1 500
Part Number:
ATtiny5-TSHR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny5-TSHR
Quantity:
12 000
Part Number:
ATtiny55V-10SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
7.3.1
7.3.2
7.3.3
7.3.4
7.4
7.4.1
8127E–AVR–11/11
Register Description
Analog Comparator
Analog to Digital Converter
Watchdog Timer
Port Pins
SMCR – Sleep Mode Control Register
When entering Idle mode, the analog comparator should be disabled if not used. In the power-
down mode, the analog comparator is automatically disabled. See
page 82
If enabled, the ADC will be enabled in all sleep modes. To save power, the ADC should be dis-
abled before entering any sleep mode. When the ADC is turned off and on again, the next
conversion will be an extended conversion. See
details on ADC operation.
The ADC is available in ATtiny5/10, only.
If the Watchdog Timer is not needed in the application, this module should be turned off. If the
Watchdog Timer is enabled, it will be enabled in all sleep modes, and hence, always consume
power. In the deeper sleep modes, this will contribute significantly to the total current consump-
tion. Refer to
When entering a sleep mode, all port pins should be configured to use minimum power. The
most important thing is then to ensure that no pins drive resistive loads. In sleep modes where
the I/O clock (clk
no power is consumed by the input logic when not needed. In some cases, the input logic is
needed for detecting wake-up conditions, and it will then be enabled. Refer to the section
Input Enable and Sleep Modes” on page 45
buffer is enabled and the input signal is left floating or has an analog signal level close to V
the input buffer will use excessive power.
For analog input pins, the digital input buffer should be disabled at all times. An analog signal
level close to V
input buffers can be disabled by writing to the Digital Input Disable Register (DIDR0). Refer to
“DIDR0 – Digital Input Disable Register 0” on page 83
The SMCR Control Register contains control bits for power management.
• Bits 7:4 – Res: Reserved Bits
These bits are reserved and will always read zero.
Bit
0x3A
Read/Write
Initial Value
for further details.
“Watchdog Timer” on page 30
CC
R
7
0
I/O
/2 on an input pin can cause significant current even in active mode. Digital
) is stopped, the input buffers of the device will be disabled. This ensures that
R
6
0
R
5
0
4
R
0
for details on how to configure the Watchdog Timer.
for details on which pins are enabled. If the input
SM2
R/W
3
0
“Analog to Digital Converter” on page 84
for details.
SM1
R/W
2
0
SM0
R/W
1
0
ATtiny4/5/9/10
“Analog Comparator” on
R/W
SE
0
0
SMCR
“Digital
CC
for
/2,
25

Related parts for ATtiny5