| Electronic Components Datasheet Search |
|
HT45F0060 Datasheet(PDF) 39 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F0060 Datasheet(HTML) 39 Page - Holtek Semiconductor Inc |
|
39 / 95 page ![]() Rev. 1.00 38 July 19, 2017 Rev. 1.00 39 July 19, 2017 HT45F0060 RGB Dimming LED Flash MCU HT45F0060 RGB Dimming LED Flash MCU • PAWU Register Bit 7 6 5 4 3 2 1 0 Name PAWU7 PAWU6 PAWU5 PAWU4 PAWU3 PAWU2 PAWU1 PAWU0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7~0 PAWU7~PAWU0:PortAbit7~bit0Wake-upControl 0:Disable 1:Enable I/O Port Control Registers EachI/OporthasitsowncontrolregisterknownasPAC,tocontroltheinput/outputconfiguration. Withthiscontrolregister,eachCMOSoutputorinputcanbereconfigureddynamicallyunder softwarecontrol.EachpinoftheI/Oportsisdirectlymappedtoabitinitsassociatedportcontrol register.FortheI/Opintofunctionasaninput,thecorrespondingbitofthecontrolregistermust bewrittenasa"1".Thiswillthenallowthelogicstateoftheinputpintobedirectlyreadby instructions.Whenthecorrespondingbitofthecontrolregisteriswrittenasa"0",theI/Opinwill besetupasaCMOSoutput.Ifthepiniscurrentlysetupasanoutput,instructionscanstillbeused toreadtheoutputregister.However,itshouldbenotedthattheprogramwillinfactonlyreadthe statusoftheoutputdatalatchandnottheactuallogicstatusoftheoutputpin. • PAC Register Bit 7 6 5 4 3 2 1 0 Name PAC7 PAC6 PAC5 PAC4 PAC3 PAC2 PAC1 PAC0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 1 1 1 1 1 1 1 1 Bit7~0 PAC7~PAC0:PortAbit7~bit0Input/OutputControl 0:Output 1:Input Pin-shared Functions Theflexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemorethanone function.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbutbysupplyingpins withmulti-functions,manyofthesedifficultiescanbeovercome.Forthesepins,thedesiredfunctionof themulti-functionI/Opinsisselectedbyaseriesofregistersviatheapplicationprogramcontrol. Pin-shared Function Selection Registers Thelimitednumberofsuppliedpinsinapackagecanimposerestrictionsontheamountoffunctions acertaindevicecancontain.Howeverbyallowingthesamepinstoshareseveraldifferentfunctions andprovidingameansoffunctionselection,awiderangeofdifferentfunctionscanbeincorporated intoevenrelativelysmallpackagesizes.ThedeviceincludesPort"A"pinsharedfunctionselection registers,labeledasPASn,andinputfunctionselectionregister,labeledasIFS,whichcanselectthe desiredfunctionsofthemulti-functionpin-sharedpins. Whenthepin-sharedinputfunctionisselectedtobeused,thecorrespondinginputandoutput functionsselectionshouldbeproperlymanaged.Forexample,ifthecascadingtransceiverinterface isused,thecorrespondingpin-sharedfunctionshouldbeconfiguredasthecascadingtransceiver interfacefunctionbyconfiguringthePAS0registerandthecascadingtransceiverinterfacesignal inputpinshouldbeproperlyselectedusingtheIFSregister.Iftheexternalinterruptfunctionis selectedtobeused,therelevantpin-sharedfunctionshouldbeselectedasanI/Ofunctionandthe interruptinputsignalactiveedgeshouldbeselected. |
|
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 |