Struct d1_pac::i2s_pcm::i2s_pcm_fmt0::R
source · pub struct R(/* private fields */);
Expand description
Register i2s_pcm_fmt0
reader
Implementations§
source§impl R
impl R
sourcepub fn edge_transfer(&self) -> EDGE_TRANSFER_R
pub fn edge_transfer(&self) -> EDGE_TRANSFER_R
Bit 3 - Edge Transfer
sourcepub fn blck_polarity(&self) -> BLCK_POLARITY_R
pub fn blck_polarity(&self) -> BLCK_POLARITY_R
Bit 7 - BCLK Polarity
sourcepub fn lrck_period(&self) -> LRCK_PERIOD_R
pub fn lrck_period(&self) -> LRCK_PERIOD_R
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(&self) -> LRCK_POLARITY_R
pub fn lrck_polarity(&self) -> LRCK_POLARITY_R
Bit 19 - LRCK Polarity
sourcepub fn lrck_width(&self) -> LRCK_WIDTH_R
pub fn lrck_width(&self) -> LRCK_WIDTH_R
Bit 30 - LRCK Width (only applies to the PCM mode)
Methods from Deref<Target = R<I2S_PCM_FMT0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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