EasyManua.ls Logo

Holtek BS82B12A-3 - Periodic Type TM - PTM0

Holtek BS82B12A-3
168 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.20 84 January 23, 2015 Rev. 1.20 85 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
Periodic Type TM – PTM0
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
becontrolledwithoneexternalinputpinandcandrivetwoexternaloutputpins.


 
  
 
 

 




 
   
  
  

 


 
 
  
 


 

 


 














 
 

Periodic Type TM Block Diagram
Periodic TM Operation
Atthecoreisa10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comparatoris10-bitwide.
Theonlywayofchangingthevalueofthe10-bitcounterusingtheapplicationprogram,isto
clearthecounterbychangingthePT0ON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PTM0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morethanoneoutputpin.Alloperatingsetup
conditionsareselectedusingrelevantinternalregisters.

Table of Contents

Related product manuals