n returns error status -1 if priority grouping is not supported.</p>
<p>For Arm GIC the default implementation looks like the following example:</p>
<div class="fragment"><div class="line">int32_t <a class="code" href="group__irq__ctrl__gr.html#gabaa4074988ea9e30523f7ed5a86953c2">IRQ_SetPriorityGroupBits</a> (uint32_t bits) {</div>
<div class="line">  int32_t status;</div>
<div class="line"> </div>
<div class="line">  <span class="keywordflow">if</span> (bits == <a class="code" href="group__irq__priority__d