| поискавой системы для электроныых деталей |
|
HT45F4MA датащи(PDF) 91 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA датащи(HTML) 91 Page - Holtek Semiconductor Inc |
|
91 / 145 page ![]() Rev. 1.20 90 De�e��e� 1�� 201� Rev. 1.20 91 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash 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. |
|
ссылки 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 |