EasyManuals Logo

Holtek HT66F002 User Manual

Default Icon
144 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 #93 background imageLoading...
Page #93 background image
Rev. 1.71 92 April 11, 2017 Rev. 1.71 93 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
Single Pulse Output Mode
Toselectthismode,therequiredbitpairs,PTnM1andPTnM0shouldbesetto10respectivelyand
alsothecorrespondingPTnIO1andPTnIO0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outputleadingedgeisalowtohightransitionofthePTnONbit,which
canbeimplementedusingtheapplicationprogram.HoweverintheSinglePulseMode,thePTnON
bitcanalsobemadetoautomaticallychangefromlowtohighusingtheexternalPTCKnpin,
whichwillinturninitiatetheSinglePulseoutput.WhenthePTnONbittransitionstoahighlevel,
thecounterwillstartrunningandthepulseleadingedgewillbegenerated.ThePTnONbitshould
remainhighwhenthepulseisinitsactivestate.Thegeneratedpulsetrailingedgewillbegenerated
whenthePTnON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AwillalsoautomaticallyclearthePTnONbitandthus
generatetheSinglePulseoutputtrailingedge.InthiswaytheCCRAvaluecanbeusedtocontrol
thepulsewidth.AcomparematchfromComparatorAwillalsogenerateTMinterrupts.Thecounter
canonlyberesetbacktozerowhenthePTnONbitchangesfromlowtohighwhenthecounter
restarts.IntheSinglePulseModeCCRPisnotused.ThePTnCCLRbitisalsonotused.
PTnON bit
0 1
S/W Command
SETPTnON
or
PTCKn Pin
Transition
PTnON bit
1 0
Trailing Edge
S/W Command
CLRPTnON
or
CCRA Compare
Match
PTPn/PTPnB
Output Pin
Pulse Width = CCRA Value
Leading Edge
Single Pulse Generation (n=0 or 1)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Holtek HT66F002 Specifications

General IconGeneral
BrandHoltek
ModelHT66F002
CategoryControl Unit
LanguageEnglish

Related product manuals