| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT68F001 bảng dữ liệu(PDF) 33 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F001 bảng dữ liệu(HTML) 33 Page - Holtek Semiconductor Inc |
|
33 / 55 page ![]() Rev. 1.01 3� ��to�e� 11� �01� Rev. 1.01 33 ��to�e� 11� �01� HT68F001 Cost-Effective Flash MCU HT68F001 Cost-Effective Flash MCU Timer/Event Counter TheTimer/EventCountercontainsan8-bitprogrammablecount-upcounterandtheclockmaycome fromexternalsourceoraninternalclocksource.Theexternalclockinputallowstheusertocount externalevents,measuretimeintervalsorpulsewidths,ortogenerateanaccuratetimebase. fwps� TPSC�~TPSC0 TM1 TM0 TC TEG Pulse width measu�ement mode �ont�ol TM1 TM0 T�N TMINT Reload 8-�it Time�/Event Counte� P�eload Registe� 8-�it Time�/Event Counte� (TMR) Data �us Note:TheTimer/EventCounterinternalclockfwpscissouredfromthesystemclockfLIRCbyaratioof20to27. 8-bit Timer/Event Counter Timer/Event Counter Registers – TMR, TMRC TherearetworegistersrelatedtoeachTimer/EventCounter;TMRandTMRC.WritingtheTMR willtransferthespecifieddatatoTimer/EventCounterregister.ReadingtheTMRwillreadthe contentsoftheTimer/EventCounter.TheTMRCisacontrolregister,whichdefinestheoperating mode,countingenableordisableandanactiveedge. TheTM0&TM1bitsdefinetheoperationmode.Theeventcountmodeisusedtocountexternal events,whichmeansthattheclocksourceisfromanexternalTCpin.Thetimermodefunctionsasa normaltimerwiththeclocksourcecomingfromtheinternalselectedclocksource.Finally,thepulse widthcapturemodecanbeusedtocountthehighorlow-leveldurationoftheexternalsignalTC, andthecountingisbasedontheinternalselectedclocksource. Intheeventcountortimermode,theTimer/EventCounterstartscountingatthecurrentcontentsin theTimer/EventCounterandendsatFFH.Onceanoverflowoccurs,thecounterisreloadedfromthe Timer/EventCounterpreloadregister,andgeneratesaninterruptrequestflagTF.Inthepulsewidth capturemodewiththevaluesofthebitsTONandTEGequalto1,aftertheTCpinhasreceiveda transientfromlowtohigh(orhightolowiftheTEGbitis“0”),itwillstartcountinguntiltheTC returnstotheoriginallevelandresetstheTON.ThemeasuredresultremainsintheTimer/Event Countereveniftheactivatedtransientoccursagain.Inotherwords,only1-cyclemeasurementcan bemadeuntiltheTONisset.Thecyclemeasurementwillre-functionaslongasitreceivesfurther transientpulse.Inthisoperationmode,theTimer/EventCounterbeginscountingnotaccordingto thelogiclevelbuttothetransientedges.Inthecaseofcounteroverflow,thecounterisreloaded fromtheTimer/EventCounterregisterandissuesaninterruptrequest,asintheothertwomodes,i.e., eventandtimermodes. Toenablethecountingoperation,theTONbitshouldbesetto1.Inthepulsewidthcapturemode, theTONbitisautomaticallyclearedafterthemeasurementcycleiscompleted.Butintheothertwo modes,theTONbitcanonlyberesetbyinstructions.TheoverflowoftheTimer/EventCounteris oneofthewake-upsources. InthecaseofTimer/EventCounterOFFcondition,writingdatatotheTimer/EventCounterpreload registeralsoreloadsthatdatatotheTimer/EventCounter.ButiftheTimer/EventCounteristurnon, datawrittentotheTimer/EventCounteriskeptonlyintheTimer/EventCounterpreloadregister. TheTimer/EventCounterstillcontinuesitsoperationuntilanoverflowoccurs. |
|
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 |