Enum embassy_stm32::interrupt::typelevel::I2C2
ยท pub enum I2C2 {}
Expand description
I2C2 typelevel interrupt.
Trait Implementationsยง
sourceยงimpl Interrupt for I2C2
impl Interrupt for I2C2
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
Auto Trait Implementationsยง
impl Freeze for I2C2
impl RefUnwindSafe for I2C2
impl Send for I2C2
impl Sync for I2C2
impl Unpin for I2C2
impl UnwindSafe for I2C2
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