When using several interrupts, can I temporarily disable some specified interrupts (while keeping the requests)?
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.
|R8C/34E, R8C/34F, R8C/34G, R8C/34H|
|R8C/36E, R8C/36F, R8C/36G, R8C/36H|
|R8C/38E, R8C/38F, R8C/38G, R8C/38H|
|M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN|