| Electronic Components Datasheet Search |
|
HT68F002 Datasheet(PDF) 56 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F002 Datasheet(HTML) 56 Page - Holtek Semiconductor Inc |
|
56 / 119 page ![]() Rev. 1.41 56 April 11, 2017 Rev. 1.41 57 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM I/O Pin Structures TheaccompanyingdiagramsillustratetheinternalstructuresofsomegenericI/Opintypes.As theexactlogicalconstructionoftheI/Opinwilldifferfromthesedrawings,theyaresuppliedasa guideonlytoassistwiththefunctionalunderstandingoftheI/Opins.Thewiderangeofpin-shared structuresdoesnotpermitalltypestobeshown. V DD M U X Wa ke -u p Se le ct S yst em W ak e- up R ead Da ta R egi st er D Q CK S D Q CK S Co nt ro l Bi t Da ta B us Wr it e C ont ro l Re gi st er Ch ip R es et Re ad C on tr ol R eg is te r Wr it e Da ta R egi st er Da ta B it I/O p in Q Q PA o nl y We ak Pu ll- up Pu ll -H ig h Re gi st er Se le ct Generic Input/Output Structure Programming Considerations Withintheuserprogram,oneofthefirstthingstoconsiderisportinitialisation.Afterareset,allof theI/Odataandportcontrolregisterswillbesethigh.ThismeansthatallI/Opinswilldefaultto aninputstate,thelevelofwhichdependsontheotherconnectedcircuitryandwhetherpull-high selectionshavebeenchosen.Iftheportcontrolregisteristhenprogrammedtosetupsomepins asoutputs,theseoutputpinswillhaveaninitialhighoutputvalueunlesstheassociatedportdata registerisfirstprogrammed.Selectingwhichpinsareinputsandwhichareoutputscanbeachieved byte-widebyloadingthecorrectvaluesintotheappropriateportcontrolregisterorbyprogramming individualbitsintheportcontrolregisterusingthe"SET[m].i"and"CLR[m].i"instructions. Notethatwhenusingthesebitcontrolinstructions,aread-modify-writeoperationtakesplace.The microcontrollermustfirstreadinthedataontheentireport,modifyittotherequirednewbitvalues andthenrewritethisdatabacktotheoutputports. PortAhastheadditionalcapabilityofprovidingwake-upfunctions.Whenthedeviceisinthe SLEEPorIDLEMode,variousmethodsareavailabletowakethedeviceup.Oneoftheseisahigh tolowtransitionofanyofthePortApins.SingleormultiplepinsonPortAcanbesetuptohavethis function. |
|
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 |