pub enum SERCOM2 {}
Expand description
SERCOM2 typelevel interrupt.
Trait Implementations§
Source§impl Interrupt for SERCOM2
impl Interrupt for SERCOM2
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if interrupt is enabled.
Source§fn is_pending() -> bool
fn is_pending() -> bool
Check if interrupt is pending.
Source§fn get_priority() -> Priority
fn get_priority() -> Priority
Get the priority of the interrupt.
Source§fn set_priority(prio: Priority)
fn set_priority(prio: Priority)
Set the interrupt priority.
Source§fn set_priority_with_cs(cs: CriticalSection<'_>, prio: Priority)
fn set_priority_with_cs(cs: CriticalSection<'_>, prio: Priority)
Set the interrupt priority with an already-acquired critical section. Read more
impl SingleInterruptSource for SERCOM2
Auto Trait Implementations§
impl Freeze for SERCOM2
impl RefUnwindSafe for SERCOM2
impl Send for SERCOM2
impl Sync for SERCOM2
impl Unpin for SERCOM2
impl UnwindSafe for SERCOM2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more