| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
UPD17062 Datasheet(PDF) 239 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 Datasheet(HTML) 239 Page - Renesas Technology Corp |
|
239 / 298 page ![]() 237 µPD17062 19.6 EXAMPLE OF A/D CONVERSION PROGRAM The following example shows an A/D conversion program based on the successive comparison method. The result of conversion is held in the DBF0. Sample program DBF0B3 FLG 0.0FH.3 DBF0B2 FLG 0.0FH.2 DBF0B1 FLG 0.0FH.1 DBF0B0 FLG 0.0FH.0 START: BANK0 INITFLG DBF0B3, NOT DBF0B2, NOT DBF0B1, NOT DBF0B0 ; Sets DBF data. PUT ADCR, DBF ; Sets reference voltage. SKT1 ADCCMP ; Judges comparison result. CLR1 DBF0B3 ; DBF0B3 ← 0 SET1 DBF0B2 ; DBF0B2 ← 1 PUT ADCR, DBF ; Sets reference voltage. SKT1 ADCCMP ; Judges comparison result. CLR1 DBF0B2 ; DBF0B2 ← 0 SET1 DBF0B1 ; DBF0B1 ← 1 PUT ADCR, DBF ; Sets reference voltage. SKT1 ADCCMP ; Judges comparison result. CLR1 DBF0B1 ; DBF0B1 ← 0 SET1 DBF0B0 ; DBF0B0 ← 1 PUT ADCR, DBF ; Sets reference voltage. SKT1 ADCCMP ; Judges comparison result. CLR1 DBF0B0 ; DBF0B0 ← 0 END: Number of steps in the conversion loop : 17 Conversion time : 34 µs (not in DMA mode) Conversion time : 204 µs (in DMA mode) |
|
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 |