Rev. 1.00
86
September 11, 2018
Rev. 1.00
87
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Counter Value
0xFFFF
CCRP
CCRA
CTON
CTPAU
CTPOL
CCRP Int. flag
CTMPF
CCRA Int. flag
CTMAF
CTM O/P Pin
Time
CCRP=0
CCRP > 0
Counter overflow
CCRP > 0
Counter cleared by CCRP value
Pause
Resume
Stop
Counter
Restart
CTCCLR = 0; CTM [1:0] = 00
Output pin set to
initial Level Low if
CTOC=0
Output Toggle
with CTMAF flag
Note CTIO [1:0] = 10
Active High Output select
Here CTIO [1:0] = 11
Toggle Output select
Output not affected by
CTMAF flag. Remains High
until reset by CTON bit
Output Pin
Reset to Initial value
Output controlled by other
pin-shared function
Output Inverts
when CTPOL is high
Compare Match Output Mode – CTCCLR=0
Note: 1. With CTCCLR=0, a Comparator P match will clear the counter
2. The CTM output pin is controlled only by the CTMAF flag
3. The output pin is reset to its initial state by a CTON bit rising edge