| Electronic Components Datasheet Search |
|
HT45F3230 Datasheet(PDF) 52 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3230 Datasheet(HTML) 52 Page - Holtek Semiconductor Inc |
|
52 / 148 page ![]() Rev. 1.00 52 January 13, 2017 Rev. 1.00 53 January 13, 2017 HT45F3230 IR Sensing/Motor Driving Flash MCU HT45F3230 IR Sensing/Motor Driving Flash MCU PxPU Register Bit 7 6 5 4 3 2 1 0 Name PxPU7 PxPU6 PxPU5 PxPU4 PxPU3 PxPU2 PxPU1 PxPU0 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 PxPUn:I/OPortxPinpull-highfunctioncontrol 0:Disable 1:Enable ThePxPUnbitisusedtocontrolthepinpull-highfunction.Herethe“x”canbeA,BorD. However,theactualavailablebitsforeachI/OPortmaybedifferent. Port A Wake-up TheHALTinstructionforcesthemicrocontrollerintotheSLEEPorIDLEModewhichpreserves power,afeaturethatisimportantforbatteryandotherlow-powerapplications.Variousmethods existtowake-upthemicrocontroller,oneofwhichistochangethelogicconditionononeofthePort Apinsfromhightolow.Thisfunctionisespeciallysuitableforapplicationsthatcanbewokenup viaexternalswitches.EachpinonPortAcanbeselectedindividuallytohavethiswake-upfeature usingthePAWUregister. Notethatthewake-upfunctioncanbecontrolledbythewake-upcontrolregistersonlywhenthe pin-sharedfunctionalpinisselectedasgeneralpurposeinput/outputandtheMCUentersthePower downmode. 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:PA7~PA0wake-upfunctioncontrol 0:Disable 1:Enable I/O Port Control Registers EachI/OporthasitsowncontrolregisterknownasPAC,PBCandPDC,tocontroltheinput/ outputconfiguration.Withthiscontrolregister,eachCMOSoutputorinputcanbereconfigured dynamicallyundersoftwarecontrol.EachpinoftheI/Oportsisdirectlymappedtoabitinits associatedportcontrolregister.FortheI/Opintofunctionasaninput,thecorrespondingbitofthe controlregistermustbewrittenasa“1”.Thiswillthenallowthelogicstateoftheinputpintobe directlyreadbyinstructions.Whenthecorrespondingbitofthecontrolregisteriswrittenasa“0”, theI/OpinwillbesetupasaCMOSoutput.Ifthepiniscurrentlysetupasanoutput,instructions canstillbeusedtoreadtheoutputregister.However,itshouldbenotedthattheprogramwillinfact onlyreadthestatusoftheoutputdatalatchandnottheactuallogicstatusoftheoutputpin. |
|
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 |