Enum stm32_metapac::spi::vals::Mbr
#[repr(u8)]pub enum Mbr {
DIV2 = 0,
DIV4 = 1,
DIV8 = 2,
DIV16 = 3,
DIV32 = 4,
DIV64 = 5,
DIV128 = 6,
DIV256 = 7,
}
Variants§
DIV2 = 0
f_spi_ker_ck / 2
DIV4 = 1
f_spi_ker_ck / 4
DIV8 = 2
f_spi_ker_ck / 8
DIV16 = 3
f_spi_ker_ck / 16
DIV32 = 4
f_spi_ker_ck / 32
DIV64 = 5
f_spi_ker_ck / 64
DIV128 = 6
f_spi_ker_ck / 128
DIV256 = 7
f_spi_ker_ck / 256
Implementations§
Trait Implementations§
§impl Ord for Mbr
impl Ord for Mbr
§impl PartialOrd for Mbr
impl PartialOrd for Mbr
§fn partial_cmp(&self, other: &Mbr) -> Option<Ordering>
fn partial_cmp(&self, other: &Mbr) -> 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 Mbr
impl Eq for Mbr
impl StructuralEq for Mbr
impl StructuralPartialEq for Mbr
Auto Trait Implementations§
impl RefUnwindSafe for Mbr
impl Send for Mbr
impl Sync for Mbr
impl Unpin for Mbr
impl UnwindSafe for Mbr
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