| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 95 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 95 Page - Holtek Semiconductor Inc |
|
95 / 172 page ![]() Rev. 1.20 94 �a��� 2�� 201� Rev. 1.20 9� �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 ETMC1 Register Bit 7 6 5 4 3 2 1 0 Name ETA�1 ETA�0 ETAIO1 ETAIO0 ETAOC ETAPOL ETCDN ETCCLR 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 ETAM1~ETAM0:SelectETMCCRAOperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheETAM1and ETAM0bits.IntheTimer/CounterMode,theTMoutputpinisnotused. Bit5~4 ETAIO1~ETAIO0:SelectETPAorETPIApinoutputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode/SinglePulseOutputMode 00:PWMoutputinactivestate 01:PWMoutputactivestate 10:PWMoutput 11:Singlepulseoutput CaptureInputMode 00:InputcaptureatrisingedgeofETPIA 01:InputcaptureatfallingedgeofETPIA 10:Inputcaptureatfalling/risingedgeofETPIA 11:Inputcapturedisabled Timer/counterMode Unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theETAIO1andETAIO0bitsdeterminehow theTMoutputpinchangesstatewhenacomparematchoccursfromtheComparator A.TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheETAOCbitintheETMC1register.Notethattheoutput levelrequestedbytheETAIO1andETAIO0bitsmustbedifferentfromtheinitial valuesetupusingtheETAOCbitotherwisenochangewilloccurontheTMoutputpin whenacomparematchoccurs.AftertheTMoutputpinchangesstate,itcanbereset toitsinitiallevelbychangingtheleveloftheETONbitfromlowtohigh. InthePWMMode,theETAIO1andETAIO0bitsdeterminehowtheTMoutput pinchangesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheETAIO1andETAIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheETAIO1andETAIO0bitsarechanged 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 |