| Moteur de recherche de fiches techniques de composants électroniques |
|
HT45F4M Fiches technique(PDF) 84 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4M Fiches technique(HTML) 84 Page - Holtek Semiconductor Inc |
|
84 / 138 page ![]() Rev. 1.10 84 �an�a�� 1�� �01� Rev. 1.10 8� �an�a�� 1�� �01� HT45F4M Lithium Battery Backup Power ASSP MCU HT45F4M Lithium Battery Backup Power ASSP MCU Capture Input Mode ToselectthismodebitsT1M1andT1M0intheTM1C1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTP1orTCK1pin,selectedbytheT1CAPTSbitintheTM1C0register.Theinput pinactiveedgecanbeeitherarisingedge,afallingedgeorbothrisingandfallingedges;theactive edgetransitiontypeisselectedusingtheT1IO1andT1IO0bitsintheTM1C1register.Thecounter isstartedwhentheT1ONbitchangesfromlowtohighwhichisinitiatedusingtheapplication program. WhentherequirededgetransitionappearsontheTP1orTCK1pinthepresentvalueinthecounter willbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhatevents occurontheTP1orTCK1pinthecounterwillcontinuetofreerununtiltheT1ONbitchangesfrom hightolow.WhenaCCRPcomparematchoccursthecounterwillresetbacktozero;inthisway theCCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRPcomparematch occursfromComparatorP,aTMinterruptwillalsobegenerated.Countingthenumberofoverflow interruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlongpulsewidths.TheT1IO1 andT1IO0bitscanselecttheactivetriggeredgeontheTP1orTCK1pintobearisingedge,falling edgeorbothedgetypes.IftheT1IO1andT1IO0bitsarebothsethigh,thennocaptureoperation willtakeplaceirrespectiveofwhathappensontheTP1orTCK1pin,howeveritmustbenotedthat thecounterwillcontinuetorun. AstheTP1orTCK1pinispinsharedwithotherfunctions,caremustbetakeniftheTM1isinthe InputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispin maycauseaninputcaptureoperationtobeexecuted.TheT1CCLR,T1OCandT1POLbitsarenot usedinthisMode. |
|
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 |