Table 31:
PLIC Interrupt Threshold Register
PLIC Interrupt Priority Threshold Register (
threshold
)
Base Address
0x0C20_0000
[2:0]
Threshold
RW
X
Sets the priority threshold
[31:3]
Reserved
RO
0
A FE310-G003 hart can perform an interrupt claim by reading the
claim/complete
register
(Table 32), which returns the ID of the highest-priority pending interrupt or zero if there is no
pending interrupt. A successful claim also atomically clears the corresponding pending bit on
the interrupt source.
A FE310-G003 hart can perform a claim at any time, even if the MEIP bit in its
mip
register is not set.
The claim operation is not affected by the setting of the priority threshold register.
A FE310-G003 hart signals it has completed executing an interrupt handler by writing the inter-
rupt ID it received from the claim to the
claim/complete
register (Table 32). The PLIC does not
check whether the completion ID is the same as the last claim ID for that target. If the comple-
tion ID does not match an interrupt source that is currently enabled for the target, the completion
is silently ignored.
Chapter 10 Platform-Level Interrupt Controller (PLIC)
FE310-G003 Manual
© SiFive, Inc.
Page 51
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...