Enum embassy_stm32::interrupt::typelevel::USART2
source · pub enum USART2 {}
Expand description
USART2 typelevel interrupt.
Trait Implementations§
source§impl Interrupt for USART2
impl Interrupt for USART2
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 USART2
impl RefUnwindSafe for USART2
impl Send for USART2
impl Sync for USART2
impl Unpin for USART2
impl UnwindSafe for USART2
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