| Electronic Components Datasheet Search |
|
HT45F5R Datasheet(PDF) 89 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R Datasheet(HTML) 89 Page - Holtek Semiconductor Inc |
|
89 / 138 page ![]() Rev. 1.10 88 De�e��e� 1�� �01� Rev. 1.10 89 De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU Capture Input Mode ToselectthismodebitsPTnM1andPTnM0inthePTMnC1registershouldbesetto01 respectively.Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternal counterandcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternal signalissuppliedonthePTPnIorPTCKnpinwhichisselectedusingthePTnCAPTSbitinthe PTMnC1register.Theinputpinactiveedgecanbeeitherarisingedge,afallingedgeorbothrising andfallingedges;theactiveedgetransitiontypeisselectedusingthePTnIO1andPTnIO0bitsin thePTMnC1register.ThecounterisstartedwhenthePTnONbitchangesfromlowtohighwhichis initiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsonthePTPnIorPTCKnpinthepresentvalueinthe counterwillbelatchedintotheCCRAregistersandaPTMninterruptgenerated.Irrespectiveof whateventsoccuronthePTPnIorPTCKnpin,thecounterwillcontinuetofreerununtilthePTnON bitchangesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillresetbackto zero;inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRP comparematchoccursfromComparatorP,aPTMninterruptwillalsobegenerated.Countingthe numberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlongpulse widths.ThePTnIO1andPTnIO0bitscanselecttheactivetriggeredgeonthePTPnIorPTCKnpin tobearisingedge,fallingedgeorbothedgetypes.IfthePTnIO1andPTnIO0bitsarebothsethigh, thennocaptureoperationwilltakeplaceirrespectiveofwhathappensonthePTPnIorPTCKnpin, howeveritmustbenotedthatthecounterwillcontinuetorun. AsthePTPnIorPTCKnpinispinsharedwithotherfunctions,caremustbetakenifthePTMnisin theCaptureInputMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthis pinmaycauseaninputcaptureoperationtobeexecuted.ThePTnCCLR,PTnOCandPTnPOLbits arenotusedinthisMode. |
|
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 |