Motore di ricerca datesheet componenti elettronici |
|
HT46R0042 Scheda tecnica(PDF) 48 Page - Holtek Semiconductor Inc |
|
HT46R0042 Scheda tecnica(HTML) 48 Page - Holtek Semiconductor Inc |
48 / 83 page Rev. 1.00 �8 ��to�e� ��� �01� Rev. 1.00 �9 ��to�e� ��� �01� HT46R0042 Cost-Effective A/D 8-Bit OTP MCU HT46R0042 Cost-Effective A/D 8-Bit OTP MCU A/D Converter Control Registers – ADCR0, ADCR1, ACSR TocontrolthefunctionandoperationoftheA/Dconverter,twocontrolregistersknownasADCR0, ADCR1andACSRareprovided.These8-bitregistersdefinefunctionssuchastheon/offfunction, theselectionofwhichanalogchannelisconnectedtotheinternalA/Dconverter,whichpinsare usedasanaloginputsandwhichareusedasnormalI/Os,theA/Dclocksourceaswellascontrolling thestartfunctionandmonitoringtheA/Dconverterendofconversionstatus. TheACS2~ACS0bitsintheADCR0registerdefinethechannelnumber.Asthedevicecontainsonly oneactualanalogtodigitalconvertercircuit,eachoftheindividual8analoginputsmustberouted totheconverter.ItisthefunctionoftheACS2~ACS0bitsintheADCR0registertodeterminewhich analogchannelisactuallyconnectedtotheinternalA/Dconverter. ThePCR7~PCR0bitscontainedintheADCR1registerwhichdeterminewhichpinsonPA5~PA4, PC0~PC1,PA3~PA0areusedasanaloginputsfortheA/Dconverterandwhichpinsaretobeused asnormalI/Opins.IfthePCRnbithasavalueof1,thenthecorrespondingpin,namelyoneofthe AN0~AN7analoginputs,willbesetasanaloginputs.NotethatifthePCRnbitissettozero,then thecorrespondingpinonPA5~PA4,PC0~PC1,PA3~PA0willbesetasanormalI/Opin,theanalog inputchannelswillbealldisabledandtheA/Dconvertercircuitrywillbepoweredoff. TheADCR1controlregistercontainsthePCR7~PCR0bitswhichdeterminewhichpinson PA5~PA4,PC0~PC1,PA3~PA0areusedasanaloginputsfortheA/Dconverterandwhichpins aretobeusedas no�malI/Opins.NotethatifthePCR7~PCR0bitsareallsettozero,thenallthe PA5~PA4,PC0~PC1,PA3~PA0pinswillbesetasnormalI/Osorotherpin-sharedfunctions. ADCR0 Register Bit 7 6 5 4 3 2 1 0 Name START E�CB — — — ACS� ACS1 ACS0 R/W R/W R — — — R/W R/W R/W P�R 0 1 — — — 0 0 0 Bit7 START:StarttheA/Dconversion 0 → 1 → 0:Start 0 → 1:ResettheA/DconverterandsetEOCBto"1" ThisbitisusedtoinitiateanA/Dconversionprocess.Thebitisnormallylowbutifset highandthenclearedlowagain,theA/Dconverterwillinitiateaconversionprocess. WhenthebitissethightheA/Dconverterwillbereset. Bit6 EOCB:EndofA/Dconversionflag 0:A/Dconversionended 1:A/Dconversioninprogress ThisreadonlyflagisusedtoindicatewhenanA/Dconversionprocesshascompleted. Whentheconversionprocessisrunning,thebitwillbehigh. Bit5~3 Unimplemented,readas“0” Bit2~0 ACS2~ACS0:A/Dchannelselection 000:AN0 001:AN1 010:AN2 011:AN3 100:AN4 101:AN5 110:AN6 111:AN7 |
Codice articolo simile - HT46R0042 |
|
Descrizione simile - HT46R0042 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore 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 |