Type Alias esp32c6::pcr::i2c0_conf::R

source ·
pub type R = R<I2C0_CONF_SPEC>;
Expand description

Register I2C0_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn i2c0_clk_en(&self) -> I2C0_CLK_EN_R

Bit 0 - Set 1 to enable i2c apb clock

source

pub fn i2c0_rst_en(&self) -> I2C0_RST_EN_R

Bit 1 - Set 0 to reset i2c module