Struct esp32c2_hal::pac::spi1::int_ena::W
pub struct W(_);
Expand description
Register INT_ENA
writer
Implementations§
§impl W
impl W
pub fn per_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
pub fn per_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt.
pub fn pes_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
pub fn pes_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt.
pub fn wpe_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
pub fn wpe_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt.
pub fn slv_st_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
pub fn slv_st_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt.
pub fn mst_st_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
pub fn mst_st_end_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt.
pub fn brown_out_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
pub fn brown_out_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
Bit 5 - The enable bit for SPI_MEM_BROWN_OUT_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.