www
.mcu.com.cn
51
/
239
Rev.
1.00
CMS80F731x Reference Manual
6.4.2
Interrupt Priority Controls the Register
6.4.2.1
Interrupt Priority Control Register IP
Interrupt priority control register IP is a read-write register that can be operated bitwise.
0xB8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
IP
--
PS1
PT2
PS0
PT1
PX1
PT0
PX0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7
--
Reserved, must be 0.
Bit6
PS1:
UART1 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit5
PT2:
TIMER2 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit4
PS0:
UART0 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit3
PT1:
TIMER1 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit2
PX1:
External interrupt 1 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit1
PT0:
TIMER0 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit0
PX0:
External interrupt 0 interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
6.4.2.2
Interrupt Priority Control Register EIP1
0xB9
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
EIP1
--
--
PP5
--
--
PP2
PP1
PP0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7
--
Reserved, must be 0.
Bit6
--
Reserved, must be 0.
Bit5
PP5:
P5 port interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit4~Bit3
--
Reserved, must be 0.
Bit2
PP2:
P2 port interrupt priority control bit;
1=
Set to High-level Interrupt;
0=
Set to low-level interrupt.
Bit1
PP1:
P1 port interrupt priority control bit;