Struct atsamd_hal::icm::Interrupt
source · [−]pub struct Interrupt(pub u32);
Expand description
Struct useful for returning the interrupt status
of the ICM. Provides methods for easy parsing of
all the regions or via the bitmask
argument
narrow it down to the specific set of RegionNum
of interest.
Tuple Fields
0: u32
Implementations
sourceimpl Interrupt
impl Interrupt
sourcepub fn get_rsu_int(&self) -> RegionStatusUpdatedDetected
pub fn get_rsu_int(&self) -> RegionStatusUpdatedDetected
Region Status Updated interrupt status
sourcepub fn get_rec_int(&self) -> RegionEndConditionDetected
pub fn get_rec_int(&self) -> RegionEndConditionDetected
Region End bit Condition Detected interrupt status
sourcepub fn get_rwc_int(&self) -> RegionWrapConditionDetected
pub fn get_rwc_int(&self) -> RegionWrapConditionDetected
Region Wrap Condition detected interrupt status
sourcepub fn get_rbe_int(&self) -> RegionBusError
pub fn get_rbe_int(&self) -> RegionBusError
Region Bus Error interrupt status
sourcepub fn get_rdm_int(&self) -> RegionDigestMismatch
pub fn get_rdm_int(&self) -> RegionDigestMismatch
Region Digest Mis interrupt status
sourcepub fn get_rhc_int(&self) -> RegionHashCompleted
pub fn get_rhc_int(&self) -> RegionHashCompleted
Region Hash Completed interrupt status
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more