| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 188 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 188 Page - Holtek Semiconductor Inc |
|
188 / 231 page ![]() Rev. 1.60 188 �ove��e� ��� �01� Rev. 1.60 189 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU UART External Interface Tocommunicatewithanexternalserialinterface,theinternalUARThastwoexternalpinsknown asTXandRX.TheTXpinistheUARTtransmitterpin,whichcanbeusedasageneralpurpose I/Oorotherpin-sharedfunctionalpinifthepinisnotconfiguredasaUARTtransmitter,which occurswhentheTXENbitintheUCR2controlregisterisequaltozero.Similarly,theRXpinisthe UARTreceiverpin,whichcanalsobeusedasageneralpurposeI/Opin,ifthepinisnotconfigured asareceiver,whichoccursiftheRXENbitintheUCR2registerisequaltozero.Alongwiththe UARTENbit,theTXENandRXENbits,ifset,willautomaticallysetuptheseI/Opinsorotherpin- sharedfunctionaltotheirrespectiveTXoutputandRXinputconditionsanddisableanypull-high resistoroptionwhichmayexistontheTXandRXpins. UART Data Transfer Scheme TheblockdiagramshowstheoveralldatatransferstructurearrangementfortheUARTinterface. TheactualdatatobetransmittedfromtheMCUisfirsttransferredtotheTXRregisterbythe applicationprogram.ThedatawillthenbetransferredtotheTransmitShiftRegisterfromwhereit willbeshiftedout,LSBfirst,ontotheTXpinataratecontrolledbytheBaudRateGenerator.Only theTXRregisterismappedontotheMCUDataMemory,theTransmitShiftRegisterisnotmapped andisthereforeinaccessibletotheapplicationprogram. 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. TXR/RXR Register TheTXR/RXRregisteristhedataregisterwhichisusedtostorethedatatobetransmittedonthe TXpinorbeingreceivedfromtheRXpin. Bit 7 6 5 4 3 2 1 0 �a�e TXRX7 TXRX6 TXRX� TXRX� TXRX3 TXRX� TXRX1 TXRX0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR x x x x x x x x “x”:unknown Bit7~0 TXRX7~TXRX0:UARTTransmit/ReceiveDatabits |
|
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 |