| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT47C20 bảng dữ liệu(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT47C20 bảng dữ liệu(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 46 page ![]() HT47C20 Rev. 1.60 21 July 26, 2002 Example for RC type AD converter mode (Timer A overflow): clr tmrc clr adcr.1 ; set timer mode clr intc1.4 ; clear timer/event counter interrupt request flag mov a, low (65536-1000) ; give timer A initial value mov tmrbl, a ; count 1000 time and then overflow mov a, high (65536-1000) mov tmrbh, a mov a, 00010010b ; RS0~CS0; set RC type ADC mode; set Timer A overflow mov adcr,a mov a, 00h ; give timer B initial value mov tmrbl, a mov a, 00h mov tmrbh, a mov a, 00110000b ; timer A clock source=T1 and timer on mov tmrc, a p10: clr wdt snz intcl.4 ; polling timer/event counter interrupt request flag jmp p10 clr intcl.4 ; clear timer/event counter interrupt request flag ; program continue Example for RC type AD converter mode (Timer B overflow): clr tmrc clr adcr.1 ; set timer mode clr intc1.4 ; clear timer/event counter interrupt request flag mov a, 00h ; give timer A initial value mov tmrbl, a mov a, 00h mov tmrbh, a mov a, 00010011b ; RS0~CS0; set RC type ADC mode; set Timer B overflow mov adcr,a mov a, low (65536-1000) ; give timer B initial value mov tmrbl, a ; count 1000 time and then overflow mov a, high (65536-1000) mov tmrbh, a mov a, 00110000b ; timer A clock source=T1 and timer on mov tmrc, a |
|
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 |