| Electronic Components Datasheet Search |
|
HT45F0060 Datasheet(PDF) 47 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F0060 Datasheet(HTML) 47 Page - Holtek Semiconductor Inc |
|
47 / 95 page ![]() Rev. 1.00 46 July 19, 2017 Rev. 1.00 47 July 19, 2017 HT45F0060 RGB Dimming LED Flash MCU HT45F0060 RGB Dimming LED Flash MCU • CTMnC1 Register Bit 7 6 5 4 3 2 1 0 Name CTnM1 CTnM0 CTnIO1 CTnIO0 CTnOC CTnPOL CTnDPX CTnCCLR 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 CTnM1~CTnM0:SelectCTMnOperatingMode 00:CompareMatchOutputMode 01:Undefined 10:PWMOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheCTM.Toensurereliable operationtheCTMshouldbeswitchedoffbeforeanychangesaremadetotheCTnM1 andCTnM0bits.IntheTimer/CounterMode,theCTMoutputpinstateisundefined. Bit5~4 CTnIO1~CTnIO0:SelectCTPnoutputfunction 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,theCTnIO1andCTnIO0bitsdeterminehowthe CTMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheCTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheCTMoutput pinshouldbesetupusingtheCTnOCbitintheCTMnC1register.Notethattheoutput levelrequestedbytheCTnIO1andCTnIO0bitsmustbedifferentfromtheinitial valuesetupusingtheCTnOCbitotherwisenochangewilloccurontheCTMoutput pinwhenacomparematchoccurs.AftertheCTMoutputpinchangesstateitcanbe resettoitsinitiallevelbychangingtheleveloftheCTnONbitfromlowtohigh. InthePWMOutputMode,theCTnIO1andCTnIO0bitsdeterminehowtheCTM outputpinchangesstatewhenacertaincomparematchconditionoccurs.ThePWM outputfunctionismodifiedbychangingthesetwobits.Itisnecessarytoonlychange thevaluesoftheCTnIO1andCTnIO0bitsonlyaftertheCTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheCTnIO1andCTnIO0bitsarechanged 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 |