Struct esp32h2::pcr::i2c0_sclk_conf::R
source · pub struct R(_);
Expand description
Register I2C0_SCLK_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn i2c0_sclk_div_a(&self) -> I2C0_SCLK_DIV_A_R
pub fn i2c0_sclk_div_a(&self) -> I2C0_SCLK_DIV_A_R
Bits 0:5 - The denominator of the frequency divider factor of the i2c function clock.
sourcepub fn i2c0_sclk_div_b(&self) -> I2C0_SCLK_DIV_B_R
pub fn i2c0_sclk_div_b(&self) -> I2C0_SCLK_DIV_B_R
Bits 6:11 - The numerator of the frequency divider factor of the i2c function clock.
sourcepub fn i2c0_sclk_div_num(&self) -> I2C0_SCLK_DIV_NUM_R
pub fn i2c0_sclk_div_num(&self) -> I2C0_SCLK_DIV_NUM_R
Bits 12:19 - The integral part of the frequency divider factor of the i2c function clock.
sourcepub fn i2c0_sclk_sel(&self) -> I2C0_SCLK_SEL_R
pub fn i2c0_sclk_sel(&self) -> I2C0_SCLK_SEL_R
Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC.
sourcepub fn i2c0_sclk_en(&self) -> I2C0_SCLK_EN_R
pub fn i2c0_sclk_en(&self) -> I2C0_SCLK_EN_R
Bit 22 - Set 1 to enable i2c function clock
Methods from Deref<Target = R<I2C0_SCLK_CONF_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