Struct d1_pac::i2s_pcm::i2s_pcm_rxchmap1::W
source · pub struct W(/* private fields */);
Expand description
Register i2s_pcm_rxchmap1
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>
RX Channel [8-11] mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch8_map(&mut self) -> CH_MAP_W<'_, 0>
pub fn ch8_map(&mut self) -> CH_MAP_W<'_, 0>
Bits 0:3 - RX Channel 8 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch9_map(&mut self) -> CH_MAP_W<'_, 8>
pub fn ch9_map(&mut self) -> CH_MAP_W<'_, 8>
Bits 8:11 - RX Channel 9 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch10_map(&mut self) -> CH_MAP_W<'_, 16>
pub fn ch10_map(&mut self) -> CH_MAP_W<'_, 16>
Bits 16:19 - RX Channel 10 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub fn ch11_map(&mut self) -> CH_MAP_W<'_, 24>
pub fn ch11_map(&mut self) -> CH_MAP_W<'_, 24>
Bits 24:27 - RX Channel 11 mapping
0000: The first sample
…
1111: The sixteenth sample
sourcepub unsafe fn ch_select<const O: u8>(&mut self) -> CH_SELECT_W<'_, O>
pub unsafe fn ch_select<const O: u8>(&mut self) -> CH_SELECT_W<'_, O>
RX Channel [8-11] Select
sourcepub fn ch8_select(&mut self) -> CH_SELECT_W<'_, 4>
pub fn ch8_select(&mut self) -> CH_SELECT_W<'_, 4>
Bits 4:5 - RX Channel 8 Select
sourcepub fn ch9_select(&mut self) -> CH_SELECT_W<'_, 12>
pub fn ch9_select(&mut self) -> CH_SELECT_W<'_, 12>
Bits 12:13 - RX Channel 9 Select
sourcepub fn ch10_select(&mut self) -> CH_SELECT_W<'_, 20>
pub fn ch10_select(&mut self) -> CH_SELECT_W<'_, 20>
Bits 20:21 - RX Channel 10 Select
sourcepub fn ch11_select(&mut self) -> CH_SELECT_W<'_, 28>
pub fn ch11_select(&mut self) -> CH_SELECT_W<'_, 28>
Bits 28:29 - RX Channel 11 Select
Methods from Deref<Target = W<I2S_PCM_RXCHMAP1_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