ATmega329 Atmel Corporation, ATmega329 Datasheet - Page 238

no-image

ATmega329

Manufacturer Part Number
ATmega329
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega329

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
16 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:
ATmega329-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329-16AU
Manufacturer:
ST
Quantity:
2 100
Part Number:
ATmega329-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3290-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AU
Manufacturer:
AT
Quantity:
20 000
Part Number:
ATmega3290P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3290PV-10AU
Manufacturer:
SIPEX
Quantity:
17 600
Part Number:
ATmega3290PV-10AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
238
ATmega329/3290/649/6490
Note:
Assembly Code Example
C Code Example
LCD_disable:
Wait_1:
Wait_2:
Void LCD_disable(void);
{
while ( !(LCDCRA & (1<<LCDIF)) )
while ( !(LCDCRA & (1<<LCDIF)) )
}
; Wait until a new frame is started.
lds
sbrs r16, LCDIF
rjmp Wait_1
; Set LCD Blanking and clear interrupt flag
; by writing a logical one to the flag.
ldi
sts
; Wait until LCD Blanking is effective.
lds
sbrs r16, LCDIF
rjmp Wait_2
; Disable LCD.
ldi
sts
ret
/* Wait until a new frame is started. */
;
/* Set LCD Blanking and clear interrupt flag */
/* by writing a logical one to the flag. */
LCDCRA = (1<<LCDEN)|(1<<LCDIF)|(1<<LCDBL);
/* Wait until LCD Blanking is effective. */
;
/* Disable LCD */
LCDCRA = (0<<LCDEN);
1.
See “About Code Examples” on page 9.
r16, LCDCRA
r16, (1<<LCDEN)|(1<<LCDIF)|(1<<LCDBL)
LCDCRA, r16
r16, LCDCRA
r16, (0<<LCDEN)
LCDCRA, r16
(1)
(1)
2552K–AVR–04/11

Related parts for ATmega329