Rev. 1.00
96
September 11, 2018
Rev. 1.00
97
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Counter Value
0xFFFF
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
S
TCCLR=0, a Comparator P match will clear the counter
2. The
S
TM output pin is controlled only by the
S
TMAF flag
3. The output pin is reset to its initial state by a
S
TON bit rising edge