Enum stm32_metapac::adf::vals::Detcfg
#[repr(u8)]pub enum Detcfg {
MONITOR = 0,
DETECT = 1,
}
Expand description
Sound trigger event configuration. This bit is set and cleared by software. It is used to define if the sddet_evt event is generated only when the SAD enters to MONITOR state or when the SAD enters or exits the DETECT state.
Variants§
MONITOR = 0
sddet_evt generated when SAD enters the MONITOR state.
DETECT = 1
sddet_evt generated when SAD enters or exits the DETECT state.
Implementations§
Trait Implementations§
§impl Ord for Detcfg
impl Ord for Detcfg
§impl PartialOrd for Detcfg
impl PartialOrd for Detcfg
§fn partial_cmp(&self, other: &Detcfg) -> Option<Ordering>
fn partial_cmp(&self, other: &Detcfg) -> 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 Detcfg
impl Eq for Detcfg
impl StructuralEq for Detcfg
impl StructuralPartialEq for Detcfg
Auto Trait Implementations§
impl RefUnwindSafe for Detcfg
impl Send for Detcfg
impl Sync for Detcfg
impl Unpin for Detcfg
impl UnwindSafe for Detcfg
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