Enum stm32_metapac::adf::vals::Hgovr
#[repr(u8)]pub enum Hgovr {
FRAMES4 = 0,
FRAMES8 = 1,
FRAMES16 = 2,
FRAMES32 = 3,
FRAMES64 = 4,
FRAMES128 = 5,
FRAMES256 = 6,
FRAMES512 = 7,
}
Expand description
Hangover time window. This bitfield is set and cleared by software. It is used to select the hangover time window.
Variants§
FRAMES4 = 0
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES8 = 1
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES16 = 2
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES32 = 3
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES64 = 4
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES128 = 5
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES256 = 6
SAD back to MONITOR state if sound is below threshold for 4 frames.
FRAMES512 = 7
SAD back to MONITOR state if sound is below threshold for 4 frames.
Implementations§
Trait Implementations§
§impl Ord for Hgovr
impl Ord for Hgovr
§impl PartialOrd for Hgovr
impl PartialOrd for Hgovr
§fn partial_cmp(&self, other: &Hgovr) -> Option<Ordering>
fn partial_cmp(&self, other: &Hgovr) -> 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 Hgovr
impl Eq for Hgovr
impl StructuralEq for Hgovr
impl StructuralPartialEq for Hgovr
Auto Trait Implementations§
impl RefUnwindSafe for Hgovr
impl Send for Hgovr
impl Sync for Hgovr
impl Unpin for Hgovr
impl UnwindSafe for Hgovr
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