| Electronic Components Datasheet Search |
|
HT68F005 Datasheet(PDF) 50 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 Datasheet(HTML) 50 Page - Holtek Semiconductor Inc |
|
50 / 93 page ![]() Rev. 1.00 50 ��to�e� ��� �01� Rev. 1.00 51 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU Port A Wake-up TheHALTinstructionforcesthemicrocontrollerintotheSLEEPorIDLEModewhichpreserves power,afeaturethatisimportantforbatteryandotherlow-powerapplications.Variousmethods existtowake-upthemicrocontroller,oneofwhichistochangethelogicconditionononeofthe PortApinsfromhightolow.Thisfunctionisespeciallysuitableforapplicationsthatcanbewoken upviaexternalswitches.EachpinonPortAcanbeselectedindividuallytohavethiswake-up featureusingthePAWUregister. PAWU Register Bit 7 6 5 4 3 2 1 0 Name D7 D6 D5 D4 D3 D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W P�R 0 0 0 0 0 0 0 0 Bit7~0 PAWU: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 D7 D6 D5 D4 D3 D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W P�R 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 |