| 전자부품 데이터시트 검색엔진 |
|
UPD17062 데이터시트(PDF) 239 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 데이터시트(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) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |