Struct esp32s3_hal::pac::spi0::int_ena::W
pub struct W(_);
Expand description
Register INT_ENA
writer
Implementations§
§impl W
impl W
pub fn total_trans_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
pub fn total_trans_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
Bit 2 - The enable bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt.
pub fn ecc_err_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
pub fn ecc_err_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
Bit 4 - The enable bit for SPI_MEM_ECC_ERR_INT interrupt.
Methods from Deref<Target = W<INT_ENA_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<INT_ENA_SPEC>> for W
impl From<W<INT_ENA_SPEC>> for W
§fn from(writer: W<INT_ENA_SPEC>) -> W
fn from(writer: W<INT_ENA_SPEC>) -> W
Converts to this type from the input type.