ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 85

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
14.1.2
7598H–AVR–07/09
General Timer/Counter1 Control Register - GTCCR
Table 14-2.
The Stop condition provides a Timer Enable/Disable function.
• Bit 6- PWM1B: Pulse Width Modulator B Enable
When set (one) this bit enables PWM mode based on comparator OCR1B in Timer/Counter1
and the counter value is reset to $00 in the CPU clock cycle after a compare match with OCR1C
register value.
• Bits 5,4 - COM1B1, COM1B0: Comparator B Output Mode, Bits 1 and 0
The COM1B1 and COM1B0 control bits determine any output pin action following a compare
match with compare register B in Timer/Counter1. Output pin actions affect pin PB3 (OC1B).
Since this is an alternative function to an I/O port, the corresponding direction control bit must be
set (one) in order to control an output pin. Note that OC1B is not connected in normal mode.
Table 14-3.
In PWM mode, these bits have different functions. Refer to
description.
Bit
$2C ($4C)
Read/Write
Initial value
COM1B1
CS13
0
0
1
1
0
1
1
1
1
1
1
1
1
Timer/Counter1 Prescale Select (Continued)
TSM
Comparator B Mode Select
R/W
COM1B0
7
0
0
1
0
1
CS12
1
0
0
0
0
1
1
1
1
PWM1B
R/W
6
0
Description
Timer/Counter Comparator B disconnected from output pin OC1B.
Toggle the OC1B output line.
Clear the OC1B output line.
Set the OC1B output line
COM1B1
CS11
R/W
1
0
0
1
1
0
0
1
1
5
0
COM1B0
R/W
4
0
CS10
1
0
1
0
1
0
1
0
1
FOC1B
W
3
0
Asynchronous
Clocking Mode
PCK/64
PCK/128
PCK/256
PCK/512
PCK/1024
PCK/2048
PCK/4096
PCK/8192
PCK/16384
Table 14-4 on page 90
FOC1A
W
2
0
ATtiny25/45/85
PSR1
R/W
1
0
Synchronous
Clocking Mode
CK/64
CK/128
CK/256
CK/512
CK/1024
CK/2048
CK/4096
CK/8192
CK/16384
PSR0
R/W
0
0
for a detailed
GTCCR
85

Related parts for ATtiny25 Automotive