| Electronic Components Datasheet Search |
|
HT68F005 Datasheet(PDF) 53 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 Datasheet(HTML) 53 Page - Holtek Semiconductor Inc |
|
53 / 93 page ![]() Rev. 1.00 5� ��to�e� ��� �01� Rev. 1.00 53 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU Timer Modules – TM Oneofthemostfundamentalfunctionsinanymicrocontrollerdeviceistheabilitytocontroland measuretime.ToimplementtimerelatedfunctionseachdeviceincludesseveralTimerModules, abbreviatedtothenameTM.TheTMsaremulti-purposetimingunitsandservetoprovide operationssuchasTimer/Counter,CompareMatchOutputaswellasbeingthefunctionalunitfor thegenerationofPWMsignals.EachoftheTMshastwoindividualinterrupts.Theadditionof inputandoutputpinsforeachTMensuresthatusersareprovidedwithtimingunitswithawideand flexiblerangeoffeatures. Introduction ThedevicescontaintwoTMswitheachTMhavingareferencenameofTM0andTM1.Each individualTMcanbecategorisedasacertaintype,namelyCompactTypeTM,socalledCTM.The mainfeaturesoftheTMsaresummarisedintheaccompanyingtable. Function CTM Time�/Counte� √ Compa�e Mat�h �utput √ PWM Channels 1 PWM Alignment Edge PWM Adjustment Pe�iod & Duty Duty o� Pe�iod TM Function Summary TM Operation ThesetwoTMsofferarangeoffunctions,fromsimpletimingoperationstoPWMsignalgeneration. ThekeytounderstandinghowtheTMoperatesistoseeitintermsofafreerunningcounterwhose valueisthencomparedwiththevalueofpre-programmedinternalcomparators.Whenthefree runningcounterhasthesamevalueasthepre-programmedcomparator,knownasacomparematch situation,aTMinterruptsignalwillbegeneratedwhichcanclearthecounterandperhapsalso changetheconditionoftheTMoutputpin.TheinternalTMcounterisdrivenbyauserselectable clocksource,whichcanbeaninternalclockoranexternalpin. TM Clock Source TheclocksourcewhichdrivesthemaincounterineachTMcanoriginatefromvarioussources.The selectionoftherequiredclocksourceisimplementedusingtheTnCK2~TnCK0bitsintheTMcontrol registers.TheclocksourcecanbearatioofeitherthesystemclockfSYSortheinternalhighclockfH, thefLIRCclocksourceortheexternalTCKnpin.Notethatsettingthesebitstothevalue101willselect areservedclockinput,ineffectdisconnectingtheTMclocksource.TheTCKnpinclocksourceis usedtoallowanexternalsignaltodrivetheTMasanexternalclocksourceorforeventcounting. TM Interrupts TheCompacttypeTMseachhavetwointernalinterrupts,oneforeachoftheinternalcomparatorA orcomparatorP,whichgenerateaTMinterruptwhenacomparematchconditionoccurs.Whena TMinterruptisgenerateditcanbeusedtoclearthecounterandalsotochangethestateoftheTM outputpin. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |