RoaLogic / plic

Platform Level Interrupt Controller
Other
34 stars 14 forks source link

PRIORITY and THRESHOLD #12

Closed spzeno closed 1 year ago

spzeno commented 1 year ago

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?

rherveille commented 1 year ago

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."

spzeno commented 1 year ago

thanks very much for your reply!