Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Several Interrupts: Temporarily disable some specified interrupts

Latest Updated:02/14/2006

Question:

When using several interrupts, can I temporarily disable some specified interrupts (while keeping the requests)?

[ About the M32C/80 Series and the M16C/80 Series products, click here ]

Answer:

Yes. However, because the interrupt request bit and interrupt priority level selection bits are assigned to the same address, when you change the interrupt priority level with the MOV instruction, the interrupt request bit may be cleared to "0". To avoid clearing the interrupt request bit, use the following instructions to change the interrupt priority level to "0":

AND, OR, BCLR, BSET

In addition, make sure you modify the interrupt control register at a location where the interrupt request for that register will not occur. If there is possibility of an interrupt request being generated, disable the interrupt before making any modifications. Please refer to the manual for more details.

Suitable Products
R8C/18
R8C/19
R8C/1A
R8C/1B
R8C/20
R8C/21
R8C/22
R8C/23
R8C/24
R8C/25
R8C/26
R8C/27
R8C/28
R8C/29
R8C/2A
R8C/2B
R8C/2C
R8C/2D
R8C/2E
R8C/2F
R8C/2G
R8C/2H
R8C/2J
R8C/2K
R8C/2L
R8C/32C
R8C/33C
R8C/34C
R8C/35C
R8C/36C
R8C/38C
R8C/3GC
R8C/3JC
R8C/32D
R8C/33D
R8C/35D
R8C/3GD
R8C/33T
R8C/38A
R8C/34E, R8C/34F, R8C/34G, R8C/34H
R8C/36E, R8C/36F, R8C/36G, R8C/36H
R8C/38E, R8C/38F, R8C/38G, R8C/38H
R8C/L35C
R8C/L36C
R8C/L38C
R8C/L3AC
M16C/62A
M16C/62A(M16C/62T)
M16C/62M
M16C/62N
M16C/62N(M3062GF8NFP, M3062GF8NGP)
M16C/62P
M16C/63
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
M16C/1N