RoaLogic / plic

Platform Level Interrupt Controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PRIORITY and THRESHOLD

spzeno opened this issue · comments

commented

The datasheet's section 4.3.1 says that
image
I wonder that if both PRIORITY and THRESHOLD is 0, whether the interrupt will be masked?

A priority of '0' means the interrupt is never generated. The PLIC spec says: "The priority value 0 is reserved to mean “never interrupt”, and interrupt priority increases with increasing integer values."

commented

thanks very much for your reply!