| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 138 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 138 Page - Holtek Semiconductor Inc |
|
138 / 172 page ![]() Rev. 1.20 138 �a��� 2�� 201� Rev. 1.20 139 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver Receiving 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,theRIDLEflagwillhaveahighvalue,whichindicatesthereceiverisinanidlecondition. Receiver Interrupt ThereadonlyreceiveinterruptflagRXIFintheUSRregisterissetbyanedgegeneratedbythe receiver.AninterruptisgeneratedifRIE=1,whenawordistransferredfromtheReceiveShift Register,RSR,totheReceiveDataRegister,RXR.Anoverrunerrorcanalsogenerateaninterruptif RIE=1. Managing Receiver Errors SeveraltypesofreceptionerrorscanoccurwithintheUARTmodule,thefollowingsectiondescribes thevarioustypesandhowtheyaremanagedbytheUART. Overrun Error – OERR TheRXRregisteriscomposedofatwobytedeepFIFOdatabuffer,wheretwobytescanbeheld intheFIFOregister,whileathirdbytecancontinuetobereceived.Beforethethirdbytehasbeen entirelyshiftedin,thedatashouldbereadfromtheRXRregister.Ifthisisnotdone,theoverrun errorflagOERRwillbeconsequentlyindicated. Intheeventofanoverrunerroroccurring,thefollowingwillhappen: • TheOERRflagintheUSRregisterwillbeset. • TheRXRcontentswillnotbelost. • Theshiftregisterwillbeoverwritten. • AninterruptwillbegeneratediftheRIEbitisset. TheOERRflagcanbeclearedbyanaccesstotheUSRregisterfollowedbyareadtotheRXR register. |
|
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 |