| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 173 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 173 Page - Holtek Semiconductor Inc |
|
173 / 235 page ![]() Rev. 1.30 17� �ove��e� 1�� �01� Rev. 1.30 173 �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 Thefollowingdiagramshowsthetransmitandreceivewaveformsforboth8-bitand9-bitdata formats. St ar t B it Bi t 0 Bi t 1 Bi t 2 Bi t 3 Bi t 4 Bi t 5 Bi t 6 Bi t 7 St op B it Ne xt St ar t Bi t Pa ri ty B it 8- Bi t Da ta F or ma t St ar t B it Bi t 0 Bi t 1 Bi t 2 Bi t 3 Bi t 4 Bi t 5 Bi t 6 Bi t 7 St op B it Ne xt St ar t Bi t Pa ri ty B it 9- Bi t Da ta F or ma t Bi t 8 UART transmitter Datawordlengthsofeither8or9bits,canbeselectedbyprogrammingtheBNObitintheUCR1 register.WhenBNObitisset,thewordlengthwillbesetto9bits.Inthiscasethe9thbit,which istheMSB,needstobestoredintheTX8bitintheUCR1register.Atthetransmittercoreliesthe TransmitterShiftRegister,morecommonlyknownastheTSR,whosedataisobtainedfromthe transmitdataregister,whichisknownastheTXRregister.Thedatatobetransmittedisloaded intothisTXRregisterbytheapplicationprogram.TheTSRregisterisnotwrittentowithnewdata untilthestopbitfromtheprevioustransmissionhasbeensentout.Assoonasthisstopbithasbeen transmitted,theTSRcanthenbeloadedwithnewdatafromtheTXRregister,ifitisavailable.It shouldbenotedthattheTSRregister,unlikemanyotherregisters,isnotdirectlymappedintothe DataMemoryareaandassuchisnotavailabletotheapplicationprogramfordirectread/write operations.AnactualtransmissionofdatawillnormallybeenabledwhentheTXENbitisset,but thedatawillnotbetransmitteduntiltheTXRregisterhasbeenloadedwithdataandthebaudrate generatorhasdefinedashiftclocksource.However,thetransmissioncanalsobeinitiatedbyfirst loadingdataintotheTXRregister,afterwhichtheTXENbitcanbeset.Whenatransmissionof databegins,theTSRisnormallyempty,inwhichcaseatransfertotheTXRregisterwillresultin animmediatetransfertotheTSR.IfduringatransmissiontheTXENbitiscleared,thetransmission willimmediatelyceaseandthetransmitterwillbereset.TheTXoutputpinwillthenreturntotheI/O orotherpin-sharedfunction. Transmitting data WhentheUARTistransmittingdata,thedataisshiftedontheTXpinfromtheshiftregister,with theleastsignificantbitfirst.Inthetransmitmode,theTXRregisterformsabufferbetweenthe internalbusandthetransmittershiftregister.Itshouldbenotedthatif9-bitdataformathasbeen selected,thentheMSBwillbetakenfromtheTX8bitintheUCR1register.Thestepstoinitiatea datatransfercanbesummarizedasfollows: • MakethecorrectselectionoftheBNO,PRT,PRENandSTOPSbitstodefinetherequiredword length,paritytypeandnumberofstopbits. • SetuptheBRGregistertoselectthedesiredbaudrate. • SettheTXENbittoensurethattheTXpinisusedasaUARTtransmitterpin. • AccesstheUSRregisterandwritethedatathatistobetransmittedintotheTXRregister.Note thatthisstepwillcleartheTXIFbit. • Thissequenceofeventscannowberepeatedtosendadditionaldata. ItshouldbenotedthatwhenTXIF=0,datawillbeinhibitedfrombeingwrittentotheTXRregister. ClearingtheTXIFflagisalwaysachievedusingthefollowingsoftwaresequence: 1.AUSRregisteraccess 2.ATXRregisterwriteexecution |
|
ссылки 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 |