#[repr(u8)]pub enum Leftjust {
RIGHT_JUSTIFIED = 0,
LEFT_JUSTIFIED = 1,
}Variants§
RIGHT_JUSTIFIED = 0
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.
LEFT_JUSTIFIED = 1
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.
Implementations§
Trait Implementations§
Source§impl Ord for Leftjust
impl Ord for Leftjust
Source§impl PartialOrd for Leftjust
impl PartialOrd for Leftjust
impl Copy for Leftjust
impl Eq for Leftjust
impl StructuralPartialEq for Leftjust
Auto Trait Implementations§
impl Freeze for Leftjust
impl RefUnwindSafe for Leftjust
impl Send for Leftjust
impl Sync for Leftjust
impl Unpin for Leftjust
impl UnwindSafe for Leftjust
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