Datasheet

28. ADC - Analog-to-Digital Converter........................................................................ 340
28.1. Features................................................................................................................................... 340
28.2. Overview.................................................................................................................................. 340
28.3. Starting a Conversion...............................................................................................................342
28.4. Prescaling and Conversion Timing...........................................................................................343
28.5. Changing Channel or Reference Selection.............................................................................. 345
28.6. ADC Noise Canceler................................................................................................................ 347
28.7. ADC Conversion Result........................................................................................................... 350
28.8. Temperature Measurement...................................................................................................... 351
28.9. Register Description................................................................................................................. 351
29. PTC - Peripheral Touch Controller.........................................................................360
29.1. Features................................................................................................................................... 360
29.2. Overview.................................................................................................................................. 360
29.3. Block Diagram.......................................................................................................................... 361
29.4. Signal Description.................................................................................................................... 362
29.5. System Dependencies............................................................................................................. 362
29.6. Functional Description..............................................................................................................363
30. debugWIRE On-chip Debug System.....................................................................364
30.1. Features................................................................................................................................... 364
30.2. Overview.................................................................................................................................. 364
30.3. Physical Interface.....................................................................................................................364
30.4. Software Breakpoints............................................................................................................... 365
30.5. Limitations of debugWIRE........................................................................................................365
30.6. Register Description................................................................................................................. 365
31. BTLDR - Boot Loader Support – Read-While-Write Self-Programming................ 367
31.1. Features................................................................................................................................... 367
31.2. Overview.................................................................................................................................. 367
31.3. Application and Boot Loader Flash Sections............................................................................367
31.4. Read-While-Write and No Read-While-Write Flash Sections...................................................368
31.5. Entering the Boot Loader Program...........................................................................................370
31.6. Boot Loader Lock Bits.............................................................................................................. 371
31.7. Addressing the Flash During Self-Programming...................................................................... 372
31.8. Self-Programming the Flash.....................................................................................................373
31.9. Register Description................................................................................................................. 381
32. MEMPROG - Memory Programming.....................................................................384
32.1. Program And Data Memory Lock Bits...................................................................................... 384
32.2. Fuse Bits.................................................................................................................................. 385
32.3. Signature Bytes........................................................................................................................387
32.4. Calibration Byte........................................................................................................................388
32.5. Serial Number.......................................................................................................................... 388
32.6. Page Size.................................................................................................................................390
32.7. Parallel Programming Parameters, Pin Mapping, and Commands..........................................390
32.8. Parallel Programming...............................................................................................................392
ATmega328PB
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 7