| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UPD17062 bảng dữ liệu(PDF) 239 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 bảng dữ liệu(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) |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |