| 数据搜索系统,热门电子元器件搜索 |
|
HT45F2020 数据表(PDF) 41 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 数据表(HTML) 41 Page - Holtek Semiconductor Inc |
|
41 / 85 page ![]() Rev. 1.00 40 April 11, 2017 Rev. 1.00 41 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU I/O Pin Structures TheaccompanyingdiagramillustratestheinternalstructureoftheI/Ologicfunction.Astheexact logicalconstructionoftheI/Opinwilldifferfromthisdiagram,itissuppliedasaguideonlyto assistwiththefunctionalunderstandingofthelogicfunctionI/Opins.Thewiderangeofpin-shared structuresdoesnotpermitalltypestobeshown. M U X VDD Control Bit Data Bit Data Bus Write Control Register Chip Reset Read Control Register Read Data Register Write Data Register System Wake-up wake-up Select PA only I/O pin Weak Pull-up Pull-high Register Select Q D CK Q D CK Q Q S S Logic Function Input/Output Structure Programming Considerations Withintheuserprogram,oneofthefirstthingstoconsiderisportinitialisation.Afterareset,allof theI/Odataandportcontrolregisterswillbesethigh.ThismeansthatallI/Opinswilldefaultto aninputstate,thelevelofwhichdependsontheotherconnectedcircuitryandwhetherpull-high selectionshavebeenchosen.Iftheportcontrolregister,PAC,arethenprogrammedtosetupsome pinsasoutputs,theseoutputpinswillhaveaninitialhighoutputvalueunlesstheassociatedport dataregister,PA,arefirstprogrammed.Selectingwhichpinsareinputsandwhichareoutputscan beachievedbyte-widebyloadingthecorrectvaluesintotheappropriateportcontrolregisteror byprogrammingindividualbitsintheportcontrolregisterusingthe“SET[m].i”and“CLR[m].i” instructions.Notethatwhenusingthesebitcontrolinstructions,aread-modify-writeoperationtakes place.Themicrocontrollermustfirstreadinthedataontheentireport,modifyittotherequirednew bitvaluesandthenrewritethisdatabacktotheoutputports. PortAhastheadditionalcapabilityofprovidingwake-upfunctions.Whenthedeviceisinthe SLEEPorIDLEMode,variousmethodsareavailabletowakethedeviceup.Oneoftheseisahigh tolowtransitionofanyofthePortApins.SingleormultiplepinsonPortAcanbesetuptohavethis function. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |