Rev. 1.00
50
��ne ��� �01�
Rev. 1.00
51
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Register
Power On Reset
WDT Time-out
(Normal Operation)
WDT Time-out
(IDLE/SLEEP)
PTM3DL
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PTM3DH
- - - - - - 0 0
- - - - - - 0 0
- - - - - - � �
PTM3AL
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PTM3AH
- - - - - - 0 0
- - - - - - 0 0
- - - - - - � �
PTM3RPL
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PTM3RPH
- - - - - - 0 0
- - - - - - 0 0
- - - - - - � �
PAPS0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PAPS1
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PCPS0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PCPS1
- - - - 0 0 0 0
- - - - 0 0 0 0
- - - - � � � �
PDPS0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
PRM
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
� � � � � � � �
Note: "u" stands for unchanged;
"x" stands for unknown;
"-" stands for unimplemented
Input/Output Ports
Holtek microcontrollers offer considerable flexibility on their I/O ports. With the input or output
designation of every pin fully under user program control, pull-high selections for all ports and
wake-up selections on certain pins, the user is provided with an I/O structure to meet the needs of a
wide range of application possibilities.
The device provides bidirectional input/output lines labeled with port names PA~PD. These I/O
ports are mapped to the RAM Data Memory with specific addresses as shown in the Special Purpose
Data Memory table. All of these I/O ports can be used for input and output operations. For input
operation, these ports are non-latching, which means the inputs must be ready at the T2 rising edge
of instruction "MOV A, [m]", where m denotes the port address. For output operation, all the data is
latched and remains unchanged until the output latch is rewritten.
Register
Name
Bit
7
6
5
4
3
2
1
0
PA
PA�
PA6
PA5
PA4
PA3
PA�
PA1
PA0
PAC
PAC�
PAC6
PAC5
PAC4
PAC3
PAC�
PAC1
PAC0
PAPU
PAPU�
PAPU6
PAPU5
PAPU4
PAPU3
PAPU�
PAPU1
PAPU0
PAWU
PAWU�
PAWU6
PAWU5
PAWU4
PAW3
PAWU�
PAWU1
PAWU0
PB
PB�
PB6
PB5
PB4
PB3
PB�
PB1
PB0
PBC
PBC�
PBC6
PBC5
PBC4
PBC3
PBC�
PBC1
PBC0
PBPU
PBPU�
PBPU6
PBPU5
PBPU4
PBPU3
PBPU�
PBPU1
PBPU0
PC
—
—
PC5
PC4
PC3
PC�
PC1
PC0
PCC
—
—
PCC5
PCC4
PCC3
PCC�
PCC1
PCC0
PCPU
—
—
PCPU5
PCPU4
PCPU3
PCPU�
PCPU1
PCPU0
PD
—
—
—
—
PD3
PD�
PD1
PD0
PDC
—
—
—
—
PDC3
PDC�
PDC1
PDC0
PDPU
—
—
—
—
PDPU3
PDPU�
PDPU1
PDPU0
"—": Unimplemented� read as "0"
I/O Logic Function Registers List