Struct d1_pac::i2s_pcm::i2s_pcm_fmt0::W
source · pub struct W(/* private fields */);
Expand description
Register i2s_pcm_fmt0
writer
Implementations§
source§impl W
impl W
sourcepub fn edge_transfer(&mut self) -> EDGE_TRANSFER_W<'_, 3>
pub fn edge_transfer(&mut self) -> EDGE_TRANSFER_W<'_, 3>
Bit 3 - Edge Transfer
sourcepub fn blck_polarity(&mut self) -> BLCK_POLARITY_W<'_, 7>
pub fn blck_polarity(&mut self) -> BLCK_POLARITY_W<'_, 7>
Bit 7 - BCLK Polarity
sourcepub fn lrck_period(&mut self) -> LRCK_PERIOD_W<'_, 8>
pub fn lrck_period(&mut self) -> LRCK_PERIOD_W<'_, 8>
Bits 8:17 - Number of BCLKs per channel of the sample frame. This value is interpreted as follows:
PCM mode: Number of BCLKs within (Left + Right) channel width.
I2S/Left-justified/Right-justified: Number of BCLKs within each channel width (Left or Right)
Period = N + 1
e.g. N = 7: 8 BCLKs width
sourcepub fn lrck_polarity(&mut self) -> LRCK_POLARITY_W<'_, 19>
pub fn lrck_polarity(&mut self) -> LRCK_POLARITY_W<'_, 19>
Bit 19 - LRCK Polarity
sourcepub fn lrck_width(&mut self) -> LRCK_WIDTH_W<'_, 30>
pub fn lrck_width(&mut self) -> LRCK_WIDTH_W<'_, 30>
Bit 30 - LRCK Width (only applies to the PCM mode)
Methods from Deref<Target = W<I2S_PCM_FMT0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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