Type Alias esp32c3::i2s0::lc_hung_conf::W

source ·
pub type W = W<LC_HUNG_CONF_SPEC>;
Expand description

Register LC_HUNG_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W<'_, LC_HUNG_CONF_SPEC>

Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value

source

pub fn lc_fifo_timeout_shift( &mut self ) -> LC_FIFO_TIMEOUT_SHIFT_W<'_, LC_HUNG_CONF_SPEC>

Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift

source

pub fn lc_fifo_timeout_ena( &mut self ) -> LC_FIFO_TIMEOUT_ENA_W<'_, LC_HUNG_CONF_SPEC>

Bit 11 - The enable bit for FIFO timeout