| Electronic Components Datasheet Search |
|
PIC16C781 Datasheet(PDF) 73 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C781 Datasheet(HTML) 73 Page - Microchip Technology |
|
73 / 186 page ![]() 2001 Microchip Technology Inc. Preliminary DS41171A-page 71 PIC16C781/782 9.1.2 ADCON1 REGISTER The ADCON1 register, shown in Register 9-3, controls the reference voltage selection for the ADC module. Bits VCFG<1:0> select the reference voltage (ADCREF). 9.1.3 ADRES REGISTER The ADRES register, shown in Register 9-2, contains the 8-bit result of the conversion. At the completion of the ADC conversion: • 8-bit result is loaded into ADRES. • GO/DONE bit (ADOCN0<2>) is cleared. • ADC interrupt flag bit ADIF (INTCON<6> and PIR1<6>) are set. • If the ADC interrupt is enabled, an interrupt is also generated. REGISTER 9-2: ADC RESULT REGISTER (ADRES: 1Eh) REGISTER 9-3: ADC CONTROL REGISTER 1 (ADCON1: 9Fh) R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 bit 7 bit 0 bit 7-0 AD<7:0>: ADC Conversion Results bits Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR ’1’ = Bit is set ’0’ = Bit is cleared x = Bit is unknown U-0 U-0 R/W-0 R/W-0 U-0 U-0 U-0 U-0 — — VCFG1 VCFG0 — — — — bit 7 bit 0 bit 7-6 Unimplemented: Read as ’0’ bit 5-4 VCFG<1:0>: Voltage Reference Configuration bits 00 = AVDD 01 = VREF1 10 = VR 11 = VDAC bit 3-0 Unimplemented: Read as ’0’ Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR ’1’ = Bit is set ’0’ = Bit is cleared x = Bit is unknown |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |