PIC12F683-E/MD MICROCHIP [Microchip Technology], PIC12F683-E/MD Datasheet - Page 63
PIC12F683-E/MD
Manufacturer Part Number
PIC12F683-E/MD
Description
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC12F683-EMD.pdf
(176 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12F683-E/MD
Manufacturer:
ZETEX
Quantity:
1 100
Part Number:
PIC12F683-E/MD
Manufacturer:
MICROCHIP原装
Quantity:
20 000
- Current page: 63 of 176
- Download datasheet (4Mb)
9.0
The
conversion of an analog input signal to a 10-bit binary
representation of that signal. This device uses analog
inputs, which are multiplexed into a single sample and
hold circuit. The output of the sample and hold is
connected to the input of the converter. The converter
generates a 10-bit binary result via successive
approximation and stores the conversion result into the
ADC result registers (ADRESL and ADRESH).
FIGURE 9-1:
9.1
When configuring and using the ADC the following
functions must be considered:
• GPIO configuration
• Channel selection
• ADC voltage reference selection
• ADC conversion clock source
• Interrupt control
• Results formatting
9.1.1
The ADC can be used to convert both analog and digital
signals. When converting analog signals, the I/O pin
should be configured for analog by setting the associated
TRIS and ANSEL bits. See the corresponding GPIO
section for more information.
© 2007 Microchip Technology Inc.
Note:
Analog-to-Digital
ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
ADC Configuration
GPIO CONFIGURATION
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.
GP1/AN1/V
ADC BLOCK DIAGRAM
GP4/AN3
GP0/AN0
GP2/AN2
Converter
REF
(ADC)
CHS
V
REF
allows
V
DD
GO/DONE
VCFG = 0
VCFG = 1
The ADC voltage reference is software selectable to
either V
pins.
The ADC can generate an interrupt upon completion of
a conversion. This interrupt can be used to wake-up the
device from Sleep.
Figure 9-1 shows the block diagram of the ADC.
9.1.2
The CHS bits of the ADCON0 register determine which
channel is connected to the sample and hold circuit.
When changing channels, a delay is required before
starting the next conversion. Refer to Section 9.2
“ADC Operation” for more information.
ADON
A/D
DD
or a voltage applied to the external reference
CHANNEL SELECTION
ADFM
ADRESH ADRESL
0 = Left Justify
1 = Right Justify
PIC12F683
10
10
DS41211D-page 61
Related parts for PIC12F683-E/MD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O, PDIP
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8-bit Microcontrollers - MCU 3.5KB 128 RAM 6 I/O
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 DFN
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 SOI
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology