EasyManuals Logo

Holtek HT66F0175 User Manual

Default Icon
207 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 #113 background imageLoading...
Page #113 background image
Rev. 1.50 112 August 28, 2017 Rev. 1.50 113 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Single Pulse Output Mode
Toselectthismode,bitsTnM1andTnM0intheTMnC1registershouldbesetto10respectively
andalsotheTnIO1andTnIO0bitsshouldbesetto11respectively.TheSinglePulseOutputMode,
asthenamesuggests,willgenerateasingleshotpulseontheTMnoutputpin.
ThetriggerforthepulseoutputleadingedgeisalowtohightransitionoftheTnONbit,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.WhentheTnONbittransitionstoahighlevel,thecounter
willstartrunningandthepulseleadingedgewillbegenerated.TheTnONbitshouldremainhigh
whenthepulseisinitsactivestate.Thegeneratedpulsetrailingedge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.InthiswaytheCCRAvaluecanbeusedtocontrolthe
pulsewidth.AcomparematchfromComparatorAwillalsogenerateaTMninterrupt.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isnotusedinthisMode.
TnON bit
0 à 1
S/W Command
SETTnON
or
TCKn Pin
Transition
TnON bit
1 à 0
CCRA
Trailing Edge
S/W Command
CLRTnON
or
CCRA Compare
Match
TPn Output Pin
Pulse Width = CCRA Value
CCRA
Leading Edge
Single Pulse Generation

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Holtek HT66F0175 Specifications

General IconGeneral
BrandHoltek
ModelHT66F0175
CategoryStorage
LanguageEnglish