Rev. 1.00
68
August 29, 2018
Rev. 1.00
69
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
Counter Value
0x3FF
CCRP
CCRA
CTnON
CTnPAU
CTnPOL
CTMn O/P Pin
Time
CCRA=0
CCRA = 0
Counter overflow
CCRA > 0 Counter cleared by CCRA value
Pause
Resume
Stop
Counter Restart
Output pin set to
initial Level Low if
CTnOC=0
Output Toggle with
CTMnAF flag
Note CTnIO [1:0] = 10
Active High Output select
Here CTnIO [1:0] = 11
Toggle Output select
Output not affected by
CTMnAF flag. Remains High
until reset by CTnON bit
Output Pin
Reset to Initial value
Output controlled by other
pin-shared function
Output Inverts
when CTnPOL is high
CTMnPF not
generated
No CTMnAF flag
generated on
CCRA overflow
Output does
not change
CTnCCLR = 1; CTnM [1:0] = 00
CCRA Int. flag
CTMnAF
CCRP Int. flag
CTMnPF
Compare Match Output Mode – CTnCCLR=1 (n=0~1)
Note: 1. With CTnCCLR=1 a Comparator A match will clear the counter
2. The CTMn output pin is controlled only by the CTMnAF flag
3. The output pin is reset to its initial state by a CTnON bit rising edge
4. A CTMnPF flag is not generated when CTnCCLR=1