| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 53 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 53 Page - Holtek Semiconductor Inc |
|
53 / 114 page ![]() Rev. 1.10 5� De�e��e� 1�� �01� Rev. 1.10 5� De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU Port A Wake-up TheHALTinstructionforcesthemicrocontrollerintotheSLEEPorIDLEModewhichpreserves power,afeaturethatisimportantforbatteryandotherlow-powerapplications.Variousmethods existtowake-upthemicrocontroller,oneofwhichistochangethelogicconditionononeofthePort Apinsfromhightolow.Thisfunctionisespeciallysuitableforapplicationsthatcanbewokenup viaexternalswitches.EachpinonPortAcanbeselectedindividuallytohavethiswake-upfeature usingthePAWUregister. NotethatonlywhenthePortApinsareconfiguredasgeneralpurposeI/Osandthedeviceisinthe HALTstatus,thePortAwake-upfunctionscanbeenabledusingtherelevantbitsinthePAWU register.Inotherconditions,thewake-upfunctionsaredisabled. PAWU Register Bit 7 6 5 4 3 2 1 0 Na�e PAWU7 PAWU� PAWU5 PAWU4 PAWU� PAWU� 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 I/OPortAbit7~bit0WakeUpControl 0:Disable 1:Enable I/O Port Control Registers EachI/OporthasitsowncontrolregisterknownasPAC,tocontroltheinput/outputconfiguration. Withthesecontrolregisters,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 Na�e PAC7 PAC� PAC5 PAC4 PAC� PAC� 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 I/OPortAbit7~bit0Input/OutputControl 0:Output 1:Input |
|
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 |