Struct esp32s3_hal::pac::i2s1::lc_hung_conf::W
pub struct W(_);
Expand description
Register LC_HUNG_CONF
writer
Implementations§
§impl W
impl W
pub fn lc_fifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn lc_fifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 0>
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
pub fn lc_fifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 8>
pub fn lc_fifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 8>
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
pub fn lc_fifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, bool, BitM, 11>
pub fn lc_fifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, LC_HUNG_CONF_SPEC, bool, BitM, 11>
Bit 11 - The enable bit for FIFO timeout
Methods from Deref<Target = W<LC_HUNG_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<LC_HUNG_CONF_SPEC>> for W
impl From<W<LC_HUNG_CONF_SPEC>> for W
§fn from(writer: W<LC_HUNG_CONF_SPEC>) -> W
fn from(writer: W<LC_HUNG_CONF_SPEC>) -> W
Converts to this type from the input type.