PIC18F2331/2431/4331/4431
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.
21.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 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)
The A/D module supports up to 5 input channels on
PIC18F2331/2431 devices, and up to 9 channels on
the PIC18F4331/4431 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
2010 Microchip Technology Inc.
DS39616D-page 239