EasyManua.ls Logo

Holtek HT66F002 - Periodic Type TM - PTM; Periodic TM Operation

Default Icon
144 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.71 82 April 11, 2017 Rev. 1.71 83 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Periodic Type TM – PTM
ThePeriodicTypeTMcontainsveoperatingmodes,whichareCompareMatchOutput,Timer/
EventCounter,CaptureInput,SinglePulseOutputandPWMOutputmodes.ThePeriodicTMcan
alsobecontrolledwithtwoexternalinputpinsandcandrivetwoexternaloutputpins.
Device Name TM Input Pin TM Output Pin
HT66F003 10-bit PTM PTCK1, PTP1I PTP1,PTP1B
HT66F004 10-bit PTM
PTCK0, PTP0I
PTCK1, PTP1I
PTP0,PTP0B
PTP1,PTP1B
Periodic TM Operation
Atitscoreisa10-bitcount-upcounterwhichisdrivenbyauserselectableinternalorexternalclock
source.Therearetwointernalcomparatorswiththenames,ComparatorAandComparatorP.These
comparatorswillcomparethevalueinthecounterwiththeCCRAandCCRPregisters.
Theonlywayofchangingthevalueofthe10-bitcounterusingtheapplicationprogram,isto
clearthecounterbychangingthePTnONbitfromlowtohigh.Thecounterwillalsobecleared
automaticallybyacounteroveroworacomparematchwithoneofitsassociatedcomparators.
Whentheseconditionsoccur,aTMinterruptsignalwillalsousuallybegenerated.ThePeriodic
TypeTMcanoperateinanumberofdifferentoperationalmodes,canbedrivenbydifferentclock
sourcesincludinganinputpinandcanalsocontroltheoutputpin.Alloperatingsetupconditionsare
selectedusingrelevantinternalregisters.


 
  
 
 

 

     
 

 
   
  
  


 
 
  
 
 

 

 



















 

Periodic Type TM Block Diagram (n=0 or 1)

Table of Contents

Related product manuals