| Moteur de recherche de fiches techniques de composants électroniques |
|
HT45F2020 Fiches technique(PDF) 41 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 Fiches technique(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. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |