| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 172 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 172 Page - Holtek Semiconductor Inc |
|
172 / 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 UART Setup and Control Fordatatransfer,theUARTfunctionutilizesanon-return-to-zero,morecommonlyknownasNRZ, format.Thisiscomposedofonestartbit,eightorninedatabits,andoneortwostopbits.Parity issupportedbytheUARThardware,andcanbesetuptobeeven,oddornoparity.Forthemost commondataformat,8databitsalongwithnoparityandonestopbit,denotedas8,N,1,isused asthedefaultsetting,whichisthesettingatpower-on.Thenumberofdatabitsandstopbits,along withtheparity,aresetupbyprogrammingthecorrespondingBNO,PRT,PREN,andSTOPSbits intheUCR1register.Thebaudrateusedtotransmitandreceivedataissetupusingtheinternal 8-bitbaudrategenerator,whilethedataistransmittedandreceivedLSBfirst.AlthoughtheUART transmitterandreceiverarefunctionallyindependent,theybothusethesamedataformatandbaud rate.Inallcasesstopbitswillbeusedfordatatransmission. Enabling/disabling the UART Thebasicon/offfunctionoftheinternalUARTfunctioniscontrolledusingtheUARTENbitinthe UCR1register.IftheUARTEN,TXENandRXENbitsareset,thenthesetwoUARTpinswillact asnormalTXoutputpinandRXinputpinrespectively.IfnodataisbeingtransmittedontheTX pin,thenitwilldefaulttoalogichighvalue. ClearingtheUARTENbitwilldisabletheTXandRXpinsandallowthesetwopinstobeusedas normalI/Oorotherpin-sharedfunctionalpins.WhentheUARTfunctionisdisabledthebufferwill beresettoanemptycondition,atthesametimediscardinganyremainingresidualdata.Disabling theUARTwillalsoresettheerrorandstatusflagswithbitsTXEN,RXEN,TXBRK,RXIF,OERR, FERR,PERRandNFbeingclearedwhilebitsTIDLE,TXIFandRIDLEwillbeset.Theremaining controlbitsintheUCR1,UCR2andBRGregisterswillremainunaffected.IftheUARTENbitin theUCR1registerisclearedwhiletheUARTisactive,thenallpendingtransmissionsandreceptions willbeimmediatelysuspendedandtheUARTwillberesettoaconditionasdefinedabove.Ifthe UARTisthensubsequentlyre-enabled,itwillrestartagaininthesameconfiguration. Data, parity and stop bit selection Theformatofthedatatobetransferrediscomposedofvariousfactorssuchasdatabitlength, parityon/off,paritytype,addressbitsandthenumberofstopbits.Thesefactorsaredeterminedby thesetupofvariousbitswithintheUCR1register.TheBNObitcontrolsthenumberofdatabits whichcanbesettoeither8or9,thePRTbitcontrolsthechoiceofoddorevenparity,thePREN bitcontrolstheparityon/offfunctionandtheSTOPSbitdecideswhetheroneortwostopbitsareto beused.Thefollowingtableshowsvariousformatsfordatatransmission.Theaddressbitidentifies theframeasanaddresscharacter.Thenumberofstopbits,whichcanbeeitheroneortwo,is independentofthedatalength. Start Bit Data Bits Address Bits Parity Bits Stop Bit Example of 8-bit Data Formats 1 � 0 0 1 1 7 0 1 1 1 7 1 0 1 Example of 9-bit Data Formats 1 9 0 0 1 1 � 0 1 1 1 � 1 0 1 Transmitter Receiver Data Format |
|
ссылки 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 |