ATtiny40 Atmel Corporation, ATtiny40 Datasheet - Page 20

no-image

ATtiny40

Manufacturer Part Number
ATtiny40
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny40

Flash (kbytes)
4 Kbytes
Pin Count
20
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
Yes
Max I/o Pins
18
Ext Interrupts
18
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Self Program Memory
NO
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
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATtiny40-MMHR
Quantity:
6 000
6. Clock System
6.1
6.1.1
6.1.2
6.1.3
20
Clock Subsystems
ATtiny40
CPU Clock – clk
I/O Clock – clk
NVM clock - clk
I/O
Figure 6-1
clocks need not be active at a given time. In order to reduce power consumption, the clocks to
modules not being used can be halted by using different sleep modes and power reduction reg-
ister bits, as described in
systems is detailed below.
Figure 6-1.
The clock subsystems are detailed in the sections below.
The CPU clock is routed to parts of the system concerned with operation of the AVR Core.
Examples of such modules are the General Purpose Register File, the System Registers and
the SRAM data memory. Halting the CPU clock inhibits the core from performing general opera-
tions and calculations.
The I/O clock is used by the majority of the I/O modules, like Timer/Counter. The I/O clock is
also used by the External Interrupt module, but note that some external interrupts are detected
by asynchronous logic, allowing such interrupts to be detected even if the I/O clock is halted.
The NVM clock controls operation of the Non-Volatile Memory Controller. The NVM clock is usu-
ally active simultaneously with the CPU clock.
NVM
CPU
presents the principal clock systems and their distribution in ATtiny40. All of the
ANALOG-TO-DIGITAL
Clock Distribution
PRESCALER
CONVERTER
SWITCH
CLOCK
CLOCK
EXTERNAL
CLOCK
SOURCE CLOCK
clk
ADC
“Power Management and Sleep Modes” on page
CLOCK CONTROL UNIT
I/O MODULES
GENERAL
OSCILLATOR
clk
WATCHDOG
RESET
I/O
LOGIC
WATCHDOG
CLOCK
CORE
CPU
clk
RAM
CPU
WATCHDOG
TIMER
CALIBRATED
OSCILLATOR
clk
NVM
NVM
27. The clock
8263A–AVR–08/10

Related parts for ATtiny40