| Electronic Components Datasheet Search |
|
HT48R002 Datasheet(PDF) 36 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48R002 Datasheet(HTML) 36 Page - Holtek Semiconductor Inc |
|
36 / 71 page ![]() Rev. 1.11 36 April 11, 2017 Rev. 1.11 37 April 11, 2017 HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU HT48R002/HT48R003 Cost-Effective I/O 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 HT48R003) ThePFDfunctionoutputispin-sharedwithanI/Opin.Theoutputfunctionofthispinischosen usingtheCTRL0register.Notethatthecorrespondingbitoftheportcontrolregistermustbeset thepinasanoutputtoenablethePFDoutput.Iftheportcontrolregisterhassetthepinasaninput, thenthepinwillfunctionasanormallogicinputwiththeusualpull-highselection,evenifthePFD functionhasbeenselected I/O Pin Structures TheaccompanyingdiagramsillustratetheI/Opininternalstructures.Astheexactlogical constructionoftheI/Opinmaydifferfromthesedrawings,theyaresuppliedasaguideonlyto assistwiththefunctionalunderstandingoftheI/Opins. V DD M U X Wa ke - up Se le ct S yst em W ak e- up R ead Da ta R egi st er D Q CK S D Q CK S Co nt ro l Bi t Da ta B us Wr it e C ont ro l Re gi st er Ch ip R es et Re ad C on tr ol R eg is te r Wr it e Da ta R egi st er Da ta B it I/O p in Q Q Wa ke - up f unc ti on p in o nl y We ak Pu ll- up Pu ll -H ig h Se le ct Generic Input/Output Ports |
|
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 |