© 2004 Microchip Technology Inc. DS70064C-page 17-1
10-bit A/D
Converter
17
Section 17. 10-bit A/D Converter
HIGHLIGHTS
This section of the manual contains the following major topics:
17.1 Introduction .................................................................................................................. 17-2
17.2 Control Registers ......................................................................................................... 17-4
17.3 A/D Result Buffer ......................................................................................................... 17-4
17.4 A/D Terminology and Conversion Sequence ............................................................. 17-11
17.5 A/D Module Configuration.......................................................................................... 17-13
17.6 Selecting the Voltage Reference Source ................................................................... 17-13
17.7 Selecting the A/D Conversion Clock .......................................................................... 17-13
17.8 Selecting Analog Inputs for Sampling ........................................................................ 17-14
17.9 Enabling the Module .................................................................................................. 17-16
17.10 Specifying the Sample/Conversion Sequence........................................................... 17-16
17.11 How to Start Sampling ............................................................................................... 17-17
17.12 How to Stop Sampling and Start Conversions ........................................................... 17-18
17.13 Controlling Sample/Conversion Operation................................................................. 17-29
17.14 Specifying How Conversion Results are Written Into the Buffer ................................ 17-30
17.15 Conversion Sequence Examples............................................................................... 17-31
17.16 A/D Sampling Requirements...................................................................................... 17-45
17.17 Reading the A/D Result Buffer................................................................................... 17-46
17.18 Transfer Function....................................................................................................... 17-47
17.19 A/D Accuracy/Error .................................................................................................... 17-47
17.20 Connection Considerations........................................................................................ 17-47
17.21 Initialization ................................................................................................................ 17-48
17.22 Operation During Sleep and Idle Modes.................................................................... 17-49
17.23 Effects of a Reset....................................................................................................... 17-49
17.24 Special Function Registers Associated with the 10-bit A/D Converter....................... 17-50
17.25 Design Tips ................................................................................................................ 17-51
17.26 Related Application Notes.......................................................................................... 17-52
17.27 Revision History ......................................................................................................... 17-53