| Electronic Components Datasheet Search |
|
HT66F019 Datasheet(PDF) 67 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F019 Datasheet(HTML) 67 Page - Holtek Semiconductor Inc |
|
67 / 175 page ![]() Rev. 1.00 66 De�e��e� 01� �01� Rev. 1.00 6� De�e��e� 01� �01� HT66F019 A/D Flash MCU with EEPROM HT66F019 A/D Flash MCU with EEPROM Bit5~4 CTIO1~CTIO0:SelectCTMfunction 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.AftertheCTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheCTONbitfromlowtohigh. InthePWMOutputMode,theCTIO1andCTIO0bitsdeterminehowtheCTM outputpinchangesstatewhenacertaincomparematchconditionoccurs.ThePWM outputfunctionismodifiedbychangingthesetwobits.Itisnecessarytoonlychange thevaluesoftheCTIO1andCTIO0bitsonlyaftertheCTMhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheCTIO1andCTIO0bitsarechanged whentheCTMisrunning. Bit3 CTOC:CTPOutputcontrol CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheCTMoutputpin.Itsoperationdependsupon whetherCTMisbeingusedintheCompareMatchOutputModeorinthePWM OutputMode.IthasnoeffectiftheCTMisintheTimer/CounterMode.Inthe CompareMatchOutputModeitdeterminesthelogicleveloftheCTMoutputpin beforeacomparematchoccurs.InthePWMOutputModeitdeterminesifthePWM signalisactivehighoractivelow. Bit2 CTPOL:CTPOutputpolaritycontrol 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheCTPoutputpin.WhenthebitissethightheCTM outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasnoeffectifthe TMisintheTimer/CounterMode. Bit1 CTDPX:CTMPWMduty/periodcontrol 0:CCRP–period;CCRA–duty 1:CCRP–duty;CCRA–period ThisbitdetermineswhichoftheCCRAandCCRPregistersareusedforperiodand dutycontrolofthePWMwaveform. |
|
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 |