Struct esp32s2::i2c0::scl_filter_cfg::R
source · pub struct R(_);Expand description
Register SCL_FILTER_CFG reader
Implementations§
source§impl R
impl R
sourcepub fn scl_filter_thres(&self) -> SCL_FILTER_THRES_R
pub fn scl_filter_thres(&self) -> SCL_FILTER_THRES_R
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 scl_filter_en(&self) -> SCL_FILTER_EN_R
pub fn scl_filter_en(&self) -> SCL_FILTER_EN_R
Bit 4 - This is the filter enable bit for SCL.
Methods from Deref<Target = R<SCL_FILTER_CFG_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more