| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F39 bảng dữ liệu(PDF) 46 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 bảng dữ liệu(HTML) 46 Page - Holtek Semiconductor Inc |
|
46 / 102 page ![]() Rev. 1.10 46 July 01, 2016 Rev. 1.10 47 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU TM Operation ThekeytounderstandinghowtheTMoperatesistoseeitintermsofafreerunningcounterwhose valueisthencomparedwiththevalueofpre-programmedinternalcomparators.Whenthefree runningcounterhasthesamevalueasthepre-programmedcomparator,knownasacomparematch situation,aTMinterruptsignalwillbegeneratedwhichcanclearthecounterandperhapsalso changetheconditionoftheTMoutputpin.TheinternalTMcounterisdrivenbyauserselectable clocksource,whichcanbeaninternalclockoranexternalpin. TM Clock Source TheclocksourcewhichdrivesthemaincounterineachTMcanoriginatefromvarioussources. TheselectionoftherequiredclocksourceisimplementedusingtheTnCK2~TnCK0bitsintheTM controlregisters.TheclocksourcecanbearatioofthesystemclockfSYSortheexternalTCKnpin. TheTCKnpinclocksourceisusedtoallowanexternalsignaltodrivetheTMasanexternalclock sourceorforeventcounting. TM Interrupts TheCompactTMshavetwointernalinterrupts,oneforeachoftheinternalcomparatorAor comparatorP,whichgenerateaTMinterruptwhenacomparematchconditionoccurs.Whena TMinterruptisgenerateditcanbeusedtoclearthecounterandalsotochangethestateoftheTM outputpin. TM External Pins EachoftheTMshasoneTMinputpin,withthelabelTCKn.TheTMinputpin,isessentiallya clocksourcefortheTMandisselectedusingtheTnCK2~TnCK0bitsintheTMnC0register.This externalTMinputpinallowsanexternalclocksourcetodrivetheinternalTM.ThisexternalTM inputpinissharedwithotherfunctionsbutwillbeconnectedtotheinternalTMifselectedusingthe TnCK2~TnCK0bits.TheTMinputpincanbechosentohaveeitherarisingorfallingactiveedge. TheTMseachhaveoneormoreoutputpinswiththelabelTPn.WhentheTMisintheCompare MatchOutputMode,thesepinscanbecontrolledbytheTMtoswitchtoahighorlowlevelorto togglewhenacomparematchsituationoccurs.TheexternalTPnoutputpinisalsothepinwherethe TMgeneratesthePWMoutputwaveform.AstheTMoutputpinsarepin-sharedwithotherfunction, theTMoutputfunctionmustfirstbesetupusingregisters.Asinglebitinoneoftheregisters determinesifitsassociatedpinistobeusedasanexternalTMoutputpinorifitistohaveanother function. |
|
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 |