ATtiny40 Atmel Corporation, ATtiny40 Datasheet - Page 59

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
10.3.3
8263A–AVR–08/10
Alternate Functions of Port C
The Port C pins with alternate function are shown in
Table 10-10. Port A Pins Alternate Functions
• Port C, Bit 0 – OC0A/PCINT12
• Port C, Bit 1 – SCK/SCL/ICP1/T1/PCINT13
• OC0A: Output Compare Match output. Provided that the pin has been configured as an
• SS: Slave Select Input. Regardless of DDC0, this pin is automatically configured as an input
• PCINT12: Pin Change Interrupt source 12. The PC0 pin can serve as an external interrupt
• SCK: SPI Clock.
• SCL: TWI Clock. The pin is disconnected from the part and becomes the serial clock for the
• ICP1: Timer/Counter1 Input Capture Pin.
• T1: Timer/Counter1 counter source.
• PCINT13: Pin Change Interrupt source 13. The PC1 pin can serve as an external interrupt
output it serves as an external output for Timer/Counter0 Compare Match A. This pin is also
the output for the timer/counter PWM mode function.
when SPI is enabled as a slave. The data direction of this pin is controlled by DDC0 when
SPI is enabled as a master.
source for pin change interrupt 2.
TWI when TWEN in TWSCRA is set. In this mode of operation, the pin is driven by an open
drain driver with slew rate limitation and a spike filter.
source for pin change interrupt 2.
Port Pin
PC0
PC1
PC2
PC3
PC4
PC5
Alternate Function
OC0A: Timer/Counter0 Compare Match A output
SS :
PCINT12:Pin Change Interrupt 0, Source 12
SCK:
SCL :
ICP1:
T1:
PCINT13:Pin Change Interrupt 0, Source 13
INT0:
CLKO: System Clock Output
MISO:
PCINT14:Pin Change Interrupt 0, Source 14
RESET: Reset pin
PCINT15:Pin Change Interrupt 0, Source 15
MOSI:
SDA:
TPIDATA:Serial Programming Data
PCINT16:Pin Change Interrupt 0, Source 16
CLKI:
TPICLK: Serial Programming Clock
PCINT17:Pin Change Interrupt 0, Source 17
SPI Slave Select
SPI Clock
TWI Clock
Timer/Counter1 Input Capture Pin
Timer/Counter1 Clock Source
External Interrupt 0 Input
SPI Master Input / Slave Output
SPI Master Output / Slave Input
TWI Data Input /Output
External Clock Input
Table
10-10.
59

Related parts for ATtiny40