Struct esp32c2_hal::pac::i2c0::int_clr::W
pub struct W(_);
Expand description
Register INT_CLR
writer
Implementations
impl W
impl W
pub fn rxfifo_wm_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 0>
pub fn rxfifo_wm_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt.
pub fn txfifo_wm_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 1>
pub fn txfifo_wm_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt.
pub fn rxfifo_ovf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 2>
pub fn rxfifo_ovf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt.
pub fn end_detect_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 3>
pub fn end_detect_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt.
pub fn byte_trans_done_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 4>
pub fn byte_trans_done_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 4>
Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt.
pub fn arbitration_lost_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 5>
pub fn arbitration_lost_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 5>
Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt.
pub fn mst_txfifo_udf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 6>
pub fn mst_txfifo_udf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt.
pub fn trans_complete_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 7>
pub fn trans_complete_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt.
pub fn time_out_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 8>
pub fn time_out_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 8>
Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt.
pub fn trans_start_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 9>
pub fn trans_start_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 9>
Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt.
pub fn nack_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 10>
pub fn nack_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 10>
Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt.
pub fn txfifo_ovf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 11>
pub fn txfifo_ovf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 11>
Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt.
pub fn rxfifo_udf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 12>
pub fn rxfifo_udf_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 12>
Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt.
pub fn scl_st_to_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 13>
pub fn scl_st_to_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 13>
Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt.
pub fn scl_main_st_to_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 14>
pub fn scl_main_st_to_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 14>
Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt.
pub fn det_start_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 15>
pub fn det_start_int_clr(
&mut self
) -> BitWriterRaw<'_, u32, INT_CLR_SPEC, bool, BitM, 15>
Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt.
Methods from Deref<Target = W<INT_CLR_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.