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
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)