Enum stm32_metapac::adf::vals::Frsize
#[repr(u8)]pub enum Frsize {
SAMPLES8 = 0,
SAMPLES16 = 1,
SAMPLES32 = 2,
SAMPLES64 = 3,
SAMPLES128 = 4,
SAMPLES256 = 5,
SAMPLES512 = 6,
_RESERVED_7 = 7,
}
Expand description
Frame size. This bitfield is set and cleared by software. it is used to define the size of one frame and also to define how many samples are taken into account to compute the short-term signal level.
Variants§
SAMPLES8 = 0
8 sample.
SAMPLES16 = 1
16 samples.
SAMPLES32 = 2
32 samples.
SAMPLES64 = 3
64 samples.
SAMPLES128 = 4
128 samples.
SAMPLES256 = 5
256 samples.
SAMPLES512 = 6
512 samples.
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Frsize
impl Ord for Frsize
§impl PartialOrd for Frsize
impl PartialOrd for Frsize
§fn partial_cmp(&self, other: &Frsize) -> Option<Ordering>
fn partial_cmp(&self, other: &Frsize) -> 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 Frsize
impl Eq for Frsize
impl StructuralEq for Frsize
impl StructuralPartialEq for Frsize
Auto Trait Implementations§
impl RefUnwindSafe for Frsize
impl Send for Frsize
impl Sync for Frsize
impl Unpin for Frsize
impl UnwindSafe for Frsize
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