Enum stm32_metapac::adf::vals::Lfrnb
#[repr(u8)]pub enum Lfrnb {
FRAMES2 = 0,
FRAMES4 = 1,
FRAMES8 = 2,
FRAMES16 = 3,
FRAMES32 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Expand description
LFRNB. This bitfield is set and cleared by software. It is used to define the number of learning frames to perform the first estimate of the noise level.
Variants§
FRAMES2 = 0
2 samples.
FRAMES4 = 1
4 samples.
FRAMES8 = 2
8 samples.
FRAMES16 = 3
16 samples.
FRAMES32 = 4
32 samples.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Lfrnb
impl Ord for Lfrnb
§impl PartialOrd for Lfrnb
impl PartialOrd for Lfrnb
§fn partial_cmp(&self, other: &Lfrnb) -> Option<Ordering>
fn partial_cmp(&self, other: &Lfrnb) -> 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 Lfrnb
impl Eq for Lfrnb
impl StructuralEq for Lfrnb
impl StructuralPartialEq for Lfrnb
Auto Trait Implementations§
impl RefUnwindSafe for Lfrnb
impl Send for Lfrnb
impl Sync for Lfrnb
impl Unpin for Lfrnb
impl UnwindSafe for Lfrnb
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