pub type R = R<I2C1_SCLK_CONF_SPEC>;Expand description
Register I2C1_SCLK_CONF reader
Aliased Type§
struct R { /* private fields */ }Implementations§
Source§impl R
impl R
Sourcepub fn i2c1_sclk_div_a(&self) -> I2C1_SCLK_DIV_A_R
pub fn i2c1_sclk_div_a(&self) -> I2C1_SCLK_DIV_A_R
Bits 0:5 - The denominator of the frequency divider factor of the i2c function clock.
Sourcepub fn i2c1_sclk_div_b(&self) -> I2C1_SCLK_DIV_B_R
pub fn i2c1_sclk_div_b(&self) -> I2C1_SCLK_DIV_B_R
Bits 6:11 - The numerator of the frequency divider factor of the i2c function clock.
Sourcepub fn i2c1_sclk_div_num(&self) -> I2C1_SCLK_DIV_NUM_R
pub fn i2c1_sclk_div_num(&self) -> I2C1_SCLK_DIV_NUM_R
Bits 12:19 - The integral part of the frequency divider factor of the i2c function clock.
Sourcepub fn i2c1_sclk_sel(&self) -> I2C1_SCLK_SEL_R
pub fn i2c1_sclk_sel(&self) -> I2C1_SCLK_SEL_R
Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC.
Sourcepub fn i2c1_sclk_en(&self) -> I2C1_SCLK_EN_R
pub fn i2c1_sclk_en(&self) -> I2C1_SCLK_EN_R
Bit 22 - Set 1 to enable i2c function clock