Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

(M32C/80 Series, M16C/80 Series) Priority level is "0" + Request bit is "1": Priority level to "7"?

Latest Updated:02/28/2012

Question:

When the interrupt priority level is "0" and interrupt request bit is "1", what would happen if I set the interrupt priority level to "7"? Will the interrupt be accepted, or will the interrupt request bit be cleared to "0"? [M32C/80 Series, M16C/80 Series]

[ About the M16C Family products other than the M32C/80 Series, and the M16C/80 Seires, click here.]

Answer:

The interrupt will be accepted. Then, the interrupt request bit will be cleared.
However, if you use the MOV instruction to change the interrupt priority level, the interrupt request bit may be cleared to "0". The interrupt will not be accepted when the interrupt request bit is cleared at this time. To avoid this problem, please use the following instructions to change the interrupt priority level:

AND, OR, BCLR, BSET

Suitable Products
M32C/8A
M32C/88
M32C/87
M32C/85
M32C/84
M32C/83
M32C/80
M16C/62A
M16C/62N
M16C/62P
M16C/63
M16C/64
M16C/64A
M16C/64C
M16C/65
M16C/65C
M16C/6C
M16C/6N4, M16C/6N5
M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN
M16C/5L, M16C/56
M16C/5LD, M16C/56D
M16C/5M, M16C/57
M16C/30P
M16C/29
M16C/28
M16C/26A