ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 72

no-image

ATtiny25 Automotive

Manufacturer Part Number
ATtiny25 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny25 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
8
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
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.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 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
12.8
12.8.1
72
8-bit Timer/Counter Register Description
ATtiny25/45/85
Timer/Counter Control Register A – TCCR0A
Figure 12-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres-
• Bits 7:6 – COM01A:0: Compare Match Output A Mode
These bits control the Output Compare pin (OC0A) behavior. If one or both of the COM0A1:0
bits are set, the OC0A output overrides the normal port functionality of the I/O pin it is connected
to. However, note that the Data Direction Register (DDR) bit corresponding to the OC0A pin
must be set in order to enable the output driver.
When OC0A is connected to the pin, the function of the COM0A1:0 bits depends on the
WGM02:0 bit setting.
are set to a normal or CTC mode (non-PWM).
Table 12-1.
Table 12-2
mode.
Table 12-2.
Bit
Read/Write
Initial Value
COM01
COM01
TCNTn
(clk
OCRnx
(CTC)
OCFnx
clk
clk
0
0
1
1
0
I/O
I/O
Tn
/8)
shows the COM0A1:0 bit functionality when the WGM01:0 bits are set to fast PWM
COM0A1
caler (f
Compare Output Mode, non-PWM Mode
Compare Output Mode, Fast PWM Mode
R/W
7
0
COM00
COM00
0
1
0
1
0
clk_I/O
Table 12-1
COM0A0
TOP - 1
R/W
6
0
/8)
Description
Normal port operation, OC0A disconnected.
Toggle OC0A on Compare Match
Clear OC0A on Compare Match
Set OC0A on Compare Match
Description
Normal port operation, OC0A disconnected.
COM0B1
shows the COM0A1:0 bit functionality when the WGM02:0 bits
R/W
5
0
COM0B0
R/W
TOP
4
0
TOP
R
3
0
(1)
BOTTOM
R
2
0
WGM01
R/W
1
0
BOTTOM + 1
WGM00
R/W
0
0
7598H–AVR–07/09
TCCR0A

Related parts for ATtiny25 Automotive