| поискавой системы для электроныых деталей |
|
HT45F2020 датащи(PDF) 42 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 датащи(HTML) 42 Page - Holtek Semiconductor Inc |
|
42 / 85 page ![]() Rev. 1.00 42 April 11, 2017 Rev. 1.00 43 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Timer Modules – TM Oneofthemostfundamentalfunctionsinanymicrocontrollerdeviceistheabilitytocontroland measuretime.ToimplementtimerelatedfunctionsthedeviceincludesaPeriodicTimerModule, generallyabbreviatedtothenamePTM.ThePTMaremulti-purposetimingunitsandserveto provideoperationssuchasTimer/Counter,InputCapture,CompareMatchOutputandSinglePulse OutputaswellasbeingthefunctionalunitforthegenerationofPWMsignals.ThePTMhastwo individualinterrupts.TheadditionofinputandoutputpinsforthePTMensuresthatusersare providedwithtimingunitswithawideandflexiblerangeoffeatures. ThebrieffeaturesofthePeriodicTMaredescribedherewithmoredetailedinformationprovidedin thePeriodicTypeTMsection. Introduction Thedevicecontainsa10-bitPeriodicTypeTM.ThemainfeaturesofthePTMaresummarisedin theaccompanyingtable. TM Function PTM Timer/Counter √ Input Capture √ Compare Match Output √ PWM Channels 1 Single Pulse Output 1 PWM Alignment Edge PWM Adjustment Period & Duty Duty or Period PTM Function Summary TM Operation ThePeriodicTMoffersadiverserangeoffunctions,fromsimpletimingoperationstoPWM signalgeneration.ThekeytounderstandinghowtheTMoperatesistoseeitintermsofafree runningcount-upcounterwhosevalueisthencomparedwiththevalueofpre-programmedinternal comparators.Whenthefreerunningcount-upcounterhasthesamevalueasthepre-programmed comparator,knownasacomparematchsituation,aTMinterruptsignalwillbegeneratedwhich canclearthecounterandperhapsalsochangetheconditionoftheTMoutputpin.TheinternalTM counterisdrivenbyauserselectableclocksource,whichcanbeaninternalclockoranexternalpin. TM Clock Source TheclocksourcewhichdrivesthemaincounterinthePTMcanoriginatefromvarioussources.The selectionoftherequiredclocksourceisimplementedusingthePTCK2~PTCK0bitsinthePTM controlregister,PTMC0.Theclocksourcecanbearatioofthesystemclock,fSYS,ortheinternal highclock,fH,thefSUBclocksourceortheexternalPTCKpin.ThePTCKpinclocksourceisusedto allowanexternalsignaltodrivetheTMasanexternalclocksourceforeventcounting. TM Interrupts ThePeriodictypeTMhastwointernalinterrupts,theinternalcomparatorAorcomparatorP,which generateaTMinterruptwhenacomparematchconditionoccurs.WhenaTMinterruptisgenerated, itcanbeusedtoclearthecounterandalsotochangethestateoftheTMoutputpin. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |