User`s guide
Rev. 1.10 64 November 14, 2014 Rev. 1.10 65 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Bit3 T1OC: TP1_0,TP1_1Outputcontrolbit
CompareMatchOutputMode
0:Initiallow
1:Initialhigh
PWMMode
0:Activelow
1:Activehigh
ThisistheoutputcontrolbitfortheTM1outputpin.Itsoperationdependsupon
whetherTM1isbeingusedintheCompareMatchOutputModeorinthePWMMode.
IthasnoeffectiftheTM1isintheTimer/CounterMode.IntheCompareMatch
OutputModeitdeterminesthelogiclevelofheTM1outputpinbeforeacompare
matchoccurs.InthePWMModeitdeterminesifthePWMsignalisactivehighor
activelow.
Bit2 T1POL:TP1_0,TP1_1OutputpolarityControl
0:Non-invert
1:Invert
ThisbitcontrolsthepolarityoftheTP1_0orTP1_1outputpin.Whenthebitisset
hightheTM1outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithas
noeffectiftheTM1isintheTimer/CounterMode.
Bit1 T1DPX: TM1PWMperiod/dutyControl
0:CCRP-period;CCRA-duty
1:CCRP-duty;CCRA-period
ThisbitdetermineswhichoftheCCRAandCCRPregistersareusedforperiodand
dutycontrolofthePWMwaveform.
Bit0 T1CCLR:SelectTM1Counterclearcondition
0:TM1ComparatorPmatch
1:TM1ComparatorAmatch
Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe
CompactTM1containstwocomparators,ComparatorAandComparatorP,eitherof
whichcanbeselectedtocleartheinternalcounter.WiththeT1CCLRbitsethigh,
thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA.
Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom
theComparatorPorwithacounteroverow.Acounteroverowclearingmethodcan
onlybeimplementediftheCCRPbitsareallclearedtozero.TheT1CCLRbitisnot
usedinthePWMMode.