Section 21. 8-bit A/D Converter

The A/D allows conversion of an analog input signal to a corresponding 8-bit digital number. The output of the sample and hold is the input into the converter, which generates the result via successive approximation. | 21 Microchip Section 21. 8-bit A D Converter HIGHLIGHTS This section of the manual contains the following major topics 8-bit A D Convertor Control A D Acquisition Selecting the A D Conversion Configuring Analog Port A D A D Operation During Sleep . 21-12 A D Accuracy Error . 21-13 Effects of a Use of the CCP Connection Considerations. 21-14 Transfer Design Related Application Notes. 21-17 Revision Note Please refer to Appendix or device Data Sheet to determine which devices use this module. 1997 Microchip Technology Inc. DS31021A page 21-1 PICmicro MID-RANGE MCU FAMILY Introduction The analog-to-digital A D converter module has up to eight analog inputs. The A D allows conversion of an analog input signal to a corresponding 8-bit digital number. The output of the sample and hold is the input into the converter which generates the result via successive approximation. The analog reference voltage is software selectable to either the device s positive supply voltage Vdd or the voltage level on the Vref pin. The A D converter has a unique feature of being able to operate while the device is in SLEEP mode. The A D module has three registers. These registers are A D Result Register ADRES A D Control Register0 ADCON0 A D Control Register1 ADCON1 The ADCON0 register shown in Figure 21-1 controls the operation of the A D module. The ADCON1 register shown in Figure 21-2 configures the functions of the port pins. The I O pins can be configured as analog inputs one I O can also be a voltage reference or as digital I O. The block diagram of the A D module is shown in Figure 21-1. Figure 21-1 8-bit A D Block Diagram CHS2 CHS0 AN7 AN6 AN5 AN4 AN3 VREF AN2 AN1 AN0 PCFG2 PCFG0 Note On some .

Bấm vào đây để xem trước nội dung
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.