User`s guide
Rev. 1.10 76 November 14, 2014 Rev. 1.10 77 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
TM0DL Register
Bit 7 6 5 4 3 2 1 0
Name D7 D6 D5 D4 D3 D2 D1 D0
R/W R R R R R R R R
POR 0 0 0 0 0 0 0 0
Bit7~0 TM0DL:TM0CounterLowByteRegisterbit7~bit0
TM010-bitCounterbit7~bit0
TM0DH Register – 10-bit STM
Bit 7 6 5 4 3 2 1 0
Name — — — — — — D9 D8
R/W — — — — — — R R
POR — — — — — — 0 0
Bit7~2 Unimplemented,readas"0"
Bit1~0 TM0DH:TM0CounterHighByteRegisterbit1~bit0
TM010-bitCounterbit9~bit8
TM0AL Register
Bit 7 6 5 4 3 2 1 0
Name D7 D6 D5 D4 D3 D2 D1 D0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0 0
Bit7~0 TM0AL:TM0CCRALowByteRegisterbit7~bit0
TM010-bitCCRAbit7~bit0
TM0AH Register
Bit 7 6 5 4 3 2 1 0
Name — — — — — — D9 D8
R/W — — — — — — R/W R/W
POR — — — — — — 0 0
Bit7~2 Unimplemented,readas"0"
Bit1~0 TM0AH:TM0CCRAHighByteRegisterbit1~bit0
TM010-bitCCRAbit9~bit8
Standard Type TM Operating Modes
TheStandardTypeTMcanoperateinoneofveoperatingmodes,CompareMatchOutputMode,
PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The
operatingmodeisselectedusingtheT0M1andT0M0bitsintheTM0C1register.
Compare Output Mode
Toselectthismode,bitsT0M1andT0M0intheTM0C1register,shouldbesetto00respectively.
Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare
acounteroverow,acomparematchfromComparatorAandacomparematchfromComparatorP.
WhentheT0CCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen
acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallows
thecountertooverow.HerebothT0AFandT0PFinterruptrequestagsforComparatorAand
ComparatorPrespectively,willbothbegenerated.