ATtiny40 Atmel Corporation, ATtiny40 Datasheet - Page 213

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
8263A–AVR–08/10
13 Timer/Counter Prescaler ....................................................................... 98
14 Analog Comparator ............................................................................. 101
15 Analog to Digital Converter ................................................................ 105
16 SPI – Serial Peripheral Interface ......................................................... 122
17 TWI – Two Wire Slave Interface .......................................................... 131
12.6
12.7
12.8
12.9
12.10
13.1
13.2
13.3
14.1
14.2
15.1
15.2
15.3
15.4
15.5
15.6
15.7
15.8
15.9
15.10
15.11
15.12
15.13
16.1
16.2
16.3
16.4
16.5
17.1
Output Compare Unit .......................................................................................87
Modes of Operation .........................................................................................87
Timer/Counter Timing Diagrams .....................................................................89
Accessing Registers in 16-bit Mode ................................................................90
Register Description ........................................................................................94
Prescaler Reset ...............................................................................................98
External Clock Source .....................................................................................98
Register Description ......................................................................................100
Analog Comparator Multiplexed Input ...........................................................102
Register Description ......................................................................................102
Features ........................................................................................................105
Overview ........................................................................................................105
Operation .......................................................................................................106
Starting a Conversion ....................................................................................107
Prescaling and Conversion Timing ................................................................108
Changing Channel or Reference Selection ...................................................111
ADC Noise Canceler .....................................................................................112
Analog Input Circuitry ....................................................................................112
Noise Canceling Techniques .........................................................................113
ADC Accuracy Definitions .............................................................................113
ADC Conversion Result .................................................................................116
Temperature Measurement ...........................................................................116
Register Description ......................................................................................117
Features ........................................................................................................122
Overview ........................................................................................................122
SS Pin Functionality ......................................................................................126
Data Modes ...................................................................................................127
Register Description ......................................................................................128
Features ........................................................................................................131
iii

Related parts for ATtiny40