Enum stm32_metapac::adf::vals::Hpfc
#[repr(u8)]pub enum Hpfc {
LOW = 0,
MEDIUM = 1,
HIGH = 2,
MAXIMUM = 3,
}
Expand description
High-pass filter cut-off frequency. This bitfield is set and cleared by software. it is used to select the cut-off frequency of the high-pass filter. F PCM represents the sampling frequency at HPF input.
Variants§
LOW = 0
Cut-off frequency = 0.000625 x FPCM.
MEDIUM = 1
Cut-off frequency = 0.00125 x FPCM.
HIGH = 2
Cut-off frequency = 0.00250 x FPCM
MAXIMUM = 3
Cut-off frequency = 0.00950 x FPCM
Implementations§
Trait Implementations§
§impl Ord for Hpfc
impl Ord for Hpfc
§impl PartialOrd for Hpfc
impl PartialOrd for Hpfc
§fn partial_cmp(&self, other: &Hpfc) -> Option<Ordering>
fn partial_cmp(&self, other: &Hpfc) -> 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 Hpfc
impl Eq for Hpfc
impl StructuralEq for Hpfc
impl StructuralPartialEq for Hpfc
Auto Trait Implementations§
impl RefUnwindSafe for Hpfc
impl Send for Hpfc
impl Sync for Hpfc
impl Unpin for Hpfc
impl UnwindSafe for Hpfc
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