next_pending_with_mask

Function next_pending_with_mask 

Source
pub unsafe fn next_pending_with_mask(mask: (u128, u128)) -> Option<u32>
Expand description

Get the index (0-240) the lowest number pending interrupt while ignoring the interrupts that correspond to the bits set in mask, or None if none are pending.

Mask is defined as two u128 fields, mask.0 has the bits corresponding to interrupts from 128 to 240. mask.1 has the bits corresponding to interrupts from 0 to 127.