| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 132 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 132 Page - Holtek Semiconductor Inc |
|
132 / 172 page ![]() Rev. 1.20 132 �a��� 2�� 201� Rev. 1.20 133 �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 Bit3 WAKE:RXpinfallingedgewake-upfunctionenablecontrol 0:RXpinwake-upfunctionisdisabled 1:RXpinwake-upfunctionisenabled Thebitenablesordisablesthereceiverwake-upfunction.Ifthisbitisequalto1and thedeviceisinIDLEorSLEEPmode,afallingedgeontheRXpinwillwakeupthe device.Ifthisbitisequalto0andthedeviceisinIDLEorSLEEPmode,anyedge transitionsontheRXpinwillnotwakeupthedevice. Bit2 RIE:Receiverinterruptenablecontrol 0:Receiverrelatedinterruptisdisabled 1:Receiverrelatedinterruptisenabled Thebitenablesordisablesthereceiverinterrupt.Ifthisbitisequalto1andwhenthe receiveroverrunflagOERRorreceiveddataavailableflagRXIFisset,theUART interruptrequestflagwillbeset.Ifthisbitisequalto0,theUARTinterruptrequest flagwillnotbeinfluencedbytheconditionoftheOERRorRXIFflags. Bit1 TIIE:TransmitterIdleinterruptenablecontrol 0:Transmitteridleinterruptisdisabled 1:Transmitteridleinterruptisenabled Thebitenablesordisablesthetransmitteridleinterrupt.Ifthisbitisequalto1and whenthetransmitteridleflagTIDLEisset,duetoatransmitteridlecondition,the UARTinterruptrequestflagwillbeset.Ifthisbitisequalto0,theUARTinterrupt requestflagwillnotbeinfluencedbytheconditionoftheTIDLEflag. Bit0 TEIE:TransmitterEmptyinterruptenablecontrol 0:Transmitteremptyinterruptisdisabled 1:Transmitteremptyinterruptisenabled Thebitenablesordisablesthetransmitteremptyinterrupt.Ifthisbitisequalto1and whenthetransmitteremptyflagTXIFisset,duetoatransmitteremptycondition,the UARTinterruptrequestflagwillbeset.Ifthisbitisequalto0,theUARTinterrupt requestflagwillnotbeinfluencedbytheconditionoftheTXIFflag. Baud Generator Tosetupthespeedoftheserialdatacommunication,theUARTfunctioncontainsitsowndedicated baudrategenerator.Thebaudrateiscontrolledbyitsowninternalfreerunning8-bittimer,the periodofwhichisdeterminedbytwofactors.ThefirstoftheseisthevalueplacedintheBRG registerandthesecondisthevalueoftheBRGHbitwithintheUCR2controlregister.TheBRGH bitdecides,ifthebaudrategeneratoristobeusedinahighspeedmodeorlowspeedmode,which inturndeterminestheformulathatisusedtocalculatethebaudrate.ThevalueintheBRGregister, N,whichisusedinthefollowingbaudratecalculationformuladeterminesthedivisionfactor.Note thatNisthedecimalvalueplacedintheBRGregisterandhasarangeofbetween0and255. UCR2 BRGH Bit 0 1 Baud Rate (BR) )] 1 ( 64 [ + N fSYS )] 1 ( 16 [ + N f SYS ByprogrammingtheBRGHbitwhichallowsselectionoftherelatedformulaandprogrammingthe requiredvalueintheBRGregister,therequiredbaudratecanbesetup.Notethatbecausetheactual baudrateisdeterminedusingadiscretevalue,N,placedintheBRGregister,therewillbeanerror associatedbetweentheactualandrequestedvalue.ThefollowingexampleshowshowtheBRG registervalueNandtheerrorvaluecanbecalculated. |
|
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 |