pub enum SpiPsc {
Div2 = 0,
Div4 = 1,
Div8 = 2,
Div16 = 3,
Div32 = 4,
Div64 = 5,
Div128 = 6,
Div256 = 7,
}Expand description
SCK prescaler: divides pclk down to the serial clock.
The right divider depends on pclk and the slave’s maximum clock.
Variants§
Trait Implementations§
impl Copy for SpiPsc
impl Eq for SpiPsc
impl StructuralPartialEq for SpiPsc
Auto Trait Implementations§
impl Freeze for SpiPsc
impl RefUnwindSafe for SpiPsc
impl Send for SpiPsc
impl Sync for SpiPsc
impl Unpin for SpiPsc
impl UnsafeUnpin for SpiPsc
impl UnwindSafe for SpiPsc
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