Nios® V Processor Reference Manual

ID 683632
Date 1/27/2025
Public
Document Table of Contents

3.3.6.1.3. Machine Interrupt Register (mip and mie)

The Machine Interrupt Pending register (mip) is a 32-bits wide register containing pending interrupts. The Machine Interrupt Enable register (mie) is a 32-bits wide register containing interrupt enable bits.

Each interrupt cause number corresponds to a bit in both mip and mie registers at bit location Exception Code in mcause register. Thus, interrupt n corresponds to bits mip[n] and mie[n].

Table 29.  Machine Interrupt Pending register (mip) Register Fields
Bit Field
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Platform Interrupt[15:0]
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 MTIP 0 MSIP 0
Table 30.  Machine Interrupt Enable register (mie) Register Fields
Bit Field
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Platform Interrupt[15:0]
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 MTIE 0 MSIE 0