Type Alias esp32c6::i2c0::int_ena::W

source ·
pub type W = W<INT_ENA_SPEC>;
Expand description

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rxfifo_wm_int_ena(&mut self) -> RXFIFO_WM_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt.

source

pub fn txfifo_wm_int_ena(&mut self) -> TXFIFO_WM_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt.

source

pub fn rxfifo_ovf_int_ena(&mut self) -> RXFIFO_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt.

source

pub fn end_detect_int_ena(&mut self) -> END_DETECT_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn byte_trans_done_int_ena( &mut self ) -> BYTE_TRANS_DONE_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn arbitration_lost_int_ena( &mut self ) -> ARBITRATION_LOST_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn mst_txfifo_udf_int_ena( &mut self ) -> MST_TXFIFO_UDF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt.

source

pub fn trans_complete_int_ena( &mut self ) -> TRANS_COMPLETE_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn time_out_int_ena(&mut self) -> TIME_OUT_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn trans_start_int_ena(&mut self) -> TRANS_START_INT_ENA_W<'_, INT_ENA_SPEC>

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

source

pub fn nack_int_ena(&mut self) -> NACK_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt.

source

pub fn txfifo_ovf_int_ena(&mut self) -> TXFIFO_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt.

source

pub fn rxfifo_udf_int_ena(&mut self) -> RXFIFO_UDF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt.

source

pub fn scl_st_to_int_ena(&mut self) -> SCL_ST_TO_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt.

source

pub fn scl_main_st_to_int_ena( &mut self ) -> SCL_MAIN_ST_TO_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt.

source

pub fn det_start_int_ena(&mut self) -> DET_START_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt.

source

pub fn slave_stretch_int_ena( &mut self ) -> SLAVE_STRETCH_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 16 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt.

source

pub fn general_call_int_ena( &mut self ) -> GENERAL_CALL_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 17 - The interrupt enable bit for I2C_GENARAL_CALL_INT interrupt.

source

pub fn slave_addr_unmatch_int_ena( &mut self ) -> SLAVE_ADDR_UNMATCH_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 18 - The interrupt enable bit for I2C_SLAVE_ADDR_UNMATCH_INT interrupt.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual