|
PIC16F1938_13 Datasheet, PDF (155/488 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver | |||
|
◁ |
PIC16(L)F1938/9
15.3 Register Definitions: ADC Control
REGISTER 15-1: ADCON0: A/D CONTROL REGISTER 0
U-0
â
bit 7
R/W-0/0
R/W-0/0
R/W-0/0
CHS<4:0>
R/W-0/0
R/W-0/0
R/W-0/0
GO/DONE
R/W-0/0
ADON
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
â1â = Bit is set
W = Writable bit
x = Bit is unknown
â0â = Bit is cleared
U = Unimplemented bit, read as â0â
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6-2
bit 1
bit 0
Unimplemented: Read as â0â
CHS<4:0>: Analog Channel Select bits
11111 = FVR (Fixed Voltage Reference) Buffer 1 Output(2)
11110 = DAC output(1)
11101 = Temperature Indicator(3)
11100 = Reserved. No channel connected.
â¢
â¢
â¢
01110 = Reserved. No channel connected.
01101 = AN13
01100 = AN12
01011 = AN11
01010 = AN10
01001 = AN9
01000 = AN8
00111 = AN7(4)
00110 = AN6(4)
00101 = AN5(4)
00100 = AN4
00011 = AN3
00010 = AN2
00001 = AN1
00000 = AN0
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
ADON: ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
Note 1:
2:
3:
4:
See Section 17.0 âDigital-to-Analog Converter (DAC) Moduleâ for more information.
See Section 14.0 âFixed Voltage Reference (FVR)â for more information.
See Section 16.0 âTemperature Indicator Moduleâ for more information.
Not available on the PIC16(L)F1933/1936/1938.
ï£ 2011-2013 Microchip Technology Inc.
DS40001574C-page 155
|
▷ |