Struct d1_pac::i2s_pcm::i2s_pcm_tx3chmap1::W
source · pub struct W(/* private fields */);
Expand description
Register i2s_pcm_tx3chmap1
writer
Implementations§
source§impl W
impl W
sourcepub unsafe fn ch_map<const O: u8>(&mut self) -> CH_MAP_W<'_, O>
pub unsafe fn ch_map<const O: u8>(&mut self) -> CH_MAP_W<'_, O>
Channel [0-7] mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch0_map(&mut self) -> CH_MAP_W<'_, 0>
pub fn ch0_map(&mut self) -> CH_MAP_W<'_, 0>
Bits 0:3 - Channel 0 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch1_map(&mut self) -> CH_MAP_W<'_, 4>
pub fn ch1_map(&mut self) -> CH_MAP_W<'_, 4>
Bits 4:7 - Channel 1 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch2_map(&mut self) -> CH_MAP_W<'_, 8>
pub fn ch2_map(&mut self) -> CH_MAP_W<'_, 8>
Bits 8:11 - Channel 2 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch3_map(&mut self) -> CH_MAP_W<'_, 12>
pub fn ch3_map(&mut self) -> CH_MAP_W<'_, 12>
Bits 12:15 - Channel 3 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch4_map(&mut self) -> CH_MAP_W<'_, 16>
pub fn ch4_map(&mut self) -> CH_MAP_W<'_, 16>
Bits 16:19 - Channel 4 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch5_map(&mut self) -> CH_MAP_W<'_, 20>
pub fn ch5_map(&mut self) -> CH_MAP_W<'_, 20>
Bits 20:23 - Channel 5 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch6_map(&mut self) -> CH_MAP_W<'_, 24>
pub fn ch6_map(&mut self) -> CH_MAP_W<'_, 24>
Bits 24:27 - Channel 6 mapping
0000: The first sample
…
1111: The sixteenth sample
Methods from Deref<Target = W<I2S_PCM_TX3CHMAP1_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