Rev. 1.00
9�
��ne ��� �01�
Rev. 1.00
99
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
• ADCR2 Register
Bit
7
6
5
4
3
2
1
0
Name IOEOCB ADCRL_SEL ADCH_SEL1 ADCH_SEL0 ISEOCB —
PWDIS1 PWDIS0
R/W
R
R/W
R/W
R/W
R/W
—
R/W
R/W
POR
0
0
0
0
0
—
0
0
Bit 7
IOEOCB
: A/D auto-scan circuit status flag
0: A/D auto-scan circuit is idle
1: A/D auto-scan circuit is busy
This bit will be set high by hardware when the A/D auto-scan circuit is in a busy
status, in which case ADSTR triggered A/D conversions are not allowed.
Bit 6
ADCRL_SEL
: A/D resolution selection
0: 12-bit, one conversion needs 18×
t
ADCK
1: 10-bit, one conversion needs 16×
t
ADCK
Bit 5~4
ADCH_SEL1~ADCH_SEL0
: Number of channels to be scanned selection
0
0: 1 channel
0
1: 2 channels
1
0: 3 channels
0
1: 4 channels
This setup is only available for A/D auto-scan triggered conversion. After setting these
bits, the actual channel to be converted is configured using the ADISn3~ADISn0 bits.
Bit 3
ISEOCB
: A/D auto-scan conversion finished flag
0: A/D auto-scan has not been triggered or A/D auto-scan has not finished
1: A/D auto-scan has been triggered and has finished
When the A/D auto-scan has been triggered and all the selected channels have been
converted, this bit will be set high by hardware to indicate that the ISRLn/ISRHn
registers are available to read. After the ISRLn/ISRHn registers has been read, this bit
must be cleared to zero by application program.
Bit 2
Unimplemented, read as "0"
Bit 1~0
PWDIS1~PWDIS0
: PWMn duty trigger interrupt selection when PWIS=1
00: PWM0 duty trigger interrupt
01: PWM1 duty trigger interrupt
10
: PWM2 duty trigger interrupt
11
: PWM3 duty trigger interrupt
• ADCR3 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
OPA�LE OPA1LE OPA0LE
R/W
—
—
—
—
—
R/W
R/W
R/W
POR
—
—
—
—
—
0
0
0
Bit 7~3
Unimplemented, read as "0"
Bit 2
OPA2LE
: OPA2 output compare with boundary values control
0: Disable
1: Enable
Bit 1
OPA1LE
: OPA1 output compare with boundary values control
0: Disable
1: Enable
Bit 0
OPA0LE
: OPA0 output compare with boundary values control
0: Disable
1: Enable