★ PROGRAMMER'S GUIDE ★ System Program User's ManualMaster SH2 vector initialization | Slave SH2 vector initialization |
|---|---|
40H ~ SCU interrupt vector | 41H H Blank In ** |
60H SCI reception error | 60H SCI reception error |
| * Slave → For master passing | * For master → slave passing ** IRL2, IRL6 level interrupt |
Device to be reset | OFF or non-warranty device | Unaffected device |
|---|---|---|
SCU | Slave SH (OFF) | Master SH * Note |
![]() | This is a dangerous service and can cause your system to hang if there are conflicting priority relationships in the table contents! !! !! |
SH2 SR lower word value | SCU interrupt mask lower word value |
| Value set in SR at the start of interrupt processing | A value that is ORed with the current mask setting value and written to the SCU interrupt mask register at the start of interrupt processing. |
Uint32 PRITab [32] = { |
|
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 is possible) |
![]() | When an interrupt of a certain factor of SCU is enabled and the interrupt occurs, the SR mask of SH is higher than the specific level of the interrupt (value determined by SCU hardware), and the interrupt is rejected by SH. If it can never happen, it's OK. (However, as an exception, SR mask 15 can be completely prohibited) |
★ PROGRAMMER'S GUIDE ★ DISC format standard specifications