| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F39 bảng dữ liệu(PDF) 43 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 bảng dữ liệu(HTML) 43 Page - Holtek Semiconductor Inc |
|
43 / 102 page ![]() Rev. 1.10 42 July 01, 2016 Rev. 1.10 43 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU Port A Wake-up TheHALTinstructionforcesthemicrocontrollerintotheSLEEPModewhichpreservespower, afeaturethatisimportantforbatteryandotherlow-powerapplications.Variousmethodsexistto wake-upthemicrocontroller,oneofwhichistochangethelogicconditionononeofthePortA pinsfromhightolow.Thisfunctionisespeciallysuitableforapplicationsthatcanbewokenupvia externalswitches.EachpinonPortAcanbeselectedindividuallytohavethiswake-upfeatureusing thePAWKregister. PAWK Register Bit 7 6 5 4 3 2 1 0 Name D7 D6 D5 D4 D3 D2 D1 D0 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 PAWK:PortAbit7~bit0Wake-upControl 0:Disable 1:Enable I/O Port Control Registers EachI/OporthasitsowncontrolregisterknownasPAC~PBC,tocontroltheinput/output configuration.Withthiscontrolregister,eachCMOSoutputorinputcanbereconfigured dynamicallyundersoftwarecontrol.EachpinoftheI/Oportsisdirectlymappedtoabitinits associatedportcontrolregister.FortheI/Opintofunctionasaninput,thecorrespondingbitofthe controlregistermustbewrittenasa"1".Thiswillthenallowthelogicstateoftheinputpintobe directlyreadbyinstructions.Whenthecorrespondingbitofthecontrolregisteriswrittenasa"0", theI/OpinwillbesetupasaCMOSoutput.Ifthepiniscurrentlysetupasanoutput,instructions canstillbeusedtoreadtheoutputregister. However,itshouldbenotedthattheprogramwillinfactonlyreadthestatusoftheoutputdatalatch andnottheactuallogicstatusoftheoutputpin. PAC Register Bit 7 6 5 4 3 2 1 0 Name D7 D6 D5 D4 D3 D2 D1 D0 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 PBC Register Bit 7 6 5 4 3 2 1 0 Name — — — — — D2 D1 D0 R/W — — — — — R/W R/W R/W POR — — — — — 1 1 1 I/O Pin Structures TheaccompanyingdiagramillustratestheinternalstructuresofsomegenericI/Opintypes.As theexactlogicalconstructionoftheI/Opinwilldifferfromthesedrawings,theyaresuppliedasa guideonlytoassistwiththefunctionalunderstandingoftheI/Opins.Thewiderangeofpin-shared structuresdoesnotpermitalltypestobeshown. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |