EasyManua.ls Logo

Holtek HT66F30 - Page 116

Default Icon
294 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. 2.50 116 June 22, 2017 Rev. 2.50 117 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
Bit3 TnOC:TPn_0,TPn_1Outputcontrolbit
CompareMatchOutputMode
0:Initiallow
1:Initialhigh
PWMMode
0:Activelow
1:Activehigh
ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon
whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMMode.
IthasnoeffectiftheTMisintheTimer/CounterMode.IntheCompareMatchOutput
ModeitdeterminesthelogicleveloftheTMoutputpinbeforeacomparematch
occurs.InthePWMModeitdeterminesifthePWMsignalisactivehighoractive
low.
Bit2 TnPOL:TPn_0,TPn_1OutputpolarityControl
0:Non-invert
1:Invert
ThisbitcontrolsthepolarityoftheTPn_0orTPn_1outputpin.Whenthebitisset
hightheTMoutputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasno
effectiftheTMisintheTimer/CounterMode.
Bit1 TnDPX:TMnPWMperiod/dutyControl
0:CCRP-period;CCRA-duty
1:CCRP-duty;CCRA-period
Thisbit,determineswhichoftheCCRAandCCRPregistersareusedforperiodand
dutycontrolofthePWMwaveform.
Bit0 TnCCLR:SelectTMnCounterclearcondition
0:TMnComparatrorPmatch
1:TMnComparatrorAmatch
Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe
CompactTMcontainstwocomparators,ComparatorAandComparatorP,eitherof
whichcanbeselectedtocleartheinternalcounter.WiththeTnCCLRbitsethigh,
thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA.
Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom
theComparatorPorwithacounteroverow.Acounteroverowclearingmethodcan
onlybeimplementediftheCCRPbitsareallclearedtozero.TheTnCCLRbitisnot
usedinthePWMMode.

Table of Contents

Other manuals for Holtek HT66F30

Related product manuals