Rev. 1.10
80
November 04, 2019
Rev. 1.10
81
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
CCRA=0
CCRA = 0
Counter overflow
CCRA > 0 Counter cleared by CCRA value
Pause
Resume
Stop
Counter Restart
STCCLR = 1; 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
STMPF not
generated
No STMAF flag
generated on
CCRA overflow
Output does
not change
Compare Match Output Mode – STCCLR=1
Note: 1. With STCCLR=1 a Comparator A 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
4. A STMPF flag is not generated when STCCLR=1