pub struct RIGHTLOW_W<'a> { /* private fields */ }
Expand description
Field RIGHTLOW
writer - 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.
Implementations
sourceimpl<'a> RIGHTLOW_W<'a>
impl<'a> RIGHTLOW_W<'a>
sourcepub fn variant(self, variant: RIGHTLOW_A) -> &'a mut W
pub fn variant(self, variant: RIGHTLOW_A) -> &'a mut W
Writes variant
to the field
sourcepub fn right_high(self) -> &'a mut W
pub fn right_high(self) -> &'a mut W
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.
Auto Trait Implementations
impl<'a> RefUnwindSafe for RIGHTLOW_W<'a>
impl<'a> Send for RIGHTLOW_W<'a>
impl<'a> Sync for RIGHTLOW_W<'a>
impl<'a> Unpin for RIGHTLOW_W<'a>
impl<'a> !UnwindSafe for RIGHTLOW_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