Uint32 PRITab [32] = { |
Contrary to the above example, it is prohibited to mask interrupts at the SR value level without changing the SCU mask value! ! ! (Only 0 or 15 are possible)
In the above example, the interrupt enable / disable register for each built-in module must also be manipulated for interrupt enable / disable of the SH built-in module.
Note: When an interrupt for a factor in the SCU is enabled and that interrupt occurs, the interrupt SH SR mask is higher than Mi's unique level (value determined by SCU hardware), and divided by SH If the situation where the inclusion is rejected can never happen, it is OK. (However, all exceptions to SR mask 15 are possible in exceptional cases)