Struct esp32c2_hal::pac::spi1::int_ena::W

pub struct W(_);
Expand description

Register INT_ENA writer

Implementations§

Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt.

Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt.

Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt.

Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt.

Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt.

Bit 5 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt.

Writes raw bits to the register.

Methods from Deref<Target = W<INT_ENA_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.