ATmega168A Atmel Corporation, ATmega168A Datasheet - Page 94

no-image

ATmega168A

Manufacturer Part Number
ATmega168A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega168A

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
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
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega168A-AU
Manufacturer:
ATMEL
Quantity:
464
Part Number:
ATmega168A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega168A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega168A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega168A-PU
Manufacturer:
ATMEL
Quantity:
1 000
14.4
14.4.1
14.4.2
14.4.3
14.4.4
14.4.5
14.4.6
14.4.7
8271D–AVR–05/11
Register Description
MCUCR – MCU Control Register
PORTB – The Port B Data Register
DDRB – The Port B Data Direction Register
PINB – The Port B Input Pins Address
PORTC – The Port C Data Register
DDRC – The Port C Data Direction Register
PINC – The Port C Input Pins Address
Notes:
• Bit 4 – PUD: Pull-up Disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See
figuring the Pin” on page 78
Bit
0x35 (0x55)
Read/Write
Initial Value
Bit
0x05 (0x25)
Read/Write
Initial Value
Bit
0x04 (0x24)
Read/Write
Initial Value
Bit
0x03 (0x23)
Read/Write
Initial Value
Bit
0x08 (0x28)
Read/Write
Initial Value
Bit
0x07 (0x27)
Read/Write
Initial Value
Bit
0x06 (0x26)
Read/Write
Initial Value
1. BODS and BODSE only available for picoPower devices ATmega48PA/88PA/168PA/328P
PORTB7
PINB7
DDB7
R/W
R/W
R/W
N/A
R
7
0
R
R
R
7
0
7
0
7
7
0
7
0
7
0
ATmega48A/PA/88A/PA/168A/PA/328/P
PORTB6
PORTC6
BODS
PINB6
PINC6
DDB6
DDC6
R/W
R/W
R/W
(1)
R/W
R/W
R/W
(1)
R/W
N/A
N/A
6
0
6
0
6
6
0
6
0
6
6
0
(1)
for more details about this feature.
PORTB5
PORTC5
BODSE
PINB5
PINC5
DDB5
DDC5
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
R/W
5
0
5
0
5
5
0
5
0
5
5
0
(1)
PORTB4
PORTC4
PINB4
PINC4
DDB4
DDC4
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
4
0
4
0
4
4
0
4
0
4
PUD
R/W
4
0
PORTB3
PORTC3
PINB3
PINC3
DDB3
DDC3
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
3
0
3
0
3
3
0
3
0
3
R
3
0
PORTB2
PORTC2
PINB2
PINC2
DDB2
DDC2
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
2
0
2
0
2
2
0
2
0
2
R
2
0
PORTB1
PORTC1
PINB1
PINC1
DDB1
DDC1
IVSEL
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
R/W
1
0
1
0
1
1
0
1
0
1
1
0
PORTB0
PORTC0
PINB0
PINC0
DDB0
DDC0
IVCE
R/W
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
0
0
0
0
0
0
0
0
0
0
0
0
MCUCR
PORTB
PORTC
DDRB
DDRC
PINB
PINC
”Con-
94

Related parts for ATmega168A