ata6616 ATMEL Corporation, ata6616 Datasheet - Page 124

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
4.11.11
4.11.11.1
124
ATA6616/ATA6617 [Preliminary]
8-bit Timer/Counter Register Description
Timer/Counter0 Control Register A – TCCR0A
• Bit 7:6 – COM0A1:0: Compare Match Output Mode A
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 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
WGM01:0 bit setting.
are set to a normal or CTC mode (non-PWM).
Table 4-29.
Table 4-30
mode.
Table 4-30.
Bit
Read/Write
Initial Value
Note:
COM0A1
COM0A1
0
0
1
1
0
0
1
1
1. A special case occurs when OCR0A equals TOP and COM0A1 is set. In this case, the Com-
shows the COM0A1:0 bit functionality when the WGM01:0 bits are set to fast PWM
pare Match is ignored, but the set or clear is done at TOP. See
Mode” on page 117
COM0A1 COM0A0
Compare Output Mode, non-PWM Mode
Compare Output Mode, Fast PWM Mode
R/W
COM0A0
7
0
COM0A0
0
1
0
1
0
1
0
1
Table 4-29
R/W
6
0
Description
Normal port operation, OC0A disconnected.
Clear OC0A on Compare Match.
Set OC0A at BOTTOM (non-inverting mode).
Set OC0A on Compare Match.
Clear OC0A at BOTTOM (inverting mode).
Description
Normal port operation, OC0A disconnected.
Toggle OC0A on Compare Match.
Clear OC0A on Compare Match.
Set OC0A on Compare Match.
for more details.
shows the COM0A1:0 bit functionality when the WGM01:0 bits
R
5
0
R
4
0
DRAFT
R
3
0
(1)
R
2
0
Section 4.11.7.3 “Fast PWM
WGM01
R/W
1
0
WGM00
R/W
9132A–AUTO–10/08
0
0
TCCR0A

Related parts for ata6616