| Electronic Components Datasheet Search |
|
HT45F5R Datasheet(PDF) 55 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R Datasheet(HTML) 55 Page - Holtek Semiconductor Inc |
|
55 / 138 page ![]() Rev. 1.10 54 De�e��e� 1�� �01� Rev. 1.10 55 De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU Port A Wake-up TheHALTinstructionforcesthemicrocontrollerintotheSLEEPorIDLEModewhichpreserves power,afeaturethatisimportantforbatteryandotherlow-powerapplications.Variousmethods existtowake-upthemicrocontroller,oneofwhichistochangethelogicconditionononeofthePort Apinsfromhightolow.Thisfunctionisespeciallysuitableforapplicationsthatcanbewokenup viaexternalswitches.EachpinonPortAcanbeselectedindividuallytohavethiswake-upfeature usingthePAWUregister.Notethatthewake-upfunctioncanbecontrolledbythewake-upcontrol registersonlywhenthepin-sharedfunctionalpinisselectedasgeneralpurposeinput/outputandthe MCUentersthePowerdownmode. 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 PAWUn:PortAPinwake-upfunctioncontrol 0:Disable 1:Enable I/O Port Control Registers EachI/OporthasitsowncontrolregisterknownasPAC~PCC,tocontroltheinput/output configuration.Withthesecontrolregisters,eachCMOSoutputorinputcanbereconfigured dynamicallyundersoftwarecontrol.EachpinoftheI/Oportsisdirectlymappedtoabitinits associatedportcontrolregister.FortheI/Opintofunctionasaninput,thecorrespondingbitofthe controlregistermustbewrittenasa"1".Thiswillthenallowthelogicstateoftheinputpintobe directlyreadbyinstructions.Whenthecorrespondingbitofthecontrolregisteriswrittenasa"0", theI/OpinwillbesetupasaCMOSoutput.Ifthepiniscurrentlysetupasanoutput,instructions canstillbeusedtoreadtheoutputregister.However,itshouldbenotedthattheprogramwillinfact onlyreadthestatusoftheoutputdatalatchandnottheactuallogicstatusoftheoutputpin. PxC Register Bit 7 6 5 4 3 2 1 0 Na�e PxC7 PxC� PxC5 PxC4 PxC� PxC� PxC1 PxC0 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 PxCn:I/OPortxPintypeselection 0:Output 1:Input ThePxCnbitisusedtocontrolthepintypeselection.Herethe"x"canbeA,B,andC.However,the actualavailablebitsforeachI/OPortmaybedifferent. |
|
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 |