Rev. 1.00
9�
��ne ��� �01�
Rev. 1.00
93
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
AN1
AN�
AN3
AN0
AP
AN6
AN�
OPA0O
OPA1P
OPA1N
OPA1O
OPA�O
OPA�P
OPA�N
Av=1/5/10/�0
+
-
ADBYPS
Int_AD_EOC or int_AD_ISEOC
Int_AHL_ Lim
DELAY
Start
PWM Int
ADSTR
ADC
ADR/ISR
EOCB or ISEOCB
AD HL/LV
Trigger
DLSTR
ADDL
f
SYS
Bypass
and
channel selector
ACS3~ACS0
or
ADISn3~ADISn0
Bypass
ADBYPS
ADLVD/ADHVD
A/D Converter Structure
A/D Converter Register Description
Overall operation of the A/D converter is controlled using a series of registers. A read only register
pair
, ADRH and ADRL, exists to store the ADSTR triggered A/D converter data 12-bit or 10-bit
value. Four read only register pairs, ISRHn and ISRLn, are used to store the DLSTR triggered
A/D converter data 12-bit or 10-bit value. Two register pairs, ADLVDH/ADLVDL and ADHVDH/
ADHVDL, are used to store A/D converter low and high boundary values reapectively. The ADDL
register is used to determine the delay time between the DLSTR trigger action and the actual start
of the A/D conversion. The remaining registers are control registers which setup the operating and
control function of the A/D converter.
Register Name
Bit
7
6
5
4
3
2
1
0
ADRL (ADRFS=0�
ADCRL_SEL=0)
D3
D�
D1
D0
—
—
—
—
ADRL (ADRFS=1�
ADCRL_SEL=0)
D�
D6
D5
D4
D3
D�
D1
D0
ADRL (ADRFS=0�
ADCRL_SEL=1)
D1
D0
—
—
—
—
—
—
ADRL (ADRFS=1�
ADCRL_SEL=1)
D�
D6
D5
D4
D3
D�
D1
D0
ADRH (ADRFS=0�
ADCRL_SEL=0)
D11
D10
D9
D�
D�
D6
D5
D4
ADRH (ADRFS=1�
ADCRL_SEL=0)
—
—
—
—
D11
D10
D9
D�
ADRH (ADRFS=0�
ADCRL_SEL=1)
D9
D�
D�
D6
D5
D4
D3
D�
ADRH (ADRFS=1�
ADCRL_SEL=1)
—
—
—
—
—
—
D9
D�
ADCR0
ADSTR
EOCB
ADOFF
ADRFS
ACS3
ACS�
ACS1
ACS0
ADCR1
ADRE
DLSTR
PWIS
ADCHVE
ADCLVE
ADCK�
ADCK1
ADCK0
ADCR�
IOEOCB ADCRL_SEL ADCH_SEL1 ADCH_SEL0 ISEOCB
—
PWMDIS1
PWMDIS0
ADCR3
—
—
—
—
—
OPA�LE
OPA1LE
OPA0LE
ADISG1
ADIS13
ADIS1�
ADIS11
ADIS10
ADIS03
ADIS0�
ADIS01
ADIS00
ADISG�
ADIS33
ADIS3�
ADIS31
ADIS30
ADIS�3
ADIS��
ADIS�1
ADIS�0
ADDL
D�
D6
D5
D4
D3
D�
D1
D0