| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 175 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 175 Page - Holtek Semiconductor Inc |
|
175 / 235 page ![]() Rev. 1.30 174 �ove��e� 1�� �01� Rev. 1.30 175 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM • SetuptheBRGregistertoselectthedesiredbaudrate. • SettheRXENbittoensurethattheRXpinisusedasaUARTreceiverpin. Atthispointthereceiverwillbeenabledwhichwillbegintolookforastartbit. Whenacharacterisreceivedthefollowingsequenceofeventswilloccur: • TheRXIFbitintheUSRregisterwillbesetwhenRXRregisterhasdataavailable,atleastone charactercanberead. • WhenthecontentsoftheshiftregisterhavebeentransferredtotheRXRregister,theniftheRIE bitisset,aninterruptwillbegenerated. • Ifduringreception,aframeerror,noiseerror,parityerror,oranoverrunerrorhasbeendetected, thentheerrorflagscanbeset. TheRXIFbitcanbeclearedusingthefollowingsoftwaresequence: 1.AUSRregisteraccess 2.AnRXRregisterreadexecution Receive break AnybreakcharacterreceivedbytheUARTwillbemanagedasaframingerror.Thereceiverwill countandexpectacertainnumberofbittimesasspecifiedbythevaluesprogrammedintotheBNO andSTOPSbits.Ifthebreakismuchlongerthan13bittimes,thereceptionwillbeconsideredas completeafterthenumberofbittimesspecifiedbyBNOandSTOPS.TheRXIFbitisset,FERR isset,zerosareloadedintothereceivedataregister,interruptsaregeneratedifappropriateandthe RIDLEbitisset.Ifalongbreaksignalhasbeendetectedandthereceiverhasreceivedastartbit, thedatabitsandtheinvalidstopbit,whichsetstheFERRflag,thereceivermustwaitforavalid stopbitbeforelookingforthenextstartbit.Thereceiverwillnotmaketheassumptionthatthe breakconditiononthelineisthenextstartbit.Abreakisregardedasacharacterthatcontainsonly zeroswiththeFERRflagset.Thebreakcharacterwillbeloadedintothebufferandnofurtherdata willbereceiveduntilstopbitsarereceived.ItshouldbenotedthattheRIDLEreadonlyflagwillgo highwhenthestopbitshavenotyetbeenreceived.ThereceptionofabreakcharacterontheUART registerswillresultinthefollowing: • Theframingerrorflag,FERR,willbeset. • Thereceivedataregister,RXR,willbecleared. • TheOERR,NF,PERR,RIDLEorRXIFflagswillpossiblybeset. Idle status Whenthereceiverisreadingdata,whichmeansitwillbeinbetweenthedetectionofastartbitand thereadingofastopbit,thereceiverstatusflagintheUSRregister,otherwiseknownastheRIDLE flag,willhaveazerovalue.Inbetweenthereceptionofastopbitandthedetectionofthenextstart bit,the RIDLEflagwillhaveahighvalue,whichindicatesthereceiverisinanidlecondition. Receiver interrupt ThereadonlyreceiveinterruptflagRXIFintheUSRregisterissetbyanedgegeneratedbythe receiver.AninterruptisgeneratedifRIE=1,whenawordistransferredfromtheReceiveShift Register,RSR,totheReceiveDataRegister,RXR.Anoverrunerrorcanalsogenerateaninterruptif RIE=1. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |