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