| Electronic Components Datasheet Search |
|
HT45F4630 Datasheet(PDF) 82 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4630 Datasheet(HTML) 82 Page - Holtek Semiconductor Inc |
|
82 / 153 page ![]() Rev. 1.00 8� ���i� 1�� �01� Rev. 1.00 83 ���i� 1�� �01� HT45F4630 DC Motor Driver ASSP MCU HT45F4630 DC Motor Driver ASSP MCU Capture Input Mode ToselectthismodebitsPTnM1andPTnM0inthePTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignal issuppliedonthePTPnIorPTCKnpinwhichisselectedusingthePTnDPXbitinthePTMnC1 register.Theinputpinactiveedgecanbeeitherarisingedge,afallingedgeorbothrisingand fallingedges;theactiveedgetransitiontypeisselectedusingthePTnIO1andPTnIO0bitsinthe PTMnC1register.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 |