Zakładka z wyszukiwarką danych komponentów |
|
HT46R0042 Arkusz danych(PDF) 33 Page - Holtek Semiconductor Inc |
|
HT46R0042 Arkusz danych(HTML) 33 Page - Holtek Semiconductor Inc |
33 / 83 page Rev. 1.00 3� ��to�e� ��� �01� Rev. 1.00 33 ��to�e� ��� �01� HT46R0042 Cost-Effective A/D 8-Bit OTP MCU HT46R0042 Cost-Effective A/D 8-Bit OTP MCU Pin-shared Functions Theflexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemore thanonefunction.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbutby supplyingpinswithmulti-functions,manyofthesedifficultiescanbeovercome.Forsomepins,the chosenfunctionofthemulti-functionI/Opinsissetbyapplicationprogramcontrol. External Interrupt Input Theexternalinterruptpin,INT,ispin-sharedwithanI/Opin.Tousethepinasanexternalinterrupt inputthecorrectbitsintheINTC0registermustbeprogrammed.Thepinmustalsobesetasan inputbysettingthePAC0bitinthePortControlRegister.Apull-highresistorcanalsobeselected viatheappropriateportpull-highresistorregister.Notethatevenifthepinissetasanexternal interruptinputtheI/Ofunctionstillremains. External Timer/Event Counter Input TheTimer/EventCounterpinTMRispin-sharedwithI/OpinsForthissharedpintobeusedas Timer/EventCounterinput,theTimer/EventCountermustbeconfiguredtobeintheEventCounter orPulseWidthCaptureMode.ThisisachievedbysettingtheappropriatebitsintheTimer/Event CounterControlRegister.ThepinmustalsobesetasinputbysettingtheappropriatebitinthePort ControlRegister.Pull-highresistoroptionscanalsobeselectedusingtheportpull-highresistor registers.NotethatevenifthepinissetasanexternaltimerinputtheI/Ofunctionstillremains. PFD Output ThePFDfunctionoutputispin-sharedwithanI/Opin.Theoutputfunctionofthispinischosen usingtheCTRL0register.Notethatthecorrespondingbitoftheportcontrolregistermustbeset thepinasanoutputtoenablethePFDoutput.Iftheportcontrolregisterhassetthepinasaninput, thenthepinwillfunctionasanormallogicinputwiththeusualpull-highselection,evenifthePFD functionhasbeenselected. PWM Output ForthedevicethePWMfunctionisincluded.ThePWMfunctionwhoseoutputsarepin-shared withI/Opins.ThePWMoutputfunctionsarechosenusingtheCTRL0register.Notethatthe correspondingbitoftheportcontrolregisters,fortheoutputpin,mustsetupthepinasanoutput toenablethePWMoutput.Ifthepinsaresetupasinputs,thenthepinwillfunctionasanormal logicinputwiththeusualpull-highselections,evenifthePWMregistershaveenabledthePWM function. A/D Iutput ThedevicehaseightinputstotheA/Dconverter.Alloftheseanaloginputsarepin-sharedwithI/ Opins.IfthesepinsaretobeusedasA/DinputsandnotasI/Opins,thenthecorrespondingPCRn bitsintheA/Dconvertercontrolregister,ADCR1,mustbeproperlysetup.IfchosenasI/Opins, thenfullpull-highresistorcontrolremains,howeverifusedasA/Dinputsthenanypull-highresistor controlassociatedwiththesepinswillbeautomaticallydisconnected. I/O Pin Structures TheaccompanyingdiagramsillustratetheI/Opininternalstructures.Astheexactlogical constructionoftheI/Opinmaydifferfromthesedrawings,theyaresuppliedasaguideonlyto assistwiththefunctionalunderstandingoftheI/Opins. |
Podobny numer części - HT46R0042 |
|
Podobny opis - HT46R0042 |
|
|
Link URL |
Polityka prywatności |
ALLDATASHEET.PL |
Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Linki | Lista producentów 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 |