[][src]Enum lpc54606_pac::i2s0::cfg1::RIGHTLOW_A

pub enum RIGHTLOW_A {
    RIGHT_HIGH,
    RIGHT_LOW,
}

Right channel data is in the Low portion of FIFO data. Essentially, this swaps left and right channel data as it is transferred to or from the FIFO. This bit is not used if the data width is greater than 24 bits or if PDMDATA = 1. Note that if the ONECHANNEL field (bit 10 of this register) = 1, the one channel to be used is the nominally the left channel. POSITION can still place that data in the frame where right channel data is normally located. if all enabled channel pairs have ONECHANNEL = 1, then RIGHTLOW = 1 is not allowed.

Value on reset: 0

Variants

RIGHT_HIGH

0: The right channel is taken from the high part of the FIFO data. For example, when data is 16 bits, FIFO bits 31:16 are used for the right channel.

RIGHT_LOW

1: The right channel is taken from the low part of the FIFO data. For example, when data is 16 bits, FIFO bits 15:0 are used for the right channel.

Trait Implementations

impl Clone for RIGHTLOW_A[src]

impl Copy for RIGHTLOW_A[src]

impl Debug for RIGHTLOW_A[src]

impl From<RIGHTLOW_A> for bool[src]

impl PartialEq<RIGHTLOW_A> for RIGHTLOW_A[src]

impl StructuralPartialEq for RIGHTLOW_A[src]

Auto Trait Implementations

impl Send for RIGHTLOW_A

impl Sync for RIGHTLOW_A

impl Unpin for RIGHTLOW_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.