| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F4MA bảng dữ liệu(PDF) 76 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA bảng dữ liệu(HTML) 76 Page - Holtek Semiconductor Inc |
|
76 / 145 page ![]() Rev. 1.20 7� De�e��e� 1�� 201� Rev. 1.20 77 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HoweveracomparematchfromComparatorAwillalsoautomaticallycleartheT0ONbitandthus generatetheSinglePulseoutputtrailingedge.InthiswaytheCCRAvaluecanbeusedtocontrol thepulsewidth.AcomparematchfromComparatorAwillalsogenerateaTMinterrupt.Thecounter canonlyberesetbacktozerowhentheT0ONbitchangesfromlowtohighwhenthecounter restarts.IntheSinglePulseModeCCRPisnotused.TheT0CCLRandT0DPXbitsarenotusedin thisMode. Capture Input Mode ToselectthismodebitsT0M1andT0M0intheTM0C1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTP0_0orTP0_1pin,whoseactiveedgecanbeeitherarisingedge,afallingedgeor bothrisingandfallingedges;theactiveedgetransitiontypeisselectedusingtheT0IO1andT0IO0 bitsintheTM0C1register.ThecounterisstartedwhentheT0ONbitchangesfromlowtohigh whichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTP0_0orTP0_1pinthepresentvalueinthe counterwillbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhat eventsoccurontheTP0_0orTP0_1pinthecounterwillcontinuetofreerununtiltheTnONbit changesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillresetbacktozero; inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRP comparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Countingthe numberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.TheTnIO1andTnIO0bitscanselecttheactivetriggeredgeontheTP0_0orTP0_1 pintobearisingedge,fallingedgeorbothedgetypes.IftheTnIO1andTnIO0bitsarebothset high,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensontheTP0_0orTP0_1 pin,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTP0_0orTP0_1pinispinsharedwithotherfunctions,caremustbetakeniftheTMisinthe InputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispin maycauseaninputcaptureoperationtobeexecuted.TheT0CCLRandT0DPXbitsarenotusedin thisMode. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |