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
impl Copy for Detcfg
impl Eq for Detcfg
impl StructuralPartialEq for Detcfg
Auto Trait Implementations§
impl Freeze for Detcfg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)