| Electronic Components Datasheet Search |
|
HT45FM30 Datasheet(PDF) 80 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM30 Datasheet(HTML) 80 Page - Holtek Semiconductor Inc |
|
80 / 188 page ![]() Rev. 1.20 80 De�e��e� 1�� 201� Rev. 1.20 81 De�e��e� 1�� 201� HT45FM30 Brushless DC Motor Flash MCU HoweveracomparematchfromComparatorAwillalsoautomaticallycleartheT1ONbitandthus generatetheSinglePulseoutputtrailingedge.InthiswaytheCCRAvaluecanbeusedtocontrol thepulsewidth.AcomparematchfromComparatorAwillalsogenerateaTMinterrupt.Thecounter canonlyberesetbacktozerowhentheT1ONbitchangesfromlowtohighwhenthecounter restarts.IntheSinglePulseModeCCRPisnotused.TheTnCCLRandTnDPXbitsarenotusedin thisMode. Capture Input Mode ToselectthismodebitsT1M1andT1M0intheTM1C1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTP1_0orTP1_1pin,whoseactiveedgecanbeeitherarisingedge,afallingedgeor bothrisingandfallingedges;theactiveedgetransitiontypeisselectedusingtheT1IO1andT1IO0 bitsintheTM1C1register.ThecounterisstartedwhentheT1ONbitchangesfromlowtohigh whichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTP1_0orTP1_1pinthepresentvalueinthe counterwillbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhat eventsoccurontheTP1_0orTP1_1pinthecounterwillcontinuetofreerununtiltheT1ONbit changesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillresetbacktozero; inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRP comparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Countingthe numberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.TheT1IO1andT1IO0bitscanselecttheactivetriggeredgeontheTP1_0orTP1_1 pintobearisingedge,fallingedgeorbothedgetypes.IftheT1IO1andT1IO0bitsarebothset high,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensontheTP1_0orTP1_1 pin,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTP1_0orTP1_1pinispinsharedwithotherfunctions,caremustbetakeniftheTMisinthe InputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispin maycauseaninputcaptureoperationtobeexecuted.TheT1CCLRandT1DPXbitsarenotusedin thisMode. |
|
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 |