| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 70 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 70 Page - Holtek Semiconductor Inc |
|
70 / 172 page ![]() Rev. 1.20 70 �a��� 2�� 201� Rev. 1.20 71 �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 CTMC1 Register Bit 7 6 5 4 3 2 1 0 Name CT�1 CT�0 CTIO1 CTIO0 CTOC CTPOL CTDPX CTCCLR 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~6 CTM1~CTM0:SelectCTMOperatingMode 00:CompareMatchOutputMode 01:Undefined 10:PWMMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheTM.Toensurereliableoperation theTMshouldbeswitchedoffbeforeanychangesaremadetotheCTM1andCTM0 bits.IntheTimer/CounterMode,theTMoutputpincontrolmustbedisabled. Bit5~4 CTIO1~CTIO0:SelectCTPoutputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Undefined Timer/counterMode unused ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theCTIO1andCTIO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheCTOCbitintheCTMC1register.Notethattheoutput levelrequestedbytheCTIO1andCTIO0bitsmustbedifferentfromtheinitialvalue setupusingtheCTOCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheCTONbitfromlowtohigh. InthePWMMode,theCTIO1andCTIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheCTIO1andCTIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheCTIO1andCTIO0bitsarechanged 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 |