Техническая Спецификация для Microchip Technology AC244045

Скачать
Страница из 448
 2010-2012 Microchip Technology Inc.
DS41440C-page 155
PIC16(L)F1825/1829
16.2.7
ADC REGISTER DEFINITIONS
The following registers are used to control the
operation of the ADC.
 
REGISTER 16-1:
ADCON0: A/D CONTROL REGISTER 0
U-0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
CHS<4:0>
GO/DONE
ADON
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7
Unimplemented: 
Read as ‘0’
bit 6-2
CHS<4:0>: 
Analog Channel Select bits
00000  = AN0
00001  = AN1
00010  = AN2
00011  = AN3
00100  = AN4
00101  = AN5
00110  = AN6
00111  = AN7
01000  = AN8
(1)
01001  = AN9
(1)
01010  = AN10
(1)
01011  = AN11
(1)
01100 = Reserved. No channel connected.
 •
 •
 •
11100 = Reserved. No channel connected.
11101 = Temperature Indicator
(4)
11110 = DAC output
(2)
11111 = FVR (Fixed Voltage Reference) Output
(3)
bit 1
GO/DONE:
 A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle. 
      This bit is automatically cleared by hardware when the A/D conversion has completed.
0 = A/D conversion completed/not in progress
bit 0
ADON:
 ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
Note 1:
PIC16(L)F1829 only.
2:
Se
for more information.
3:
Se
 for more information.
4:
Se
 for more information.