MCP1726T-ADJZEMF Microchip Technology, MCP1726T-ADJZEMF Datasheet - Page 65

no-image

MCP1726T-ADJZEMF

Manufacturer Part Number
MCP1726T-ADJZEMF
Description
Regulator, Extended Industrial, HVSON, 8-Pin|
Manufacturer
Microchip Technology
Datasheet
10.0
The analog-to-digital converter (A/D) allows conversion
of an analog input signal to a 10-bit binary representa-
tion of that signal. The PIC12F683 has four analog
inputs, multiplexed into one sample and hold circuit.
FIGURE 10-1:
10.1
There are two registers available to control the
functionality of the A/D module:
1.
2.
10.1.1
The ANS3:ANS0 bits (ANSEL<3:0>) and the TRISIO
bits control the operation of the A/D port pins. Set the
corresponding TRISIO bits to set the pin output driver
to its high-impedance state. Likewise, set the corre-
sponding ANSEL bit to disable the digital input buffer.
10.1.2
There are four analog channels on the PIC12F683,
AN0
(ADCON0<4:2>) control which channel is connected to
the sample and hold circuit.
 2003 Microchip Technology Inc.
Note:
ADCON0 (Register 10-1)
ANSEL (Register 10-2)
through
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
A/D Configuration and Operation
ANALOG PORT PINS
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.
CHANNEL SELECTION
GP1/AN1/V
AN3.
A/D BLOCK DIAGRAM
GP0/AN0
GP2/AN2
GP4/AN3
The
REF
CHS2:CHS0
CHS2:CHS0
V
REF
Advance Information
bits
V
DD
GO/DONE
VCFG = 0
VCFG = 1
ADON
The output of the sample and hold is connected to the
input of the converter. The converter generates a
binary result via successive approximation and stores
the result in a 10-bit register. The voltage reference
used in the conversion is software selectable to either
V
shows the block diagram of the A/D on the PIC12F683.
10.1.3
There are two options for the voltage reference to the
A/D converter: either V
applied to V
controls the voltage reference selection. If VCFG is set,
then the voltage on the V
otherwise, V
V
DD
SS
or a voltage applied by the V
A/D
ADFM
VOLTAGE REFERENCE
REF
DD
is the reference.
is used. The VCFG bit (ADCON0<6>)
ADRESH ADRESL
DD
is used, or an analog voltage
PIC12F683
10
10
REF
pin is the reference;
REF
DS41211A-page 63
pin. Figure 10-1

Related parts for MCP1726T-ADJZEMF