Type Alias R

Source
pub type R = R<CLK_CONF_SPEC>;
Expand description

Register CLK_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sclk_div_num(&self) -> SCLK_DIV_NUM_R

Bits 0:7 - the integral part of the fractional divisor for i2c module

Source

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

Source

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

Source

pub fn sclk_sel(&self) -> SCLK_SEL_R

Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz.

Source

pub fn sclk_active(&self) -> SCLK_ACTIVE_R

Bit 21 - The clock switch for i2c module