ATmega168P Atmel Corporation, ATmega168P Datasheet - Page 11
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
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
8025MS–AVR–6/11
0x3D (0x5D)
0x3C (0x5C)
0x2D (0x4D)
0x2C (0x4C)
0x3E (0x5E)
0x3B (0x5B)
0x3A (0x5A)
0x2E (0x4E)
0x2B (0x4B)
0x2A (0x4A)
0x1E (0x3E)
Address
0x3F (0x5F)
0x39 (0x59)
0x38 (0x58)
0x37 (0x57)
0x36 (0x56)
0x35 (0x55)
0x34 (0x54)
0x33 (0x53)
0x32 (0x52)
0x31 (0x51)
0x30 (0x50)
0x2F (0x4F)
0x29 (0x49)
0x28 (0x48)
0x27 (0x47)
0x26 (0x46)
0x25 (0x45)
0x24 (0x44)
0x23 (0x43)
0x22 (0x42)
0x21 (0x41)
0x20 (0x40)
0x1F (0x3F)
(0x7F)
(0x7E)
(0x7D)
(0x7C)
(0x7B)
(0x7A)
(0x79)
(0x78)
(0x77)
(0x76)
(0x75)
(0x74)
(0x73)
(0x72)
(0x71)
(0x70)
(0x6F)
(0x6E)
(0x6D)
(0x6C)
(0x6B)
(0x6A)
(0x69)
(0x68)
(0x67)
(0x66)
(0x65)
(0x64)
(0x63)
(0x62)
(0x61)
(0x60)
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
WDTCSR
Reserved
Reserved
Reserved
Reserved
Reserved
SPMCSR
Reserved
Reserved
Reserved
Reserved
Reserved
ADCSRB
ADCSRA
PCMSK2
PCMSK1
PCMSK0
OSCCAL
TCCR0B
TCCR0A
Name
MCUCR
MCUSR
GPIOR2
GPIOR1
GPIOR0
ADMUX
TIMSK2
TIMSK1
TIMSK0
GTCCR
CLKPR
OCR0B
OCR0A
EEARH
EEARL
EICRA
PCICR
TCNT0
DIDR1
DIDR0
SMCR
ADCH
ADCL
SREG
ACSR
SPDR
SPSR
SPCR
EEDR
EECR
PRR
SPH
SPL
PCINT23
COM0A1
CLKPCE
PCINT7
FOC0A
REFS1
PRTWI
SPMIE
Bit 7
ADEN
WDIF
SPIE
ACD
SPIF
TSM
SP7
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
I
(RWWSB)
PCINT22
PCINT14
COM0A0
PRTIM2
PCINT6
FOC0B
REFS0
Bit 6
ACME
WCOL
ADSC
BODS
ACBG
WDIE
SP6
SPE
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
T
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
5.
PCINT21
PCINT13
COM0B1
PRTIM0
PCINT5
BODSE
ADC5D
ADLAR
ADATE
EEPM1
Bit 5
WDP3
DORD
ICIE1
ACO
SP5
H
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Timer/Counter0 Output Compare Register B
Timer/Counter0 Output Compare Register A
(EEPROM Address Register High Byte)
EEPROM Address Register Low Byte
(RWWSRE)
General Purpose I/O Register 2
General Purpose I/O Register 1
General Purpose I/O Register 0
Oscillator Calibration Register
ADC Data Register High byte
ADC Data Register Low byte
PCINT20
PCINT12
COM0B0
ADC4D
PCINT4
EEPM0
WDCE
Bit 4
MSTR
ADIF
EEPROM Data Register
PUD
SP4
ACI
Timer/Counter0 (8-bit)
S
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
SPI Data Register
5.
PCINT19
PCINT11
CLKPS3
BLBSET
PRTIM1
WGM02
ADC3D
PCINT3
WDRF
EERIE
Bit 3
MUX3
ISC11
CPOL
ADIE
WDE
ACIE
SM2
SP3
V
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
5.
PCINT18
PCINT10
(SP10)
CLKPS2
OCIE2B
OCIE1B
OCIE0B
PGWRT
ADC2D
PCINT2
EEMPE
ADTS2
ADPS2
PRSPI
Bit 2
MUX2
ISC10
PCIE2
WDP2
BORF
CPHA
CS02
ACIC
SM1
SP2
N
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ATmega48P/88P/168P
5.
PRUSART0
PCINT17
PSRASY
CLKPS1
OCIE2A
OCIE1A
OCIE0A
WGM01
PCINT9
PCINT1
PGERS
ADC1D
ADTS1
ADPS1
EXTRF
Bit 1
AIN1D
PCIE1
WDP1
IVSEL
ACIS1
MUX1
ISC01
SPR1
EEPE
CS01
SM0
SP9
SP1
–
–
–
–
–
–
–
–
–
–
–
–
–
Z
–
–
–
–
–
–
–
–
–
–
–
SELFPRGEN
PSRSYNC
PCINT16
CLKPS0
WGM00
PCINT8
PCINT0
PRADC
ADC0D
ADPS0
ADTS0
Bit 0
AIN0D
TOIE2
TOIE1
TOIE0
PCIE0
WDP0
ACIS0
MUX0
ISC00
PORF
SPI2X
EERE
SPR0
CS00
IVCE
SP8
SP0
SE
C
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
45/66/90
141/163
Page
247
264
260
263
261
263
263
161
137
109
289
245
173
172
171
72
72
72
69
38
43
38
55
10
13
13
55
41
26
26
22
22
22
22
26
11