Enum stm32_metapac::octospi::vals::MatchMode
#[repr(u8)]pub enum MatchMode {
MATCHAND = 0,
MATCHOR = 1,
}
Variants§
MATCHAND = 0
AND-match mode, SMF is set if all the unmasked bits received from the device match the corresponding bits in the match register.
MATCHOR = 1
OR-match mode, SMF is set if any of the unmasked bits received from the device matches its corresponding bit in the match register.
Implementations§
Trait Implementations§
§impl Ord for MatchMode
impl Ord for MatchMode
§impl PartialOrd for MatchMode
impl PartialOrd for MatchMode
§fn partial_cmp(&self, other: &MatchMode) -> Option<Ordering>
fn partial_cmp(&self, other: &MatchMode) -> 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 MatchMode
impl Eq for MatchMode
impl StructuralEq for MatchMode
impl StructuralPartialEq for MatchMode
Auto Trait Implementations§
impl RefUnwindSafe for MatchMode
impl Send for MatchMode
impl Sync for MatchMode
impl Unpin for MatchMode
impl UnwindSafe for MatchMode
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