データシートサーチシステム |
|
HT46R002 データシート(PDF) 36 Page - Holtek Semiconductor Inc |
|
HT46R002 データシート(HTML) 36 Page - Holtek Semiconductor Inc |
36 / 83 page Rev. 1.21 36 April 11, 2017 Rev. 1.21 37 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 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 inputbysettingthePAC2bitinthePortControlRegister.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 (for HT46R003) ThePFDfunctionoutputispin-sharedwithanI/Opin.Theoutputfunctionofthispinischosen usingtheCTRL0register.Notethatthecorrespondingbitoftheportcontrolregistermustbeset thepinasanoutputtoenablethePFDoutput.Iftheportcontrolregisterhassetthepinasaninput, thenthepinwillfunctionasanormallogicinputwiththeusualpull-highselection,evenifthePFD functionhasbeenselected. PWM Output ForthedevicesthePWMfunctionisincluded.ThePWMfunctionwhoseoutputsarepin-shared withI/Opins.ThePWMoutputfunctionsarechosenusingtheCTRL0register.Notethatthe correspondingbitoftheportcontrolregisters,fortheoutputpin,mustsetupthepinasanoutput toenablethePWMoutput.Ifthepinsaresetupasinputs,thenthepinwillfunctionasanormal logicinputwiththeusualpull-highselections,evenifthePWMregistershaveenabledthePWM function. A/D Iutput ThedeviceshavefourinputstotheA/Dconverter.Alloftheseanaloginputsarepin-sharedwithI/O pins.IfthesepinsaretobeusedasA/DinputsandnotasI/Opins,thenthecorrespondingPCRnbits intheA/Dconvertercontrolregister,ADCR,mustbeproperlysetup.IfchosenasI/Opins,thenfull pull-highresistorcontrolremains,howeverifusedasA/Dinputsthenanypull-highresistorcontrol associatedwiththesepinswillbeautomaticallydisconnected. |
同様の部品番号 - HT46R002 |
|
同様の説明 - HT46R002 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | リンク交換 | メーカーリスト 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 |