Rev. 1.00
1�0
��ne ��� �01�
Rev. 1.00
1�1
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Pri_name6 Register
Bit
7
6
5
4
3
2
1
0
Name
IP14R3
IP14R�
IP14R1
IP14R0
IP13R3
IP13R�
IP13R1
IP13R0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
1
1
1
0
1
1
0
1
Bit 7~4
IP14R3~IP14R0
: Setup the required interrupt number in interrupt priority 14
Bit 3~0
IP13R3~IP13R0
: Setup the required interrupt number in interrupt priority 13
Pri_name7 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
IP15R3
IP15R�
IP15R1
IP15R0
R/W
—
—
—
—
R/W
R/W
R/W
R/W
POR
—
—
—
—
1
1
1
1
Bit 7~4
Unimplemented, read as "0"
Bit 3~0
IP15R3~IP15R0
: Setup the required interrupt number in interrupt priority 15
Interrupt Preempt Function
Regarding the interrupt vector 04H and 08H, each of them, with its priority preempt function being
enabled by properly setting the INTPRI1~INTPRI0 bits in the INTEG1 register, can suspend any
other ongoing interrupt subroutines and immediately enter its interrupt subroutine if the stack is not
full. However the interrupt vector 08H can not suspend the vector 04H subroutine even when the
04H vector preempt function is disabled. It should be noted that when a preempt interrupt occurs
and the stack is full, the requested preempt interrupt will not be immediately serviced until the stack
is not full. After the current higher priority interrupt has been serviced, the program will return to the
last suspended interrupt subroutine using a RETI instruction. For interrupts that require immediate
response, this interrupt priority preempt function can be properly used.
INTEG1 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
INTPRI1 INTPRI0
INT1S1
INT1S0
R/W
—
—
—
—
R/W
R/W
R/W
R/W
POR
—
—
—
—
0
0
0
0
Bit 7~4
Unimplemented, read as "0"
Bit 3~2
INTPRI1~INTPRI0
: Interrupt Vector 04H and 08H priority preempt control
00: Interrupt Vector 04H and 08H priority preempt disabled
01: Interrupt Vector 04H priority preempt enabled, Vector 08H priority preempt disabled
10: Interrupt Vector 04H priority preempt disabled, Vector 08H priority preempt enabled
11: Interrupt Vector 04H and 08H priority preempt enabled
Bit 1~0
INT1S1~INT1S0
: Interrupt edge control for INT1 pin
Described elsewhere