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
impl Copy for Hpfc
impl Eq for Hpfc
impl StructuralPartialEq for Hpfc
Auto Trait Implementations§
impl Freeze for Hpfc
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
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
)