| 数据搜索系统,热门电子元器件搜索 |
|
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. |
|
链接网址 |
| 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 |