EasyManua.ls Logo

Holtek HT66F20 - Compact Type TM - CTM; Compact TM Operation

Holtek HT66F20
294 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. 2.50 112 June 22, 2017 Rev. 2.50 113 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
Compact Type TM – CTM
AlthoughthesimplestformofthethreeTMtypes,theCompactTMtypestillcontainsthree
operatingmodes,whichareCompareMatchOutput,Timer/EventCounterandPWMOutputmodes.
TheCompactTMcanalsobecontrolledwithanexternalinputpinandcandriveoneortwoexternal
outputpins.Thesetwoexternaloutputpinscanbethesamesignalortheinversesignal.
CTM Name TM No. TM Input Pin TM Output Pin
HT66F20
10-bit CTM 0 TCK0 TP0_0
HT66F30
10-bit CTM 0 TCK0 TP0_0, TP0_1
HT66F40 10-bit CTM 0 TCK0 TP0_0, TP0_1
HT66F50 10-bit CTM 0, 3 TCK0, TCK3 TP0_0, TP0_1, TP3_0, TP3_1
HT66F60 10-bit CTM 0, 3 TCK0, TCK3 TP0_0, TP0_1, TP3_0, TP3_1



  
 




   

 
  
   
  
  




  


 



















 
Compact Type TM Block Diagram
Compact 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alsotwointernalcomparatorswiththenames,ComparatorAandComparatorP.
ThesecomparatorswillcomparethevalueinthecounterwithCCRPandCCRAregisters.The
CCRPisthreebitswidewhosevalueiscomparedwiththehighestthreebitsinthecounterwhilethe
CCRAisthetenbitsandthereforecompareswithallcounterbits.
Theonlywayofchangingthevalueofthe10-bitcounterusingtheapplicationprogram,isto
clearthecounterbychangingtheTnON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Compact
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anoutputpin.Alloperatingsetupconditionsare
selectedusingrelevantinternalregisters.

Table of Contents

Related product manuals