| поискавой системы для электроныых деталей |
|
HT45F5R датащи(PDF) 89 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R датащи(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. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |