Enum stm32_hal2::sai::FirstBit
source · #[repr(u8)]pub enum FirstBit {
MsbFirst = 0,
LsbFirst = 1,
}
Expand description
Set which bit is transmitted first: Least significant, or Most significant. You may have to choose the one used by your SAI device. Sets xCR1 register, LSBFIRST field.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FirstBit
impl Send for FirstBit
impl Sync for FirstBit
impl Unpin for FirstBit
impl UnwindSafe for FirstBit
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