Rev. 1.00
�6
��ne ��� �01�
Rev. 1.00
��
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
CAPTMAH Register
Bit
7
6
5
4
3
2
1
0
Name
D15
D14
D13
D1�
D11
D10
D9
D�
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7~0
D15~D8
: CAPTM Compare High Byte Register bit 7 ~ bit 0
CAPTM 16-bit Compare Register bit 15 ~ bit 8
CAPTMCL Register
Bit
7
6
5
4
3
2
1
0
Name
D�
D6
D5
D4
D3
D�
D1
D0
R/W
R
R
R
R
R
R
R
R
POR
x
x
x
x
x
x
x
x
"x": �nknown
Bit 7~0
D7~D0
: CAPTM Capture Low Byte Register bit 7 ~ bit 0
CAPTM 16-bit Capture Register bit 7 ~ bit 0
CAPTMCH Register
Bit
7
6
5
4
3
2
1
0
Name
D15
D14
D13
D1�
D11
D10
D9
D�
R/W
R
R
R
R
R
R
R
R
POR
x
x
x
x
x
x
x
x
"x": �nknown
Bit 7~0
D15~D8
: CAPTM Capture High Byte Register bit 7 ~ bit 0
CAPTM 16-bit Capture Register bit 15 ~ bit 8
Capture Timer Operation
The Capture Timer is used to detect and measure input signal pulse widths and periods. It can be
used in Capture or Compare Mode. There are four timer capture inputs, FHA, FHB, FHC and CTIN.
Each of these capture inputs has its own edge detector selection, it can be either a rising edge, a
falling edge or both rising and falling edge
s
.
The CAPTON bit is used to control the overall Capture Timer enable/disable function. Disabling the
Capture Module when not used will reduce the device power consumption. Additionally the capture
input control is enabled/disabled using the CAPEN control bit. The trigger edge options are setup
using the CAPEG1 and CAPEG0 bits, to select either positive edge, negative edge or both edges.
The timer also includes a capture timer noise filter which is used to filter out unwanted glitches or
pulses on the H1, H2 and H3 input pins. This function is enabled using the CAPFIL bit. If the noise
filter is enabled, the capture input signals must be sampled either 2 or 4 times, in order to recogni
s
e
an edge as a valid capture event. The sampling 2 or 4 time units are based o
n
either t
SYS
or 4 × t
SYS
determined using the CAPNFS bit.