ATmega168P Atmel Corporation, ATmega168P Datasheet - Page 416

no-image

ATmega168P

Manufacturer Part Number
ATmega168P
Description
Manufacturer
Atmel Corporation
Datasheets

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
iv
ATmega48P/88P/168P
18 8-bit Timer/Counter2 with PWM and Asynchronous Operation ...... 142
19 SPI – Serial Peripheral Interface ......................................................... 164
20 USART0 ................................................................................................. 174
21 USART in SPI Mode ............................................................................. 202
18.1Features ..............................................................................................................142
18.2Overview .............................................................................................................142
18.3Timer/Counter Clock Sources .............................................................................143
18.4Counter Unit ........................................................................................................143
18.5Output Compare Unit ..........................................................................................144
18.6Compare Match Output Unit ................................................................................146
18.7Modes of Operation .............................................................................................147
18.8Timer/Counter Timing Diagrams .........................................................................151
18.9Asynchronous Operation of Timer/Counter2 .......................................................153
18.10Timer/Counter Prescaler ...................................................................................154
18.11Register Description ..........................................................................................156
19.1Features ..............................................................................................................164
19.2Overview .............................................................................................................164
19.3SS Pin Functionality ............................................................................................169
19.4Data Modes .........................................................................................................169
19.5Register Description ............................................................................................171
20.1Features ..............................................................................................................174
20.2Overview .............................................................................................................174
20.3Clock Generation .................................................................................................175
20.4Frame Formats ....................................................................................................178
20.5USART Initialization ............................................................................................180
20.6Data Transmission – The USART Transmitter ....................................................181
20.7Data Reception – The USART Receiver .............................................................184
20.8Asynchronous Data Reception ............................................................................188
20.9Multi-processor Communication Mode ................................................................191
20.10Register Description ..........................................................................................193
20.11Examples of Baud Rate Setting ........................................................................197
21.1Features ..............................................................................................................202
21.2Overview .............................................................................................................202
21.3Clock Generation .................................................................................................202
21.4SPI Data Modes and Timing ...............................................................................203
8025M–AVR–6/11

Related parts for ATmega168P