Rev. 1.00
110
��ne ��� �01�
Rev. 1.00
111
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Comparator Register
The CMPC control register controls othe hysteresis functions and on/off control of the four
comparators. As the comparator 0 is used in the over current detector, there will be more description
about it in the associated chapter.
CMPC Register
Bit
7
6
5
4
3
2
1
0
Name
C3HYEN C�HYEN C1HYEN C0HYEN
C3EN
C�EN
C1EN
C0EN
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
1
1
1
1
0
0
0
0
Bit 7
C3HYEN
: Comparator 3 hysteresis control
0: Disable
1: Enable
This is the comparator 3 hysteresis control bit and if set high will apply a limited
amount of hysteresis to the comparator, as specified in the Comparators Electrical
Characteristics table. The positive feedback induced by hysteresis reduces the effect of
spurious switching near the comparator threshold.
Bit 6
C2HYEN
: Comparator 2 hysteresis control
0: Disable
1: Enable
This is the comparator 2 hysteresis control bit and if set high will apply a limited
amount of hysteresis to the comparator, as specified in the Comparator Electrical
Characteristics table. The positive feedback induced by hysteresis reduces the effect of
spurious switching near the comparator threshold.
Bit 5
C1HYEN
: Comparator 1 hysteresis control
0: Disable
1: Enable
This is the comparator 1 hysteresis control bit and if set high will apply a limited
amount of hysteresis to the comparator, as specified in the Comparator Electrical
Characteristics table. The positive feedback induced by hysteresis reduces the effect of
spurious switching near the comparator threshold.
Bit 4
C0HYEN
: Comparator 0 hysteresis control
0: Disable
1: Enable
This is the comparator 0 hysteresis control bit and if set high will apply a limited
amount of hysteresis to the comparator, as specified in the Comparator Electrical
Characteristics table. The positive feedback induced by hysteresis reduces the effect of
spurious switching near the comparator threshold.
Bit 3
C3EN
: Comparator 3 on/off control
0:
Off
1:
On
This is the Comparator 3 on/off control bit. If the bit is zero the comparator 3 will be
switched off and no power consumed even if analog voltages are applied to its inputs.
For power sensitive applications this bit should be cleared to zero if the comparator 3
is not used or before the device enters the SLEEP or IDLE mode.
Bit 2
C2EN
: Comparator 2 on/off control
0:
Off
1:
On
This is the Comparator 2 on/off control bit. If the bit is zero the comparator 2 will be
switched off and no power consumed even if analog voltages are applied to its inputs.
For power sensitive applications this bit should be cleared to zero if the comparator 2
is not used or before the device enters the SLEEP or IDLE mode.