Rev. 1.00
1��
��ne ��� �01�
Rev. 1.00
1�9
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Interrupt Priority Configuration
Some interrupt sources have their own individual interrupt number while others share the same
interrupt number, as shown in the Interrupt Registers section. All interrupts are categori
s
ed into
fifteen priority levels, from the higheset interrupt priority 1 (04H) to the lowest interrupt priority
15 (3CH). Each interrupt priority level has its own interrupt enable bit and request flag. The actual
priority for each interrupt source is configured by writing its corresponding interrupt number into the
target bit field in the Pri_name0 ~ Pri_name7 registers.
If an interrupt number is not configured into any interrupt priority level, when the interrupt source
within this interrupt number occurs, only its interrupt request flag will be set high without further
interrupt response. If an interrupt number has been configured into multiple interrupt priority levels,
when the interrupt source within this interrupt number occurs, a subroutine call to each preset
interrupt vector will take place according to the priority order. Note that after the interrupt priority
initiali
s
ation, all the interrupt priority flags must be cleared once.
Vector
Interrupt Priority
Enable Bit
Request Flag
Note
04H
Interr�pt priority 1
Int_pri1E
Int_pri1F
Highest Priority
0�H
Interr�pt priority �
Int_pri�E
Int_pri�F
↓
0CH
Interr�pt priority 3
Int_pri3E
Int_pri3F
↓
10H
Interr�pt priority 4
Int_pri4E
Int_pri4F
↓
14H
Interr�pt priority 5
Int_pri5E
Int_pri5F
↓
1�H
Interr�pt priority 6
Int_pri6E
Int_pri6F
↓
1CH
Interr�pt priority �
Int_pri�E
Int_pri�F
↓
�0H
Interr�pt priority �
Int_pri�E
Int_pri�F
↓
�4H
Interr�pt priority 9
Int_pri9E
Int_pri9F
↓
��H
Interr�pt priority 10
Int_pri10E
Int_pri10F
↓
�CH
Interr�pt priority 11
Int_pri11E
Int_pri11F
↓
30H
Interr�pt priority 1�
Int_pri1�E
Int_pri1�F
↓
34H
Interr�pt priority 13
Int_pri13E
Int_pri13F
↓
3�H
Interr�pt priority 14
Int_pri14E
Int_pri14F
↓
3CH
Interr�pt priority 15
Int_pri15E
Int_pri15F
Lowest Priority
Interrupt Priority Order
Register
Name
Bit
7
6
5
4
3
2
1
0
Pri_name0
IP�R3
IP�R�
IP�R1
IP�R0
IP1R3
IP1R�
IP1R1
IP1R0
Pri_name1
IP4R3
IP4R�
IP4R1
IP4R0
IP3R3
IP3R�
IP3R1
IP3R0
Pri_name�
IP6R3
IP6R�
IP6R1
IP6R0
IP5R3
IP5R�
IP5R1
IP5R0
Pri_name3
IP�R3
IP�R�
IP�R1
IP�R0
IP�R3
IP�R�
IP�R1
IP�R0
Pri_name4
IP10R3
IP10R�
IP10R1
IP10R0
IP9R3
IP9R�
IP9R1
IP9R0
Pri_name5
IP1�R3
IP1�R�
IP1�R1
IP1�R0
IP11R3
IP11R�
IP11R1
IP11R0
Pri_name6
IP14R3
IP14R�
IP14R1
IP14R0
IP13R3
IP13R�
IP13R1
IP13R0
Pri_name�
—
—
—
—
IP15R3
IP15R�
IP15R1
IP15R0
Interrupt Priority Configuration Registers List