| поискавой системы для электроныых деталей |
|
HT67F488 датащи(PDF) 113 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 датащи(HTML) 113 Page - Holtek Semiconductor Inc |
|
113 / 171 page ![]() Rev. 1.60 113 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM UART External Pin Interfacing Tocommunicatewithanexternalserialinterface,theinternalUARThastwoexternalpinsknown asTXandRX.TheTXpinistheUARTtransmitterpin,whichcanbeusedasageneralpurpose I/Oorotherpin-sharedfunctionalpinifthepinisnotconfiguredasaUARTtransmitter,which occurswhentheTXENbitintheUCR2controlregisterisequaltozero.Similarly,theRXpinisthe UARTreceiverpin,whichcanalsobeusedasageneralpurposeI/Oorotherpin-sharedfunctional pin,ifthepinisnotconfiguredasareceiver,whichoccursiftheRXENbitintheUCR2register isequaltozero.AlongwiththeUARTENbit,theTXENandRXENbits,ifset,willautomatically setuptheseI/Oorotherpin-sharedfunctionalpinstotheirrespectiveTXoutputandRXinput conditionsanddisableanypull-highresistoroptionwhichmayexistontheRXpin.IftheTXand RXpinsaresharedwiththeLCDoutputsandtheUARTinterfaceandLCDdriverbothareenabled simultaneously,theLCDdriverhastheprioritytousethecorrespondingpinsasLCDoutputs. UART Data Transfer Scheme TheblockdiagramshowstheoveralldatatransferstructurearrangementfortheUART.Theactual datatobetransmittedfromtheMCUisfirsttransferredtotheTXRregisterbytheapplication program.ThedatawillthenbetransferredtotheTransmitShiftRegisterfromwhereitwillbe shiftedout,LSBfirst,ontotheTXpinataratecontrolledbytheBaudRateGenerator.Onlythe TXRregisterismappedontotheMCUDataMemory,theTransmitShiftRegisterisnotmappedand isthereforeinaccessibletotheapplicationprogram. DatatobereceivedbytheUARTisacceptedontheexternalRXpin,fromwhereitisshiftedin, LSBfirst,totheReceiverShiftRegisterataratecontrolledbytheBaudRateGenerator.When theshiftregisterisfull,thedatawillthenbetransferredfromtheshiftregistertotheinternalRXR register,whereitisbufferedandcanbemanipulatedbytheapplicationprogram.OnlytheRXR registerismappedontotheMCUDataMemory,theReceiverShiftRegisterisnotmappedandis thereforeinaccessibletotheapplicationprogram. Itshouldbenotedthattheactualregisterfordatatransmissionandreception,althoughreferredto inthetext,andinapplicationprograms,asseparateTXRandRXRregisters,onlyexistsasasingle sharedregisterintheDataMemory.ThissharedregisterknownastheTXR/RXRregisterisusedfor bothdatatransmissionanddatareception. UART Status and Control Registers TherearefivecontrolregistersassociatedwiththeUARTfunction.TheUSR,UCR1andUCR2 registerscontroltheoverallfunctionoftheUART,whiletheBRGregistercontrolstheBaudrate. TheactualdatatobetransmittedandreceivedontheserialinterfaceismanagedthroughtheTXR/ RXRdataregisters. Register Name Bit 7 6 5 4 3 2 1 0 USR PERR �F FERR OERR RIDLE RXIF TIDLE TXIF UCR1 UARTE� B�O PRE� PRT STOPS TXBRK RX8 TX8 UCR� TXE� RXE� BRGH ADDE� WAKE RIE TIIE TEIE TXR/RXR TXRX7 TXRX6 TXRX5 TXRX4 TXRX3 TXRX� TXRX1 TXRX0 BRG BRG7 BRG6 BRG5 BRG4 BRG3 BRG� BRG1 BRG0 UART Register List |
|
ссылки 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 |