| Electronic Components Datasheet Search |
|
HT66F005 Datasheet(PDF) 56 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F005 Datasheet(HTML) 56 Page - Holtek Semiconductor Inc |
|
56 / 109 page ![]() Rev. 1.30 56 ���i� ��� �01� Rev. 1.30 5� ���i� ��� �01� HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM 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,oneforeachoftheinternalcomparator AorcomparatorP,whichgenerateaTMinterruptwhenacomparematchconditionoccurs.Whena TMinterruptisgenerateditcanbeusedtoclearthecounterandalsotochangethestateoftheTM outputpin. TM External Pins EachoftheTMshasoneTMinputpin,withthelabelTCKn.TheTMinputpin,isessentiallya clocksourcefortheTMandisselectedusingtheTnCK2~TnCK0bitsintheTMnC0register.This externalTMinputpinallowsanexternalclocksourcetodrivetheinternalTM.ThisexternalTM inputpinissharedwithotherfunctionsbutwillbeconnectedtotheinternalTMifselectedusingthe TnCK2~TnCK0bits.TheTMinputpincanbechosentohaveeitherarisingorfallingactiveedge. TheTMseachhavetwooutputpinswiththelabelTPn_0andTPn_1.WhentheTMisinthe CompareMatchOutputMode,thesepinscanbecontrolledbytheTMtoswitchtoahighorlow levelortotogglewhenacomparematchsituationoccurs.TheexternalTPn_0andTPn_1output pinsarealsothepinswheretheTMgeneratesthePWMoutputwaveform.AstheTPn_0andTPn_1 pinsarepin-sharedwithotherfunctions,theTPn_0orTPn_1pinfunctionisenabledordisabled accordingtotheinternalTMon/offcontrol,operationmodeandoutputcontrolsettings.Whenthe correspondingTMconfigurationselectstheTPn_0orTPn_1pintobeusedasanoutputpin,the associatedpinwillbesetupasanexternalTMoutputpin.IftheTMconfigurationdeterminesthat theTPn_0orTPn_1pinfunctionisnotused,theassociatedpinwillbecontrolledbyotherpin- sharedfunctions.ThedetailsoftheTPn_0orTPn_1pinforeachTManddeviceareprovidedinthe accompanyingtable. Device TM0 TM1 HT66F005/HT66F006 TP0_0� TP0_1 TP1_0� TP1_1 TM Output Pins |
|
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 |