EasyManua.ls Logo

Holtek HT66F002 - Standard Type TM - STM; Standard 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 68 April 11, 2017 Rev. 1.71 69 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
Standard Type TM – STM
TheStandardTypeTMcontainsveoperatingmodes,whichareCompareMatchOutput,Timer/
EventCounter,CaptureInput,SinglePulseOutputandPWMOutputmodes.TheStandardTMcan
becontrolledwithtwoexternalinputpinsandcandrivetwoexternaloutputpins.
Device TM Type TM Name TM Input Pin TM Output Pin
HT66F002
HT66F0025
HT66F003
10-bit STM STM STCK0, STP0I STP0, STP0B


 
   
  
 

 

 

 
 
 
 
   


 

  

 

 




 
















Standard Type TM Block Diagram
Standard TM Operation
Atitscoreisa10-bitcount-upcounterwhichisdrivenbyauserselectableinternal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CCRPandCCRAregisters.TheCCRPis3-bit
widewhosevalueiscomparedwiththehighest3bitsinthecounterwhiletheCCRAisthe10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ST0ON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Standard
TypeTMcanoperateinanumberofdifferentoperationalmodes,canbedrivenbydifferentclock
sourcesandcanalsocontrolanoutputpin.Alloperatingsetupconditionsareselectedusingrelevant
internalregisters.

Table of Contents

Related product manuals