| 전자부품 데이터시트 검색엔진 |
|
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 |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |