| Electronic Components Datasheet Search |
|
HT67F488 Datasheet(PDF) 101 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 Datasheet(HTML) 101 Page - Holtek Semiconductor Inc |
|
101 / 171 page ![]() Rev. 1.60 101 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM FF EH ( ) A/ D Co nv er si on Re su lt FFFH FF DH 03 H 02 H 01 H 0. 5 LS B 0 12 3 409 3 409 44 09 54 09 6 An al og I npu t V ol t age 1. 5 LS B V DD or V RE F 409 6 Ideal A/D Transfer Function A/D Programming Example ThefollowingtwoprogrammingexamplesillustratehowtosetupandimplementanA/Dconversion. Inthefirstexample,themethodofpollingtheEOCBbitintheADCR0registerisusedtodetect whentheconversioncycleiscomplete,whereasinthesecondexample,theA/Dinterruptisusedto determinewhentheconversioniscomplete. Example: using an EOCB polling method to detect the end of conversion clr ADE ; disable ADC interrupt mov a, 03H mov ADCR1,a;selectfSYS/8asA/DclockandswitchoffVBG clr ADOFF mov a,0Fh;setupACERLtoconfigurepinsAN0~AN3 mov ACERL,a mov a,00h mov ACERH,a mov a, 00h mov ADCR0,a;enableandconnectAN0channeltoA/Dconverter : Start_conversion: clr START set START ;resetA/D clr START;startA/D Polling_EOC: sz EOCB ;polltheADCR0registerEOCBbittodetectend ;ofA/Dconversion jmp polling_EOC ;continuepolling mov a,ADRL;readlowbyteconversionresultvalue mov adrl_buffer,a;saveresulttouserdefinedregister mov a,ADRH;readhighbyteconversionresultvalue mov adrh_buffer,a;saveresulttouserdefinedregister : jmp start_conversion;startnextA/Dconversion |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |