Struct Sadcr
#[repr(transparent)]pub struct Sadcr(pub u32);Expand description
ADF Sound activity detector (SAD) control register.
Tuple Fields§
§0: u32Implementations§
§impl Sadcr
impl Sadcr
pub const fn set_datcap(&mut self, val: Datcap)
pub const fn set_datcap(&mut self, val: Datcap)
Data capture mode.
pub const fn set_detcfg(&mut self, val: Detcfg)
pub const fn set_detcfg(&mut self, val: Detcfg)
Sound trigger event configuration.
pub const fn set_hysten(&mut self, val: bool)
pub const fn set_hysten(&mut self, val: bool)
Hysteresis enable.
pub const fn set_frsize(&mut self, val: Frsize)
pub const fn set_frsize(&mut self, val: Frsize)
Frame size.
pub const fn set_sadmod(&mut self, val: Sadmod)
pub const fn set_sadmod(&mut self, val: Sadmod)
Sound activity detector working mode.
pub const fn set_sadactive(&mut self, val: bool)
pub const fn set_sadactive(&mut self, val: bool)
SAD Active flag.
Trait Implementations§
impl Copy for Sadcr
impl Eq for Sadcr
impl StructuralPartialEq for Sadcr
Auto Trait Implementations§
impl Freeze for Sadcr
impl RefUnwindSafe for Sadcr
impl Send for Sadcr
impl Sync for Sadcr
impl Unpin for Sadcr
impl UnwindSafe for Sadcr
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