Enum stm32_hal2::sai::FirstBit
source · [−]#[repr(u8)]
pub enum FirstBit {
MsbFirst,
LsbFirst,
}
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
MsbFirst
Data are transferred with MSB first
LsbFirst
Data are transferred with LSB first
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more