| Electronic Components Datasheet Search |
|
HT45F3830 Datasheet(PDF) 66 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3830 Datasheet(HTML) 66 Page - Holtek Semiconductor Inc |
|
66 / 149 page ![]() Rev. 1.10 �� �an�a�� 0�� �01� Rev. 1.10 �� �an�a�� 0�� �01� HT45F3830 Ultrasonic Atomizer Flash MCU HT45F3830 Ultrasonic Atomizer Flash MCU CTMC1 Register Bit 7 6 5 4 3 2 1 0 Name CTM1 CTM0 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:PWMOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheCTM.Toensurereliable operationtheCTMshouldbeswitchedoffbeforeanychangesaremadetotheCTM1 andCTM0bits.IntheTimer/CounterMode,theCTMoutputpinstateisundefined. Bit5~4 CTIO1~CTIO0:SelectCTPoutputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMOutputMode 00:PWMOutputinactivestate 01:PWMOutputactivestate 10:PWMoutput 11:Undefined Timer/counterMode Unused ThesetwobitsareusedtodeterminehowtheCTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheCTMisrunning. IntheCompareMatchOutputMode,theCTIO1andCTIO0bitsdeterminehowthe CTMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheCTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheCTMoutput pinshouldbesetupusingtheCTOCbitintheCTMC1register.Notethattheoutput levelrequestedbytheCTIO1andCTIO0bitsmustbedifferentfromtheinitialvalue setupusingtheCTOCbitotherwisenochangewilloccurontheCTMoutputpinwhen acomparematchoccurs.AftertheCTMoutputpinchangesstateitcanberesettoits initiallevelbychangingtheleveloftheCTONbitfromlowtohigh. InthePWMOutputMode,theCTIO1andCTIO0bitsdeterminehowtheCTM outputpinchangesstatewhenacertaincomparematchconditionoccurs.ThePWM outputfunctionismodifiedbychangingthesetwobits.Itisnecessarytoonlychange thevaluesoftheCTIO1andCTIO0bitsonlyaftertheCTMhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheCTIO1andCTIO0bitsarechanged whenTheCTMisrunning. |
|
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 |