Priority Thresholds

(Ask a Question)

An interrupt priority threshold can be set using the Threshold register. The Threshold register is a WARL field and a maximum threshold of 7 is supported. The processor core masks the PLIC interrupts that have a priority less than or equal to threshold. For example, a threshold value of zero permits all interrupts with non-zero priority, whereas a value of 7 masks all interrupts.

Table 1. PLIC Interrupt Priority Threshold Register (threshold)
Base Address = 0x0C20_0000
Bits Field Name Attributes Reset Description
[2:0] Threshold RW X Sets the priority threshold.
[31:3] Reserved WIRI X