| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 174 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 174 Page - Holtek Semiconductor Inc |
|
174 / 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 Theread-onlyTXIFflagissetbytheUARThardwareandifsetindicatesthattheTXRregisteris emptyandthatotherdatacannowbewrittenintotheTXRregisterwithoutoverwritingtheprevious data.IftheTEIEbitissetthentheTXIFflagwillgenerateaninterrupt. Duringadatatransmission,awriteinstructiontotheTXRregisterwillplacethedataintotheTXR register,whichwillbecopiedtotheshiftregisterattheendofthepresenttransmission.Whenthere isnodatatransmissioninprogress,awriteinstructiontotheTXRregisterwillplacethedatadirectly intotheshiftregister,resultinginthecommencementofdatatransmission,andtheTXIFbitbeing immediatelyset.Whenaframetransmissioniscomplete,whichhappensafterstopbitsaresent orafterthebreakframe,theTIDLEbitwillbeset.TocleartheTIDLEbitthefollowingsoftware sequenceisused: 1.AUSRregisteraccess 2.ATXRregisterwriteexecution NotethatboththeTXIFandTIDLEbitsareclearedbythesamesoftwaresequence. Transmit break IftheTXBRKbitissetthenbreakcharacterswillbesentonthenexttransmission.Breakcharacter transmissionconsistsofastartbit,followedby13×N"0"bitsandstopbits,whereN=1,2,etc.Ifa breakcharacteristobetransmittedthentheTXBRKbitmustbefirstsetbytheapplicationprogram, thenclearedtogeneratethestopbits.Transmittingabreakcharacterwillnotgenerateatransmit interrupt.Notethatabreakconditionlengthisatleast13bitslong.IftheTXBRKbitiscontinually keptatalogichighlevelthenthetransmittercircuitrywilltransmitcontinuousbreakcharacters. AftertheapplicationprogramhasclearedtheTXBRKbit,thetransmitterwillfinishtransmittingthe lastbreakcharacterandsubsequentlysendoutoneortwostopbits.Theautomaticlogichighsatthe endofthelastbreakcharacterwillensurethatthestartbitofthenextframeisrecognized. UART receiver TheUARTiscapableofreceivingwordlengthsofeither8or9bits.IftheBNObitisset,theword lengthwillbesetto9bitswiththeMSBbeingstoredintheRX8bitoftheUCR1register.Atthe receivercoreliestheReceiveSerialShiftRegister,commonlyknownastheRSR.Thedatawhich isreceivedontheRXexternalinputpin,issenttothedatarecoveryblock.Thedatarecoveryblock operatingspeedis16timesthatofthebaudrate,whilethemainreceiveserialshifteroperatesatthe baudrate.AftertheRXpinissampledforthestopbit,thereceiveddatainRSRistransferredtothe receivedataregister,iftheregisterisempty.ThedatawhichisreceivedontheexternalRXinputpin issampledthreetimesbyamajoritydetectcircuittodeterminethelogiclevelthathasbeenplaced ontotheRXpin.ItshouldbenotedthattheRSRregister,unlikemanyotherregisters,isnotdirectly mappedintotheDataMemoryareaandassuchisnotavailabletotheapplicationprogramfordirect read/writeoperations. Receiving data WhentheUARTreceiverisreceivingdata,thedataisseriallyshiftedinontheexternalRXinput pin,LSBfirst.Inthereadmode,theRXRregisterformsabufferbetweentheinternalbusandthe receivershiftregister.TheRXRregisterisatwobytedeepFIFOdatabuffer,wheretwobytescan beheldintheFIFOwhileathirdbytecancontinuetobereceived.Notethattheapplicationprogram mustensurethatthedataisreadfromRXRbeforethethirdbytehasbeencompletelyshifted in,otherwisethisthirdbytewillbediscardedandanoverrunerrorOERRwillbesubsequently indicated.Thestepstoinitiateadatatransfercanbesummarizedasfollows: • MakethecorrectselectionofBNO,PRT,PRENandSTOPSbitstodefinethewordlength,parity typeandnumberofstopbits. |
|
ссылки 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 |