English
Language : 

PIC18F2331 Datasheet, PDF (245/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
20.0 10-BIT HIGH-SPEED ANALOG-
TO-DIGITAL CONVERTER (A/D)
MODULE
The high-speed Analog-to-Digital (A/D) Converter
module allows conversion of an analog signal to a
corresponding 10-bit digital number.
The A/D module supports up to 5 input channels on
PIC18F2X31 devices, and up to 9 channels on the
PIC18F4X31 devices.
This high-speed 10-bit A/D module offers the following
features:
• Up to 200K samples per second
• Two sample and hold inputs for dual-channel
simultaneous sampling
• Selectable simultaneous or sequential sampling
modes
• 4-word data buffer for A/D results
• Selectable data acquisition timing
• Selectable A/D event trigger
• Operation in Sleep using internal oscillator
These features lend themselves to many applications
including motor control, sensor interfacing, data
acquisition and process control. In many cases, these
features will reduce the software overhead associated
with standard A/D modules.
The module has 9 registers:
• A/D Result High Register (ADRESH)
• A/D Result Low Register (ADRESL)
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
• A/D Control Register 2 (ADCON2)
• A/D Control Register 3 (ADCON3)
• A/D Channel Select Register (ADCHS)
• Analog I/O Select Register 0 (ANSEL0)
• Analog I/O Select Register 1 (ANSEL1)
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 243