| 전자부품 데이터시트 검색엔진 |
|
HT66F0187 데이터시트(PDF) 66 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F0187 데이터시트(HTML) 66 Page - Holtek Semiconductor Inc |
|
66 / 192 page ![]() Rev. 1.20 66 ����st 2�� 201� Rev. 1.20 6� ����st 2�� 201� HT66F0187 A/D Flash MCU with EEPROM HT66F0187 A/D Flash MCU with EEPROM V DD M U X Re ad D at a R egi st er Co nt ro l Bi t Da ta B us Wr it e C ont ro l R egi st er Ch ip R es et Re ad C on tr ol R egi st er Wr it e Da ta R eg is te r Da ta B it A/ D I npu t Pi ns SAC S2 ~S AC S0 , SA IN S2 ~ SAI NS 0 To A /D C onv er te r We ak Pu ll -u p An al og In put Se le ct or D Q CK S Q D Q CK S Q Pu ll- Hi gh Re gi st er Se le ct A/D Input/Output Structure Programming Considerations Withintheuserprogram,oneofthefirstthingstoconsiderisportinitialisation.Afterareset,allof theI/Odataandportcontrolregisterswillbesethigh.ThismeansthatallI/Opinswilldefaultto aninputstate,thelevelofwhichdependsontheotherconnectedcircuitryandwhetherpull-high selectionshavebeenchosen.Iftheportcontrolregisters,PAC~PFC,arethenprogrammedtosetup somepinsasoutputs,theseoutputpinswillhaveaninitialhighoutputvalueunlesstheassociated portdataregisters,PA~PF,arefirstprogrammed.Selectingwhichpinsareinputsandwhichare outputscanbeachievedbyte-widebyloadingthecorrectvaluesintotheappropriateportcontrol registerorbyprogrammingindividualbitsintheportcontrolregisterusingthe“SET[m].i”and “CLR[m].i”instructions.Notethatwhenusingthesebitcontrolinstructions,aread-modify-write operationtakesplace.Themicrocontrollermustfirstreadinthedataontheentireport,modifyitto therequirednewbitvaluesandthenrewritethisdatabacktotheoutputports. Thepower-onresetconditionoftheA/DconvertercontrolregistersensuresthatanyA/Dinput pins,whicharealwayssharedwithotherI/Ofunctions,willbesetupasanaloginputsafterareset. AlthoughthesepinswillbeconfiguredasA/Dinputsafterareset,theA/Dconverterwillnotbe switchedon.ItisthereforeimportanttonotethatifitisrequiredtousethesepinsasI/Odigital inputpinsorasotherfunctions,theA/Dconvertercontrolregistersmustbecorrectlyprogrammed toremovetheA/Dfunction.NotealsothatastheA/Dchannelisenabled,anyinternalpull-high resistorconnectionswillberemoved. PortAhastheadditionalcapabilityofprovidingwake-upfunctions.Whenthedeviceisinthe SLEEPorIDLEMode,variousmethodsareavailabletowakethedeviceup.Oneoftheseisahigh tolowtransitionofanyofthePortApins.SingleormultiplepinsonPortAcanbesetuptohavethis function. |
|
링크 URL |
| 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 |