A/D Flash Type 8-bit MCU with EEPROM
HT66F24D/HT66F25D
Counter Value Counter overflow
CCRP=0
CCRP > 0
TnCCLR = 0; TnM [1:0] = 00
Counter cleared by CCRP value
0x3FF
CCRP
CCRA
CCRP > 0
Resume
Pause
Counter
Restart
Stop
TnON
TnPAU
TnPOL
CCRP Int.
Flag TnPF
CCRA Int.
Flag TnAF
Time
TM O/P Pin
Output pin set to
initial Level Low
if TnOC=0
Output Toggle with
TnAF flag
Here TnIO [1:0] = 11
Toggle Output select
Output not affected by TnAF
flag. Remains High until reset
by TnON bit
Output Inverts
when TnPOL is high
Output Pin
Note TnIO [1:0] = 10
Reset to Initial value
Active High Output select
Output controlled by
other pin-shared function
Compare Match Output Mode – TnCCLR=0
Note: 1. With TnCCLR=0, a Comparator P match will clear the counter
2. The TM output pin is controlled only by the TnAF flag
3. The output pin is reset to its initial state by a TnON bit rising edge
Rev. 1.10
80
March 25, 2013