| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 97 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 97 Page - Holtek Semiconductor Inc |
|
97 / 172 page ![]() Rev. 1.20 96 �a��� 2�� 201� Rev. 1.20 97 �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 ETMC2 Register Bit 7 6 5 4 3 2 1 0 Name ETB�1 ETB�0 ETBIO1 ETBIO0 ETBOC ETBPOL ETPW�1 ETPW�0 R/W R/W R/W R/W R/W R/W R/W R R/W POR 0 0 0 0 0 0 0 0 Bit7~6 ETBM1~ETBM0:SelectETMCCRBOperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/Countermode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheETBM1and ETBM0bits.IntheTimer/CounterMode,theTMoutputpincontrolmustisnotused. Bit5~4 ETBIO1~ETBIO0:SelectETPBorETPIBpinoutputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureInputMode 00:InputcaptureatrisingedgeofETPIB 01:InputcaptureatfallingedgeofETPIB 10:Inputcaptureatfalling/risingedgeofETPIB 11:Inputcapturedisabled Timer/counterMode Unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theETBIO1andETBIO0bitsdeterminehow theTMoutputpinchangesstatewhenacomparematchoccursfromtheComparator A.TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheETBOCbitintheETMC2register.Notethattheoutput levelrequestedbytheETBIO1andETBIO0bitsmustbedifferentfromtheinitial valuesetupusingtheETBOCbitotherwisenochangewilloccurontheTMoutputpin whenacomparematchoccurs.AftertheTMoutputpinchangesstate,itcanbereset toitsinitiallevelbychangingtheleveloftheETONbitfromlowtohigh. InthePWMMode,theETBIO1andETBIO0bitsdeterminehowtheTMoutput pinchangesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheETBIO1andETBIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheETBIO1andETBIO0bitsarechanged whentheTMisrunning. |
|
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 |