| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 253 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 253 Page - Holtek Semiconductor Inc |
|
253 / 298 page ![]() Rev. 1.90 �5� �e���a�� 18� �01� Rev. 1.90 �5� �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM • Data,parityandstopbitselection Theformatofthedatatobetransferrediscomposedofvariousfactorssuchasdatabitlength, parityon/off,paritytype,addressbitsandthenumberofstopbits.Thesefactorsaredetermined bythesetupofvariousbitswithintheUCR1register.TheBNObitcontrolsthenumberofdata bitswhichcanbesettoeither8or9.ThePRTbitcontrolsthechoiceifoddorevenparity.The PRENbitcontrolstheparityon/offfunction.TheSTOPSbitdecideswhetheroneortwostop bitsaretobeused.Thefollowingtableshowsvariousformatsfordatatransmission.Theaddress detectmodecontrolbitidentifiestheframeasanaddresscharacter.Thenumberofstopbits, whichcanbeeitheroneortwo,isindependentofthedatalength. Start Bit Data Bits Address Bits Parity Bits Stop Bit Example of 8-bit Data Formats 1 8 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 8 0 1 1 1 8 1 0 1 Transmitter Receiver Data Format 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 • UARTtransmitter Datawordlengthsofeither8or9bitscanbeselectedbyprogrammingtheBNObitintheUCR1 register.WhenBNObitisset,thewordlengthwillbesetto9bits.Inthiscasethe9thbit,which istheMSB,needstobestoredintheTX8bitintheUCR1register.Atthetransmittercorelies theTransmitterShiftRegister,morecommonlyknownastheTSR,whosedataisobtainedfrom thetransmitdataregister,whichisknownastheTXRregister.Thedatatobetransmittedis loadedintothisTXRregisterbytheapplicationprogram.TheTSRregisterisnotwrittentowith newdatauntilthestopbitfromtheprevioustransmissionhasbeensentout.Assoonasthisstop bithasbeentransmitted,theTSRcanthenbeloadedwithnewdatafromtheTXRregister,ifit isavailable.ItshouldbenotedthattheTSRregister,unlikemanyotherregisters,isnotdirectly mappedintotheDataMemoryareaandassuchisnotavailabletotheapplicationprogramfor directread/writeoperations.Anactualtransmissionofdatawillnormallybeenabledwhenthe TXENbitisset,butthedatawillnotbetransmitteduntiltheTXRregisterhasbeenloadedwith dataandthebaudrategeneratorhasdefinedashiftclocksource.However,thetransmissioncan alsobeinitiatedbyfirstloadingdataintotheTXRregister,afterwhichtheTXENbitcanbeset. Whenatransmissionofdatabegins,theTSRisnormallyempty,inwhichcaseatransfertothe TXRregisterwillresultinanimmediatetransfertotheTSR.IfduringatransmissiontheTXEN bitiscleared,thetransmissionwillimmediatelyceaseandthetransmitterwillbereset.TheTX outputpinwillthenreturntothehighimpedancestate. |
|
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 |