Enum stm32_metapac::fmc::vals::Sdclk
#[repr(u8)]pub enum Sdclk {
DISABLED = 0,
_RESERVED_1 = 1,
DIV2 = 2,
DIV3 = 3,
}
Variants§
DISABLED = 0
SDCLK clock disabled
_RESERVED_1 = 1
DIV2 = 2
SDCLK period = 2 x HCLK period
DIV3 = 3
SDCLK period = 3 x HCLK period
Implementations§
Trait Implementations§
§impl Ord for Sdclk
impl Ord for Sdclk
§impl PartialOrd for Sdclk
impl PartialOrd for Sdclk
§fn partial_cmp(&self, other: &Sdclk) -> Option<Ordering>
fn partial_cmp(&self, other: &Sdclk) -> 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 Sdclk
impl Eq for Sdclk
impl StructuralEq for Sdclk
impl StructuralPartialEq for Sdclk
Auto Trait Implementations§
impl RefUnwindSafe for Sdclk
impl Send for Sdclk
impl Sync for Sdclk
impl Unpin for Sdclk
impl UnwindSafe for Sdclk
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