ATMEGA16A-AUR Atmel, ATMEGA16A-AUR Datasheet - Page 82

no-image

ATMEGA16A-AUR

Manufacturer Part Number
ATMEGA16A-AUR
Description
MCU AVR 16KB FLASH 16MHZ 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA16A-AUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA16A-AUR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
14.9
14.9.1
82
Register Description
ATmega16A
TCCR0 – Timer/Counter Control Register
Figure 14-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match Mode, with Pres-
• Bit 7 – FOC0: Force Output Compare
The FOC0 bit is only active when the WGM00 bit specifies a non-PWM mode. However, for
ensuring compatibility with future devices, this bit must be set to zero when TCCR0 is written
when operating in PWM mode. When writing a logical one to the FOC0 bit, an immediate com-
pare match is forced on the Waveform Generation unit. The OC0 output is changed according to
its COM01:0 bits setting. Note that the FOC0 bit is implemented as a strobe. Therefore it is the
value present in the COM01:0 bits that determines the effect of the forced compare.
A FOC0 strobe will not generate any interrupt, nor will it clear the timer in CTC mode using
OCR0 as TOP.
The FOC0 bit is always read as zero.
• Bit 3, 6 – WGM0[1:0]: Waveform Generation Mode
These bits control the counting sequence of the counter, the source for the maximum (TOP)
counter value, and what type of Waveform Generation to be used. Modes of operation sup-
ported by the Timer/Counter unit are: Normal mode, Clear Timer on Compare Match (CTC)
mode, and two types of Pulse Width Modulation (PWM) modes. See
Operation” on page
Bit
Read/Write
Initial Value
TCNTn
(clk
(CTC)
OCRn
OCFn
clk
clk
I/O
I/O
Tn
/8)
FOC0
caler (f
W
7
0
76.
clk_I/O
WGM00
R/W
6
0
TOP - 1
/8)
COM01
R/W
5
0
COM00
R/W
4
0
TOP
WGM01
R/W
3
0
TOP
CS02
R/W
2
0
BOTTOM
CS01
R/W
1
0
Table 14-2
CS00
R/W
0
0
BOTTOM + 1
TCCR0
and
8154B–AVR–07/09
“Modes of

Related parts for ATMEGA16A-AUR