| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
PIC16F74 Datasheet(PDF) 87 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F74 Datasheet(HTML) 87 Page - Microchip Technology |
|
87 / 174 page ![]() 2002 Microchip Technology Inc. DS30325B-page 85 PIC16F7X The following steps should be followed for doing an A/D conversion: 1. Configure the A/D module: • Configure analog pins, voltage reference, and digital I/O (ADCON1) • Select A/D conversion clock (ADCON0) • Turn on A/D module (ADCON0) 2. Configure the A/D interrupt (if desired): • Clear ADIF bit • Set ADIE bit • Set PEIE bit • Set GIE bit 3. Select an A/D input channel (ADCON0). 4. Wait for at least an appropriate acquisition period. 5. Start conversion: • Set GO/DONE bit (ADCON0) 6. Wait for the A/D conversion to complete, by either: • Polling for the GO/DONE bit to be cleared (interrupts disabled) OR • Waiting for the A/D interrupt 7. Read A/D result register (ADRES), and clear bit ADIF if required. 8. For next conversion, go to step 3 or step 4, as required. FIGURE 11-1: A/D BLOCK DIAGRAM (Input Voltage) VIN VREF (Reference Voltage) VDD PCFG2:PCFG0 CHS2:CHS0 000 or 010 or 100 or 001 or 011 or 101 RE2/AN7(1) RE1/AN6(1) RE0/AN5(1) RA5/AN4 RA3/AN3/VREF RA2/AN2 RA1/AN1 RA0/AN0 111 110 101 100 011 010 001 000 A/D Converter Note 1: Not available on PIC16F73/76. 11x |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |