Struct esp32c2_hal::pac::i2c0::int_ena::W

pub struct W(_);
Expand description

Register INT_ENA writer

Implementations§

Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt.

Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt.

Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt.

Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt.

Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt.

Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt.

Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt.

Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt.

Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt.

Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt.

Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt.

Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt.

Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt.

Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt.

Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt.

Bit 15 - The interrupt enable bit for I2C_DET_START_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.