Struct esp32s2::i2s0::lc_hung_conf::W
source · pub struct W(_);
Expand description
Register LC_HUNG_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W<'_, 0>
pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W<'_, 0>
Bits 0:7 - I2S_TX_HUNG_INT interrupt or I2S_RX_HUNG_INT interrupt will be triggered when FIFO hung counter is equal to this value.
sourcepub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W<'_, 8>
pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W<'_, 8>
Bits 8:10 - The bits are used to set the tick counter threshold. The tick counter is clocked by APB_CLK. The tick counter threshold is 88000/2^I2S_LC_FIFO_TIMEOUT_SHIFT. The tick counter is reset when it reaches the threshold.
sourcepub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W<'_, 11>
pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W<'_, 11>
Bit 11 - The enable bit for FIFO timeout.
Methods from Deref<Target = W<LC_HUNG_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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