ATmega168P Atmel Corporation, ATmega168P Datasheet - Page 91
ATmega168P
Manufacturer Part Number
ATmega168P
Description
Manufacturer
Atmel Corporation
Specifications of ATmega168P
Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
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
Yes
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
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATmega168P-20AU
Manufacturer:
ATMEL
Quantity:
1 250
Company:
Part Number:
ATmega168P-20MU
Manufacturer:
ATMEL
Quantity:
12 000
Part Number:
ATmega168P-20MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega168PA-15AZ
Manufacturer:
VAC
Quantity:
120
Company:
Part Number:
ATmega168PA-15MZ
Manufacturer:
TOSHIBA
Quantity:
1 000
Company:
Part Number:
ATmega168PA-AU
Manufacturer:
Atmel
Quantity:
2 902
Part Number:
ATmega168PA-AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATmega168PA-MMH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
14.4.8
14.4.9
14.4.10
8025M–AVR–6/11
PORTD – The Port D Data Register
DDRD – The Port D Data Direction Register
PIND – The Port D Input Pins Address
Bit
0x0B (0x2B)
Read/Write
Initial Value
Bit
0x0A (0x2A)
Read/Write
Initial Value
Bit
0x09 (0x29)
Read/Write
Initial Value
PORTD7
PIND7
DDD7
R/W
R/W
N/A
R
7
0
7
0
7
PORTD6
PIND6
DDD6
R/W
R/W
N/A
R
6
0
6
0
6
PORTD5
PIND5
DDD5
R/W
R/W
N/A
R
5
0
5
0
5
PORTD4
PIND4
DDD4
R/W
R/W
N/A
R
4
0
4
0
4
PORTD3
PIND3
DDD3
R/W
R/W
N/A
R
3
0
3
0
3
ATmega48P/88P/168P
PORTD2
PIND2
DDD2
R/W
R/W
N/A
R
2
0
2
0
2
PORTD1
PIND1
DDD1
R/W
R/W
N/A
R
1
0
1
0
1
PORTD0
PIND0
DDD0
R/W
R/W
N/A
R
0
0
0
0
0
PORTD
DDRD
PIND
91