pub struct LEFTJUST_W<'a> { /* private fields */ }
Expand description
Field LEFTJUST
writer - Left Justify data.
Implementations
sourceimpl<'a> LEFTJUST_W<'a>
impl<'a> LEFTJUST_W<'a>
sourcepub fn variant(self, variant: LEFTJUST_A) -> &'a mut W
pub fn variant(self, variant: LEFTJUST_A) -> &'a mut W
Writes variant
to the field
sourcepub fn right_justified(self) -> &'a mut W
pub fn right_justified(self) -> &'a mut W
Data is transferred between the FIFO and the I2S serializer/deserializer right justified, i.e. starting from bit 0 and continuing to the position defined by DATALEN. This would correspond to right justified data in the stream on the data bus.
sourcepub fn left_justified(self) -> &'a mut W
pub fn left_justified(self) -> &'a mut W
Data is transferred between the FIFO and the I2S serializer/deserializer left justified, i.e. starting from the MSB of the FIFO entry and continuing for the number of bits defined by DATALEN. This would correspond to left justified data in the stream on the data bus.
Auto Trait Implementations
impl<'a> RefUnwindSafe for LEFTJUST_W<'a>
impl<'a> Send for LEFTJUST_W<'a>
impl<'a> Sync for LEFTJUST_W<'a>
impl<'a> Unpin for LEFTJUST_W<'a>
impl<'a> !UnwindSafe for LEFTJUST_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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