ATmega169P Atmel Corporation, ATmega169P Datasheet - Page 25

no-image

ATmega169P

Manufacturer Part Number
ATmega169P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega169P

Flash (kbytes)
16 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)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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:
ATmega169P-15AT
Manufacturer:
PANASONIC
Quantity:
301
Part Number:
ATmega169P-15AT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169P-15AT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169P-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169P-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega169PA-MU
Manufacturer:
ATMEL
Quantity:
31
Part Number:
ATmega169PAAU
Manufacturer:
INF
Quantity:
4 275
Part Number:
ATmega169PV-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169PV-8MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega169PV-8MUR
Manufacturer:
LISHENG
Quantity:
1 000
8018P–AVR–08/10
The following code examples show one assembly and one C function for writing to the
EEPROM. To avoid that interrupts will occur during execution of these functions, the examples
assume that interrupts are controlled (for example by disabling interrupts globally). The exam-
ples also assume that no Flash Boot Loader is present in the software. If such code is present,
the EEPROM write function must also wait for any ongoing SPM command to finish.
Assembly Code Example
C Code Example
EEPROM_write:
void EEPROM_write(unsigned int uiAddress, unsigned char ucData)
{
}
; Wait for completion of previous write
sbic EECR,EEWE
rjmp EEPROM_write
; Set up address (r18:r17) in address register
out EEARH, r18
out EEARL, r17
; Write data (r16) to Data Register
out EEDR,r16
; Write logical one to EEMWE
sbi EECR,EEMWE
; Start eeprom write by setting EEWE
sbi EECR,EEWE
ret
/* Wait for completion of previous write */
while(EECR & (1<<EEWE))
/* Set up address and Data Registers */
EEAR = uiAddress;
EEDR = ucData;
/* Write logical one to EEMWE */
EECR |= (1<<EEMWE);
/* Start eeprom write by setting EEWE */
EECR |= (1<<EEWE);
;
ATmega169P
25

Related parts for ATmega169P