Enum stm32_metapac::sai::vals::Nodiv
#[repr(u8)]pub enum Nodiv {
MASTERCLOCK = 0,
NODIV = 1,
}
Variants§
MASTERCLOCK = 0
MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
NODIV = 1
MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Implementations§
Trait Implementations§
§impl Ord for Nodiv
impl Ord for Nodiv
§impl PartialOrd for Nodiv
impl PartialOrd for Nodiv
§fn partial_cmp(&self, other: &Nodiv) -> Option<Ordering>
fn partial_cmp(&self, other: &Nodiv) -> 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 Nodiv
impl Eq for Nodiv
impl StructuralEq for Nodiv
impl StructuralPartialEq for Nodiv
Auto Trait Implementations§
impl RefUnwindSafe for Nodiv
impl Send for Nodiv
impl Sync for Nodiv
impl Unpin for Nodiv
impl UnwindSafe for Nodiv
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