Struct d1_pac::i2s_pcm::i2s_pcm_tx2chmap1::R
source · pub struct R(/* private fields */);
Expand description
Register i2s_pcm_tx2chmap1
reader
Implementations§
source§impl R
impl R
sourcepub unsafe fn ch_map(&self, n: u8) -> CH_MAP_R
pub unsafe fn ch_map(&self, n: u8) -> CH_MAP_R
Channel [0-7] mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch0_map(&self) -> CH_MAP_R
pub fn ch0_map(&self) -> CH_MAP_R
Bits 0:3 - Channel 0 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch1_map(&self) -> CH_MAP_R
pub fn ch1_map(&self) -> CH_MAP_R
Bits 4:7 - Channel 1 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch2_map(&self) -> CH_MAP_R
pub fn ch2_map(&self) -> CH_MAP_R
Bits 8:11 - Channel 2 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch3_map(&self) -> CH_MAP_R
pub fn ch3_map(&self) -> CH_MAP_R
Bits 12:15 - Channel 3 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch4_map(&self) -> CH_MAP_R
pub fn ch4_map(&self) -> CH_MAP_R
Bits 16:19 - Channel 4 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch5_map(&self) -> CH_MAP_R
pub fn ch5_map(&self) -> CH_MAP_R
Bits 20:23 - Channel 5 mapping
0000: The first sample
…
1111: The sixteenth sample
Methods from Deref<Target = R<I2S_PCM_TX2CHMAP1_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