="memdoc">
<dl class="section return"><dt>Returns</dt><dd>current priority masking threshold value with optional IRQ_PRIORITY_ERROR bit set.</dd></dl>
<p>This function retrieves the priority masking threshold for the current processor.</p>
<p><a class="el" href="group__irq__priority__defs.html#ga47b19866dc05c58c6923c313b371f881">IRQ_PRIORITY_ERROR</a> value is returned if priority masking is not supported.</p>
<p>For Arm GIC the default implementation looks like the following example:</p>
<div class="fragme