Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

PIC12F683-E/P Arkusz danych(PDF) 63 Page - Microchip Technology

Numer części PIC12F683-E/P
Szczegółowy opis  8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PDF  176 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  MICROCHIP [Microchip Technology]
Strona internetowa  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC12F683-E/P Arkusz danych(HTML) 63 Page - Microchip Technology

Back Button PIC12F683-E/P Datasheet HTML 59Page - Microchip Technology PIC12F683-E/P Datasheet HTML 60Page - Microchip Technology PIC12F683-E/P Datasheet HTML 61Page - Microchip Technology PIC12F683-E/P Datasheet HTML 62Page - Microchip Technology PIC12F683-E/P Datasheet HTML 63Page - Microchip Technology PIC12F683-E/P Datasheet HTML 64Page - Microchip Technology PIC12F683-E/P Datasheet HTML 65Page - Microchip Technology PIC12F683-E/P Datasheet HTML 66Page - Microchip Technology PIC12F683-E/P Datasheet HTML 67Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 176 page
background image
© 2007 Microchip Technology Inc.
DS41211D-page 61
PIC12F683
9.0
ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
The
Analog-to-Digital
Converter
(ADC)
allows
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).
The ADC voltage reference is software selectable to
either VDD or a voltage applied to the external reference
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.
FIGURE 9-1:
ADC BLOCK DIAGRAM
9.1
ADC Configuration
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
GPIO CONFIGURATION
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.
9.1.2
CHANNEL SELECTION
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.
GP0/AN0
A/D
GP1/AN1/VREF
GP2/AN2
VDD
VREF
ADON
GO/DONE
VCFG = 1
VCFG = 0
CHS
ADRESH
ADRESL
10
10
ADFM
GP4/AN3
0
= Left Justify
1
= Right Justify
Note:
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com