253
CHAPTER 15 INTERRUPT FUNCTIONS
Preliminary User’s Manual U16035EJ1V0UM
(3) Priority specification flag registers (PR0L, PR0H, PR1L)
The priority specification flags are used to set the corresponding maskable interrupt priority orders.
PR0L, PR0H, and PR1L are set by a 1-bit or 8-bit memory manipulation instruction. If PR0L and PR0H are
combined to form 16-bit register PR0, they are set by a 16-bit memory manipulation instruction.
RESET input sets these registers to FFH.
Figure 15-4. Format of Priority Specification Flag Register (PR0L, PR0H, PR1L)
Address: FFE8H After reset: FFH R/W
Symbol
7
6
5
4
3
2
1
0
PR0L
STPR0
SRPR0
SERPR0
PPR3
PPR2
PPR1
PPR0
WDTPR
Address: FFE9H After reset: FFH R/W
Symbol
7
6
5
4
3
2
1
0
PR0H
TMPR51
TMPR50
TMPR01
TMPR00
WTIPR
1
CSIPR31
CSIPR30
Address: FFEAH After reset: FFH R/W
Symbol
7
6
5
4
3
2
1
0
PR1L
1
1
1
1
1
KRPR
WTPR
ADPR0
XXPRX
Priority level selection
0
High priority level
1
Low priority level
Cautions 1. When the watchdog timer is used in the watchdog timer mode 1, set 1 in the WDTPR flag.
2. Be sure to set bit 2 of PR0H and bits 3 to 7 of PR1L to 1.