cortexm::nvic

Function has_pending_with_mask

Source
pub unsafe fn has_pending_with_mask(mask: (u128, u128)) -> bool
Expand description

Returns whether there are any pending interrupt bits set while ignoring the indices that correspond to the bits set in mask

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