Struct d1_pac::i2s_pcm::i2s_pcm_fctl::R
source · pub struct R(/* private fields */);
Expand description
Register i2s_pcm_fctl
reader
Implementations§
source§impl R
impl R
sourcepub fn rxom(&self) -> RXOM_R
pub fn rxom(&self) -> RXOM_R
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(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
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(&self) -> RXTL_R
pub fn rxtl(&self) -> RXTL_R
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 = R<I2S_PCM_FCTL_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