| Moteur de recherche de fiches techniques de composants électroniques |
|
HT45F4MA Fiches technique(PDF) 84 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Fiches technique(HTML) 84 Page - Holtek Semiconductor Inc |
|
84 / 145 page ![]() Rev. 1.20 8� De�e��e� 1�� 201� Rev. 1.20 85 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU Periodic Type TM Operation Modes ThePeriodicTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheT1M1andT1M0bitsintheTM1C1register. Compare Match Output Mode Toselectthismode,bitsT1M1andT1M0intheTM1C1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP. WhentheT1CCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallows thecountertooverflow.HerebothT1AFandT1PFinterruptrequestflagsforComparatorAand ComparatorPrespectively,willbothbegenerated. IftheT1CCLRbitintheTM1C1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheT1AFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen T1CCLRishighnoT1PFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput Mode,theCCRAcannotbesetto“0”. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchange state.TheTMoutputpinconditionhoweveronlychangesstatewhenaT1AFinterruptrequestflag isgeneratedafteracomparematchoccursfromComparatorA.TheT1PFinterruptrequestflag, generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheTMoutput pin.ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthe T1IO1andT1IO0bitsintheTM1C1register.TheTMoutputpincanbeselectedusingtheT1IO1 andT1IO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafterthe T1ONbitchangesfromlowtohigh,issetupusingtheT1OCbit.NotethatiftheT1IO1andT1IO0 bitsarezerothennopinchangewilltakeplace. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |