Enum stm32_metapac::usart::vals::Wus
#[repr(u8)]pub enum Wus {
ADDRESS = 0,
_RESERVED_1 = 1,
START = 2,
RXNE = 3,
}
Variants§
ADDRESS = 0
WUF active on address match
_RESERVED_1 = 1
START = 2
WuF active on Start bit detection
RXNE = 3
WUF active on RXNE
Implementations§
Trait Implementations§
§impl Ord for Wus
impl Ord for Wus
§impl PartialOrd for Wus
impl PartialOrd for Wus
§fn partial_cmp(&self, other: &Wus) -> Option<Ordering>
fn partial_cmp(&self, other: &Wus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Wus
impl Eq for Wus
impl StructuralEq for Wus
impl StructuralPartialEq for Wus
Auto Trait Implementations§
impl RefUnwindSafe for Wus
impl Send for Wus
impl Sync for Wus
impl Unpin for Wus
impl UnwindSafe for Wus
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