ATmega32A Atmel Corporation, ATmega32A Datasheet - Page 85

no-image

ATmega32A

Manufacturer Part Number
ATmega32A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega32A

Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
1
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
2.7 to 5.5
Operating Voltage (vcc)
2.7 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:
ATMEGA32A
Manufacturer:
Atmel
Quantity:
150
Part Number:
ATMEGA32A
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega32A-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32A-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32A-AU
Manufacturer:
ATMEL
Quantity:
5 600
Part Number:
ATmega32A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32A-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega32A-AU
Quantity:
1 920
Part Number:
ATmega32A-AUR
Manufacturer:
SMD
Quantity:
5
Part Number:
ATmega32A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
ATmega32A-MNR
Quantity:
4 000
Part Number:
ATmega32A-MU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATmega32A-PU
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
ATmega32A-PU
Manufacturer:
Atmel
Quantity:
26 792
8155C–AVR–02/11
Table 14-2.
Note:
• Bit 5:4 – COM0[1:0]: Compare Match Output Mode
These bits control the Output Compare pin (OC0) behavior. If one or both of the COM01:0 bits
are set, the OC0 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 the OC0 pin must be
set in order to enable the output driver.
When OC0 is connected to the pin, the function of the COM01:0 bits depends on the WGM01:0
bit setting.
normal or CTC mode (non-PWM).
Table 14-3.
Table 14-4
mode.
Table 14-4.
Note:
Table 14-5
rect PWM mode.
Mode
COM01
0
1
2
3
COM01
0
0
1
1
0
0
1
1
1. The CTC0 and PWM0 bit definition names are now obsolete. Use the WGM01:0 definitions.
1. A special case occurs when OCR0 equals TOP and COM01 is set. In this case, the compare
Table 14-3
WGM01
However, the functionality and location of these bits are compatible with previous versions of
the timer.
match is ignored, but the set or clear is done at BOTTOM. See
for more details.
shows the COM0[1:0] bit functionality when the WGM01:0 bits are set to phase cor-
(CTC0)
shows the COM01:0 bit functionality when the WGM01:0 bits are set to fast PWM
0
0
1
1
Waveform Generation Mode Bit Description
Compare Output Mode, non-PWM Mode
Compare Output Mode, Fast PWM Mode
COM00
COM00
0
1
0
1
0
1
0
1
shows the COM01:0 bit functionality when the WGM01:0 bits are set to a
WGM00
(PWM0)
0
1
0
1
Description
Normal port operation, OC0 disconnected.
Reserved
Clear OC0 on compare match, set OC0 at BOTTOM,
(nin-inverting mode)
Set OC0 on compare match, clear OC0 at BOTTOM,
(inverting mode)
Description
Normal port operation, OC0 disconnected.
Toggle OC0 on compare match
Clear OC0 on compare match
Set OC0 on compare match
Timer/Counter Mode of
Operation
Normal
PWM, Phase Correct
CTC
Fast PWM
(1)
(1)
TOP
0xFF
0xFF
OCR0
0xFF
“Fast PWM Mode” on page 79
Update of
OCR0
Immediate
TOP
Immediate
BOTTOM
ATmega32A
TOV0 Flag
Set-on
MAX
BOTTOM
MAX
MAX
85

Related parts for ATmega32A