Struct esp32s2::i2s::lc_hung_conf::R
source · pub struct R(_);
Expand description
Register LC_HUNG_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn lc_fifo_timeout(&self) -> LC_FIFO_TIMEOUT_R
pub fn lc_fifo_timeout(&self) -> LC_FIFO_TIMEOUT_R
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(&self) -> LC_FIFO_TIMEOUT_SHIFT_R
pub fn lc_fifo_timeout_shift(&self) -> LC_FIFO_TIMEOUT_SHIFT_R
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(&self) -> LC_FIFO_TIMEOUT_ENA_R
pub fn lc_fifo_timeout_ena(&self) -> LC_FIFO_TIMEOUT_ENA_R
Bit 11 - The enable bit for FIFO timeout.