Rev. 1.00
��
��ne ��� �01�
Rev. 1.00
�3
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Counter Value
0xFFFF
or 0x3FF
CCRP
CCRA
PTnON
PTnPAU
PTnPOL
CCRP Int. Flag
TMnPF
CCRA Int. Flag
TMnAF
PTMn O/P Pin
Time
CCRP=0
CCRP > 0
Co�nter overflow
CCRP > 0
Co�nter cleared by CCRP val�e
Pa�se
Res�me
Stop
Co�nter
Restart
PTnCCLR = 0; PTnM[1:0] = 00
O�tp�t pin set to
initial Level Low if
PTnOC=0
O�tp�t Toggle with
TMnAF flag
Note PTnIO [1:0] = 10
Active High O�tp�t select
Here PTnIO [1:0] = 11
Toggle O�tp�t select
O�tp�t not affected by TMnAF
flag. Remains High �ntil reset by
PTnON bit
O�tp�t Pin
Reset to Initial val�e
O�tp�t controlled by other
pin-shared f�nction
O�tp�t Inverts
when PTnPOL is high
Compare Match Output Mode – PTnCCLR=0 (n=0~3)
Note: 1. With PTnCCLR=0 a Comparator P match will clear the counter
2. The PTMn output pin is controlled only by the TMnAF flag
3. The output pin is reset to its initial state by a PTnON bit rising edge