Rev. 1.10
78
November 04, 2019
Rev. 1.10
79
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger Flash MCU
Counter Value
0x3FF
CCRP
CCRA
STON
STPAU
STPOL
CCRP Int.
Flag STMPF
CCRA Int.
Flag STMAF
STM O/P Pin
Time
CCRP=0
CCRP > 0
Counter overflow
CCRP > 0
Counter cleared by CCRP value
Pause
Resume
Stop
Counter
Restart
STCCLR = 0; STM [1:0] = 00
Output pin set
to initial Level
Low if STOC=0
Output Toggle with
STMAF flag
Note STIO [1:0] = 10
Active High Output select
Here STIO [1:0] = 11
Toggle Output select
Output not affected by STMAF
flag. Remains High until reset
by STON bit
Output Pin
Reset to Initial value
Output controlled by other
pin-shared function
Output Inverts
when STPOL is high
Compare Match Output Mode – STCCLR=0
Note: 1. With STCCLR=0 a Comparator P match will clear the counter
2. The STM output pin is controlled only by the STMAF flag
3. The output pin is reset to its initial state by a STON bit rising edge