pub type R = R<CLK_CONF_SPEC>;
Expand description
Register CLK_CONF
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn sclk_div_num(&self) -> SCLK_DIV_NUM_R
pub fn sclk_div_num(&self) -> SCLK_DIV_NUM_R
Bits 0:7 - the integral part of the fractional divisor for i2c module
Sourcepub fn sclk_div_a(&self) -> SCLK_DIV_A_R
pub fn sclk_div_a(&self) -> SCLK_DIV_A_R
Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module
Sourcepub fn sclk_div_b(&self) -> SCLK_DIV_B_R
pub fn sclk_div_b(&self) -> SCLK_DIV_B_R
Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module
Sourcepub fn sclk_sel(&self) -> SCLK_SEL_R
pub fn sclk_sel(&self) -> SCLK_SEL_R
Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz.
Sourcepub fn sclk_active(&self) -> SCLK_ACTIVE_R
pub fn sclk_active(&self) -> SCLK_ACTIVE_R
Bit 21 - The clock switch for i2c module