attiny25v ATMEL Corporation, attiny25v Datasheet - Page 81

no-image

attiny25v

Manufacturer Part Number
attiny25v
Description
Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
29 497
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
5 000
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL
Quantity:
2 110
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-15ST
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
2586K–AVR–01/08
Table 11-3
mode.
Table 11-3.
Note:
Table 11-4
rect PWM mode.
Table 11-4.
Note:
• Bits 3, 2 – Res: Reserved Bits
These bits are reserved bits in the ATtiny25/45/85 and will always read as zero.
• Bits 1:0 – WGM01:0: Waveform Generation Mode
Combined with the WGM02 bit found in the TCCR0B Register, these bits control the counting
sequence of the counter, the source for maximum (TOP) counter value, and what type of wave-
form generation to be used, see
unit are: Normal mode (counter), Clear Timer on Compare Match (CTC) mode, and two types of
Pulse Width Modulation (PWM) modes (see
COM0A1
COM0B1
COM0A1
COM0B1
0
0
1
1
0
0
1
1
1. A special case occurs when OCR0A or OCR0B equals TOP and COM0A1/COM0B1 is set. In
1. A special case occurs when OCR0A or OCR0B equals TOP and COM0A1/COM0B1 is set. In
this case, the compare match is ignored, but the set or clear is done at BOTTOM. See
PWM Mode” on page 75
this case, the Compare Match is ignored, but the set or clear is done at TOP. See
rect PWM Mode” on page 77
shows the COM0x1:0 bit functionality when the WGM02:0 bits are set to phase cor-
shows the COM0x1:0 bit functionality when the WGM02:0 bits are set to fast PWM
Compare Output Mode, Fast PWM Mode
Compare Output Mode, Phase Correct PWM Mode
COM0A0
COM0B0
COM0A0
COM0B0
0
1
0
1
0
1
0
1
Description
Normal port operation, OC0A/OC0B disconnected.
Reserved
Clear OC0A/OC0B on Compare Match, set OC0A/OC0B at BOTTOM
(non-inverting mode)
Set OC0A/OC0B on Compare Match, clear OC0A/OC0B at BOTTOM
(inverting mode)
Description
Normal port operation, OC0A/OC0B disconnected.
Reserved
Clear OC0A/OC0B on Compare Match when up-counting.
Set OC0A/OC0B on Compare Match when down-counting.
Set OC0A/OC0B on Compare Match when up-counting.
Clear OC0A/OC0B on Compare Match when down-counting.
Table
for more details.
for more details.
11-5. Modes of operation supported by the Timer/Counter
“Modes of Operation” on page
(1)
(1)
ATtiny25/45/85
74).
“Phase Cor-
“Fast
81

Related parts for attiny25v