Holtek HT66F20 Manual page 135

A/d flash mcu with eeprom
Table of Contents

Advertisement

HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
Co�nter Val�e
CCRA > 0 Co�nter cleared by CCRA val�e
0x3FF/
0xFFFF
CCRA
CCRP
TnON bit
TnPAU bit
TnPOL bit
CCRA Int.
Flag TnAF
CCRP Int.
Flag TnPF
TnPF not
generated
TM O/P Pin
O�tp�t Pin set
O�tp�t Toggle
to Initial Level
with TnAF flag
Low if TnOC = 0
Here TnIO�� TnIO0 = ��
Toggle O�tp�t Select
Note: 1. With TnCCLR=1, a Comparator A 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
4. A TnPF flag is not generated when TnCCLR=1
Rev. 2.50
Pa�se
Res�me
O�tp�t not affected by
TnAF flag remains High
�ntil reset by TnON bit
Now TnIO�� TnIO0 = �0
Active High O�tp�t
Select
Compare Match Output Mode – TnCCLR=1
�35
TnCCLR = �; TnM[�:0] = 00
CCRA = 0
Co�nter overflows
CCRA = 0
Co�nter
Stop
Reset
O�tp�t inverts
when TnPOL is high
O�tp�t controlled by
other pin-shared f�nction
O�tp�t Pin
Reset to initial val�e
��ne 22� 20��
Time
No TnAF flag
generated on
CCRA overflow
O�tp�t does
not change

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT66F20 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents