EasyManuals Logo

Holtek HT66F30 User Manual

Default Icon
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #164 background imageLoading...
Page #164 background image
Rev. 2.50 164 June 22, 2017 Rev. 2.50 165 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
Single Pulse Mode
Toselectthismode,therequiredbitpairs,TnAM1,TnAM0andTnBM1,TnBM0shouldbesetto
10respectivelyandalsothecorrespondingTnAIO1,TnAIO0andTnBIO1,TnBIO0bitsshouldbe
setto11respectively.TheSinglePulseOutputMode,asthenamesuggests,willgenerateasingle
shotpulseontheTMoutputpin.
ThetriggerforthepulseTPnAoutputleadingedgeisalowtohightransitionoftheTnONbit,which
canbeimplementedusingtheapplicationprogram.ThetriggerforthepulseTPnBoutputleading
edgeisacomparematchfromComparatorB,whichcanbeimplementedusingtheapplication
program.HoweverintheSinglePulseMode,theTnONbitcanalsobemadetoautomatically
changefromlowtohighusingtheexternalTCKnpin,whichwillinturninitiatetheSinglePulse
outputofTPnA.WhentheTnONbittransitionstoahighlevel,thecounterwillstartrunningand
thepulseleadingedgeofTPnAwillbegenerated.TheTnONbitshouldremainhighwhenthepulse
isinitsactivestate.ThegeneratedpulsetrailingedgeofTPnAandTPnBwillbegeneratedwhen
theTnONbitisclearedtozero,whichcanbeimplementedusingtheapplicationprogramorwhena
comparematchoccursfromComparatorA.
HoweveracomparematchfromComparatorAwillalsoautomaticallycleartheTnONbitandthus
generatetheSinglePulseoutputtrailingedgeofTPnAandTPnB.InthiswaytheCCRAvaluecan
beusedtocontrolthepulsewidthofTPnA.TheCCRA-CCRBvaluecanbeusedtocontrolthe
pulsewidthofTPnB.AcomparematchfromComparatorAandComparatorBwillalsogenerate
TMinterrupts.ThecountercanonlyberesetbacktozerowhentheTnONbitchangesfromlowto
highwhenthecounterrestarts.IntheSinglePulseModeCCRPisnotused.TheTnCCLRbitisalso
notused.
S/W Command
SETTnON
or
TCKn Pin
Transition
CCRB
Leading Edge
CCRA
Trailing Edge
S/W Command
CLRTnON
or
CCRA Compare
Match
TPnA Output Pin
TPnB Output Pin
Pulse Width = (CCRA-CCRB) Value
Pulse Width = CCRA Value
Counter Value
CCRB
CCRA
0
Time
TnON = 1
CCRB Compare
Match
S/W Command
CLRTnON
or
CCRA Compare
Match
CCRB
Trailing Edge
CCRA
Leading Edge
TnON bit
0 ® 1
TnON bit
1 ® 0
TnON bit
1 ® 0
Single Pulse Generation

Table of Contents

Other manuals for Holtek HT66F30

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT66F30 and is the answer not in the manual?

Holtek HT66F30 Specifications

General IconGeneral
BrandHoltek
ModelHT66F30
CategoryComputer Hardware
LanguageEnglish

Related product manuals