ATmega329A Atmel Corporation, ATmega329A Datasheet - Page 108

no-image

ATmega329A

Manufacturer Part Number
ATmega329A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega329A

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
54
Ext Interrupts
17
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Segment Lcd
100
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega329A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329A-MUR
Manufacturer:
AT
Quantity:
20 000
15.9
15.9.1
8284D–AVR–6/11
Register Description
TCCR0A – Timer/Counter Control Register A
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P
Figure 15-10. Timer/Counter Timing Diagram, Setting of OCF0A, with Prescaler (f
Figure 15-11
Figure 15-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres-
• Bit 7 – FOC0A: Force Output Compare A
The FOC0A 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 TCCR0A is written
when operating in PWM mode. When writing a logical one to the FOC0A bit, an immediate com-
pare match is forced on the Waveform Generation unit. The OC0A output is changed according
to its COM0A1:0 bits setting. Note that the FOC0A bit is implemented as a strobe. Therefore it is
the value present in the COM0A1:0 bits that determines the effect of the forced compare.
A FOC0A strobe will not generate any interrupt, nor will it clear the timer in CTC mode using
OCR0A as TOP.
The FOC0A bit is always read as zero.
Bit
0x24 (0x44)
Read/Write
Initial Value
TCNTn
TCNTn
(clk
(clk
OCRnx
OCFnx
(CTC)
OCRnx
OCFnx
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
Tn
/8)
/8)
shows the setting of OCF0A and the clearing of TCNT0 in CTC mode.
caler (f
FOC0A
W
7
0
clk_I/O
WGM00
OCRnx - 1
TOP - 1
R/W
6
0
/8)
COM0A1
R/W
5
0
COM0A0
R/W
OCRnx
TOP
4
0
OCRnx Value
WGM01
TOP
R/W
3
0
CS02
OCRnx + 1
BOTTOM
R/W
2
0
CS01
R/W
1
0
BOTTOM + 1
CS00
OCRnx + 2
R/W
0
0
clk_I/O
/8)
TCCR0A
108

Related parts for ATmega329A