| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F5N bảng dữ liệu(PDF) 73 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5N bảng dữ liệu(HTML) 73 Page - Holtek Semiconductor Inc |
|
73 / 202 page ![]() Rev. 1.00 7� �ove��e� 1�� �01� Rev. 1.00 73 �ove��e� 1�� �01� HT45F5N/HT45FH5N Power Bank ASSP Flash MCU HT45F5N/HT45FH5N Power Bank ASSP Flash MCU TM Operation ThetwodifferenttypesofTMsofferadiverserangeoffunctions,fromsimpletimingoperations toPWMsignalgeneration.ThekeytounderstandinghowtheTMoperatesistoseeitintermsof afreerunningcounterwhosevalueisthencomparedwiththevalueofpre-programmedinternal comparators.Whenthefreerunningcounterhasthesamevalueasthepre-programmedcomparator, knownasacomparematchsituation,aTMinterruptsignalwillbegeneratedwhichcanclearthe counterandperhapsalsochangetheconditionoftheTMoutputpin.TheinternalTMcounteris drivenbyauserselectableclocksource,whichcanbeaninternalclockoranexternalpin. TM Clock Source TheclocksourcewhichdrivesthemaincounterineachTMcanoriginatefromvarioussources.The selectionoftherequiredclocksourceisimplementedusingthexTCK2~xTCK0bitsinthexTM controlregisters,where"x"standsforSorPtypeTM.Theclocksourcecanbearatioofeither thesystemclockfSYSortheinternalhighclockfH,thefTBCclocksourceortheexternalxTCKpin. ThexTCKpinclocksourceisusedtoallowanexternalsignaltodrivetheTMasanexternalclock sourceorforeventcounting. TM Interrupts ThetwodifferenttypesofTMshavetwointernalinterrupts,theinternalcomparatorAorcomparator P,whichgeneratesaTMinterruptwhenacomparematchconditionoccurs.WhenaTMinterruptis generated,itcanbeusedtoclearthecounterandalsotochangethestateoftheTMoutputpin. TM External Pins EachoftheTMs,irrespectiveofwhattype,hasoneTMinputpin,withthelabelxTCK.TheTM inputpin,isessentiallyaclocksourcefortheTMandisselectedusingthexTCK2~xTCK0bitsin thexTMC0register.ThisexternalTMinputpinallowsanexternalclocksourcetodrivetheinternal TM.TheTMinputpincanbechosentohaveeitherarisingorfallingactiveedge.TheSTCKand PTCKpinsarealsousedastheexternaltriggerinputpininsinglepulseoutputmode. AnotherpinxTP,whichalsocanbethexTMoutputpin,isthecaptureinputpinwhoseactiveedge canbearisingedge,afallingedgeorbothrisingandfallingedges.Theactiveedgetransitiontypeis selectedusingthexTIO1~xTIO0bitsinthexTMC1register.ForthePTM,thereisanothercapture input,PTCK,forPTMcaptureinputmode,whichcanbeusedastheexternaltriggerinputsource exceptforthePTPpin. TheTMseachhavetwooutputpins,namedxTP.TheTMoutputpinscanbeselectedusingthe correspondingpin-sharedfunctionselectionbitsdescribedinthePin-sharedFunctionsection.When theTMisintheCompareMatchOutputMode,thesepinscanbecontrolledbytheTMtoswitchto ahighorlowlevelortotogglewhenacomparematchsituationoccurs.TheexternalxTPoutputpin isalsothepinwheretheTMgeneratesthePWMoutputwaveform. AstheTMinputoroutputpinsarepin-sharedwithotherfunctions,theTMexternalpinfunction mustfirstbesetupusingregisters.AsinglebitinthePin-sharedFunctionSelectionRegisters determinesifitsassociatedpinistobeusedasanexternalTMpinorifitistohaveanother function. STM PTM Input Output Input Output STCK o� STP STP PTCK o� PTP PTP TM External Pins |
|
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 |