Type Alias R

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

Register i2c_config reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn clock_divide(&self) -> CLOCK_DIVIDE_R

Bits 16:23 - Peripheral clock divide factor

Source

pub fn clock_enable(&self) -> CLOCK_ENABLE_R

Bit 24 - Peripheral level clock gate enable

Source

pub fn clock_source(&self) -> CLOCK_SOURCE_R

Bit 25 - Peripheral clock source register