Struct d1_pac::i2s_pcm::i2s_pcm_fctl::W
source · pub struct W(/* private fields */);
Expand description
Register i2s_pcm_fctl
writer
Implementations§
source§impl W
impl W
sourcepub fn rxom(&mut self) -> RXOM_W<'_, 0>
pub fn rxom(&mut self) -> RXOM_W<'_, 0>
Bits 0:1 - RXFIFO Output Mode
Example for 20-bit received audio sample:
Mode 0: APB_RDATA[31:0] = {RXFIFO[31:12], 12’h0}
Mode 1: APB_RDATA[31:0] = {12{RXFIFO[31]}, RXFIFO[31:12]}
Mode 2: APB_RDATA [31:0] = {RXFIFO[31:16], 16’h0}
Mode 3: APB_RDATA[31:0] = {16{RXFIFO[31], RXFIFO[31:16]}
sourcepub fn txim(&mut self) -> TXIM_W<'_, 2>
pub fn txim(&mut self) -> TXIM_W<'_, 2>
Bit 2 - TXFIFO Input Mode
Example for 20-bit transmitted audio sample:
Mode 0: TXFIFO[31:0] = {APB_WDATA[31:12], 12’h0}
Mode 1: TXFIFO[31:0] = {APB_WDATA[19:0], 12’h0}
sourcepub fn rxtl(&mut self) -> RXTL_W<'_, 4>
pub fn rxtl(&mut self) -> RXTL_W<'_, 4>
Bits 4:9 - RXFIFO Empty Trigger Level
Interrupt and DMA request trigger level for RXFIFO normal condition.
Trigger Level = RXTL + 1
Methods from Deref<Target = W<I2S_PCM_FCTL_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