| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 131 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 131 Page - Holtek Semiconductor Inc |
|
131 / 172 page ![]() Rev. 1.20 130 �a��� 2�� 201� Rev. 1.20 131 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver UCR2 Register TheUCR2registeristhesecondoftheUARTcontrolregistersandservesseveralpurposes.One ofitsmainfunctionsistocontrolthebasicenable/disableoperationiftheUARTTransmitterand ReceiveraswellasenablingthevariousUARTinterruptsources.Theregisteralsoservestocontrol thebaudratespeed,receiverwake-upfunctionenableandtheaddressdetectfunctionenable. Furtherexplanationoneachofthebitsisgivenbelow: Bit 7 6 5 4 3 2 1 0 Name TXEN RXEN BRGH ADDEN WAKE RIE TIIE TEIE R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7 TXEN:UARTTransmitterenablecontrol 0:UARTTransmitterisdisabled 1:UARTTransmitterisenabled ThebitnamedTXENistheTransmitterEnableBit.Whenthisbitisequalto"0",the transmitterwillbedisabledwithanypendingdatatransmissionsbeingaborted.In additionthebufferswillbereset.InthissituationtheTXpincanbeusedasanI/Oor otherpin-sharedfunctionalpin.IftheTXENbitisequalto"1"andtheUARTENbitis alsoequalto1,thetransmitterwillbeenabledandtheTXpinwillbecontrolledbythe UART.ClearingtheTXENbitduringatransmissionwillcausethedatatransmission tobeabortedandwillresetthetransmitter.Ifthissituationoccurs,theTXpincanbe usedasanI/Oorotherpin-sharedfunctionalpin. Bit6 RXEN:UARTReceiverenablecontrol 0:UARTReceiverisdisabled 1:UARTReceiverisenabled ThebitnamedRXENistheReceiverEnableBit.Whenthisbitisequalto"0",the receiverwillbedisabledwithanypendingdatareceptionsbeingaborted.Inaddition thereceiverbufferswillbereset.InthissituationtheRXpincanbeusedasanI/Oor otherpin-sharedfunctionalpin.IftheRXENbitisequalto"1"andtheUARTENbit isalsoequalto1,thereceiverwillbeenabledandtheRXpinwillbecontrolledbythe UART.ClearingtheRXENbitduringareceptionwillcausethedatareceptiontobe abortedandwillresetthereceiver.Ifthissituationoccurs,theRXpincanbeusedas anI/Oorotherpin-sharedfunctionalpin. Bit5 BRGH:BaudRatespeedselection 0:Lowspeedbaudrate 1:Highspeedbaudrate ThebitnamedBRGHselectsthehighorlowspeedmodeoftheBaudRateGenerator. Thisbit,togetherwiththevalueplacedinthebaudrateregister,BRG,controlsthe baudrateoftheUART.Ifthebitisequalto0,thelowspeedmodeisselected. Bit4 ADDEN:Addressdetectfunctionenablecontrol 0:Addressdetectionfunctionisdisabled 1:Addressdetectionfunctionisenabled ThebitnamedADDENistheaddressdetectionfunctionenablecontrolbit.Whenthis bitisequalto1,theaddressdetectionfunctionisenabled.Whenitoccurs,ifthe8th bit,whichcorrespondstoRX7ifBNO=0,orthe9thbit,whichcorrespondstoRX8if BNO=1,hasavalueof"1",thenthereceivedwordwillbeidentifiedasanaddress, ratherthandata.Ifthecorrespondinginterruptisenabled,aninterruptrequestwillbe generatedeachtimethereceivedwordhastheaddressbitset,whichisthe8thor9th bitdependingonthevalueoftheBNObit.Iftheaddressbitknownasthe8thor9th bitofthereceivedwordis"0"withtheaddressdetectionfunctionbeingenabled,an interruptwillnotbegeneratedandthereceiveddatawillbediscarded. |
|
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 |