Rev. 1.00
66
��ne ��� �01�
Rev. 1.00
6�
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Periodic Type TM Register Description
Overall operation of the Periodic Type TM is controlled using a series of registers. A read only
register pair exists to store the internal counter 10-bit or 16-bit value, while three read/write register
pairs exist to store the internal 10-bit or 16-bit CCRA value, CCRP value and CCRB value. The
remaining three registers are control registers which setup the different operating and control modes.
Register
Name
Bit
7
6
5
4
3
2
1
0
PTMnC0 PTnPAU PTnCK� PTnCK1 PTnCK0 PTnON
—
—
—
PTMnC1
PTnM1 PTnM0 PTnIO1 PTnIO0 PTnOC
PTnPOL
PTnCAPTS PTnCCLR
PTMnC�
—
—
—
—
—
PTnTCLR1 PTnTCLR0
PTnVLF
PTMnDL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnDH
D15
D14
D13
D1�
D11
D10
D9
D�
PTMnAL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnAH
D15
D14
D13
D1�
D11
D10
D9
D�
PTMnBL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnBH
D15
D14
D13
D1�
D11
D10
D9
D�
PTMnRPL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnRPH
D15
D14
D13
D1�
D11
D10
D9
D�
16-bit Periodic TM Registers List (n=0~1)
Register
Name
Bit
7
6
5
4
3
2
1
0
PTMnC0 PTnPAU PTnCK� PTnCK1 PTnCK0 PTnON
—
—
—
PTMnC1
PTnM1
PTnM0 PTnIO1 PTnIO0 PTnOC
PTnPOL PTnCAPTS PTnCCLR
PTMnC�
—
—
—
—
—
PTnTCLR1 PTnTCLR0 PTnVLF
PTMnDL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnDH
—
—
—
—
—
—
D9
D�
PTMnAL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnAH
—
—
—
—
—
—
D9
D�
PTMnBL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnBH
—
—
—
—
—
—
D9
D�
PTMnRPL
D�
D6
D5
D4
D3
D�
D1
D0
PTMnRPH
—
—
—
—
—
—
D9
D�
10-bit Periodic TM Registers List (n=2~3)
PTMnC0 Register (n=0~3)
Bit
7
6
5
4
3
2
1
0
Name
PTnPAU PTnCK� PTnCK1 PTnCK0
PTnON
—
—
—
R/W
R/W
R/W
R/W
R/W
R/W
—
—
—
POR
0
0
0
0
0
—
—
—
Bit 7
PTnPAU
: PTMn Counter Pause Control
0: Run
1: Pause
The counter can be paused by setting this bit high. Clearing the bit to zero restores
normal counter operation. When in a Pause condition the PTMn will remain powered
up and continue to consume power. The counter will retain its residual value when
this bit changes from low to high and resume counting from this value when the bit
changes to a low value again.