| Electronic Components Datasheet Search |
|
HT45FM2C Datasheet(PDF) 70 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM2C Datasheet(HTML) 70 Page - Holtek Semiconductor Inc |
|
70 / 171 page ![]() Rev. 1.10 70 �a� �0� �01� Rev. 1.10 71 �a� �0� �01� HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU Preliminar� Bit 5~4 T5IO1~T5IO0: SelectTP5_0,TP5_1outputfunction CompareMatchOutputMode 00:Nochange 01:Outputlow 10:Outputhigh 11:Toggleoutput PWMMode 00:PWMoutputinactivestate 01:PWMoutputactivestate 10:PWMoutput 11:Undefined Timer/counterMode unused ThesetwobitsareusedtodeterminehowtheTM5outputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTM5isrunning. IntheCompareMatchOutputMode,theT5IO1andT5IO0bitsdeterminehowthe TM5outputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTM5outputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTM5output pinshouldbesetupusingtheT5OCbitintheTM5C1register.Notethattheoutput levelrequestedbytheT5IO1andT5IO0bitsmustbedifferentfromtheinitialvalue setupusingtheT5OCbitotherwisenochangewilloccurontheTM5outputpinwhen acomparematchoccurs.AftertheTM5outputpinchangesstateitcanberesettoits initiallevelbychangingtheleveloftheT5ONbitfromlowtohigh. InthePWMMode,theT5IO1andT5IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheT5IO1andT5IO0bitsonlyaftertheTM5hasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheT5IO1andT5IO0bitsarechangedwhen theTMisrunning. Bit 3 T5OC: TP5_0,TP5_1Outputcontrolbit CompareMatchoutputMode 0:Initiallow 1:Initialhigh PWMMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTM5outputpin.Itsoperationdependsupon whetherTM5isbeingusedintheCompareMatchOutputModeorinthePWMMode. IthasnoeffectiftheTM5isintheTimer/CounterMode.IntheCompareMatch OutputModeitdeterminesthelogiclevelofheTM5outputpinbeforeacompare matchoccurs.InthePWMModeitdeterminesifthePWMsignalisactivehighor activelow. Bit 2 T5POL: TP5_0,TP5_1outputpolarityControl 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheTP5_0orTP5_1outputpin.Whenthebitisset hightheTM5outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithas noeffectiftheTMnisintheTimer/CounterMode. Bit 1 T5DPX: TM5PWMperiod/dutyControl 0:CCRP-period;CCRA-duty 1:CCRP-duty;CCRA-period Thisbit,determineswhichoftheCCRAandCCRPregistersareusedforperiodand 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 |