Type Alias esp32c3::i2c0::filter_cfg::W

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

Register FILTER_CFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W<'_, FILTER_CFG_SPEC>

Bits 0:3 - reg_scl_filter_thres

source

pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W<'_, FILTER_CFG_SPEC>

Bits 4:7 - reg_sda_filter_thres

source

pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W<'_, FILTER_CFG_SPEC>

Bit 8 - reg_scl_filter_en

source

pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W<'_, FILTER_CFG_SPEC>

Bit 9 - reg_sda_filter_en