| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 137 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 137 Page - Holtek Semiconductor Inc |
|
137 / 172 page ![]() Rev. 1.20 136 �a��� 2�� 201� Rev. 1.20 137 �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 UART Receiver TheUARTiscapableofreceivingwordlengthsofeither8or9bitscanbeselectedbyprogramming theBNObitintheUCR1register.WhenBNObitisset,thewordlengthwillbesetto9bits.In thiscasethe9thbit,whichistheMSB,willbestoredintheRX8bitintheUCR1register.Atthe receivercoreliestheReceiverShiftRegistermorecommonlyknownastheRSR.Thedatawhich isreceivedontheRXexternalinputpinissenttothedatarecoveryblock.Thedatarecoveryblock operatingspeedis16timesthatofthebaudrate,whilethemainreceiveserialshifteroperatesatthe baudrate.AftertheRXpinissampledforthestopbit,thereceiveddatainRSRistransferredtothe receivedataregister,iftheregisterisempty.ThedatawhichisreceivedontheexternalRXinputpin issampledthreetimesbyamajoritydetectcircuittodeterminethelogiclevelthathasbeenplaced ontotheRXpin.ItshouldbenotedthattheRSRregister,unlikemanyotherregisters,isnotdirectly mappedintotheDataMemoryareaandassuchisnotavailabletotheapplicationprogramfordirect read/writeoperations. Receiving Data WhentheUARTreceiverisreceivingdata,thedataisseriallyshiftedinontheexternalRXinput pintotheshiftregister,withtheleastsignificantbitLSBfirst.TheRXRregisterisatwobytedeep FIFOdatabuffer,wheretwobytescanbeheldintheFIFOwhilethethirdbytecancontinuetobe received.NotethattheapplicationprogrammustensurethatthedataisreadfromRXRbeforethe thirdbytehasbeencompletelyshiftedin,otherwisethethirdbytewillbediscardedandanoverrun errorOERRwillbesubsequentlyindicated.Thestepstoinitiateadatatransfercanbesummarized asfollows: • MakethecorrectselectionoftheBNO,PRT,PRENandSTOPSbitstodefinetherequiredword length,paritytypeandnumberofstopbits. • SetuptheBRGregistertoselectthedesiredbaudrate. • SettheRXENbittoensurethattheUARTreceiverisenabledandtheRXpinisusedasaUART receiverpin. Atthispointthereceiverwillbeenabledwhichwillbegintolookforastartbit. Whenacharacterisreceived,thefollowingsequenceofeventswilloccur: • TheRXIFbitintheUSRregisterwillbesetthenRXRregisterhasdataavailable,atleastone charactercanberead. • WhenthecontentsoftheshiftregisterhavebeentransferredtotheRXRregisterandiftheRIE bitisset,thenaninterruptwillbegenerated. • Ifduringreception,aframeerror,noiseerror,parityerrororanoverrunerrorhasbeendetected, andthentheerrorflagscanbeset. TheRXIFbitcanbeclearedusingthefollowingsoftwaresequence: • AUSRregisteraccess • ARXRregisterreadexecution |
|
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 |