Struct esp32c2::i2c0::filter_cfg::W
source · pub struct W(_);Expand description
Register FILTER_CFG writer
Implementations§
source§impl W
impl W
sourcepub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W<'_, 0>
pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W<'_, 0>
Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse.
sourcepub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W<'_, 4>
pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W<'_, 4>
Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse.
sourcepub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W<'_, 8>
pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W<'_, 8>
Bit 8 - This is the filter enable bit for SCL.
sourcepub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W<'_, 9>
pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W<'_, 9>
Bit 9 - This is the filter enable bit for SDA.