Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
HT46R004 Datasheet(PDF) 53 Page - Holtek Semiconductor Inc |
|
HT46R004 Datasheet(HTML) 53 Page - Holtek Semiconductor Inc |
53 / 84 page Rev. 1.30 5� �an�a�� ��� �01� Rev. 1.30 53 �an�a�� ��� �01� HT46R004 Cost-Effective A/D 8-Bit OTP MCU fSYS A/D Clock Period(tAD) ADCS2, ADCS1, ADCS0 =000 ((fSYS/2) ADCS2, ADCS1, ADCS0 =001 (fSYS/8) ADCS2, ADCS1, ADCS0 =010 (fSYS/32) ADCS2, ADCS1, ADCS0 =100 (fSYS) ADCS2, ADCS1, ADCS0 =101 (fSYS/4) ADCS2, ADCS1, ADCS0 =110 (fSYS/16) ADCS2, ADCS1, ADCS0 =011,111 1MHz 2μs 8μs 32μs 1μs 4μs 16μs* Undefined �MHz 1μs 4μs 16μs 500ns 2μs 8μs Undefined 4MHz 500ns 2μs 8μs 250ns* 1μs 4μs Undefined 8MHz 250ns* 1μs 4μs 125ns* 500ns 2μs Undefined 1�MHz 167ns* ��7ns 2.67μs 83ns* 333ns* 1μs Undefined A/D Clock Period Examples A/D Input Pins AlloftheA/Danaloginputpinsarepin-sharedwiththeI/OpinsonPortAandPC.Bits PCR7~PCR0intheADCR1registerdeterminewhethertheinputpinsaresetasnormalinput/output pinsorwhethertheyaresetasanaloginputs.Inthisway,pinscanbechangedunderprogram controltochangetheirfunctionfromnormalI/Ooperationtoanaloginputsandviceversa.Pull-high resistors,whicharesetthroughregisterprogramming,applytotheinputpinsonlywhenthey areusedasnormalI/Opins,ifsetasA/Dinputsthepull-highresistorswillbeautomatically disconnected.NotethatitisnotnecessarytofirstsettheA/DpinasaninputintheI/Oportcontrol registerstoenabletheA/DinputaswhenthePCR7~PCR0bitsenableanA/Dinput,thestatusofthe portcontrolregisterwillbeoverridden. Summary of A/D Conversion Steps ThefollowingsummarizestheindividualstepsthatshouldbeexecutedinordertoimplementanA/D conversionprocess. • Step1 SelecttherequiredA/DconversionclockbycorrectlyprogrammingbitsADCS2~ADCS0inthe ACSRregister. • Step2 SelectwhichpinsaretobeusedasA/DinputsandconfigurethemasA/Dinputpinsbycorrectly programmingthePCR7~PCR0bitsintheADCR1register. • Step3 EnabletheA/DbyclearingtheADONBintheACSRregistertozero. • Step4 SelectwhichchannelistobeconnectedtotheinternalA/Dconverterbycorrectlyprogramming theACS2~ACS0bitswhicharealsocontainedintheregister. • Step5 Iftheinterruptsaretobeused,theinterruptcontrolregistersmustbecorrectlyconfiguredto ensuretheA/Dconverterinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,the INTC0interruptcontrolregistermustbesetto“1”,theA/Dconverterinterruptbit,ADE,must alsobesetto“1”. • Step6 TheanalogtodigitalconversionprocesscannowbeinitializedbysettingtheSTARTbitin theADCR0registerfromlowtohighandthenlowagain.Notethatthisbitshouldhavebeen originallyclearedtozero. |
Número de pieza similar - HT46R004 |
|
Descripción similar - HT46R004 |
|
|
Enlace URL |
Política de Privacidad |
ALLDATASHEET.ES |
¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Intercambio de Enlaces | Lista de Fabricantes 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 |