Type Alias gd32f1::gd32f130::i2c0::ckcfg::W

source ·
pub type W = W<CkcfgSpec>;
Expand description

Register CKCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn clkc(&mut self) -> ClkcW<'_, CkcfgSpec>

Bits 0:11 - I2C Clock control in master mode

source

pub fn dtcy(&mut self) -> DtcyW<'_, CkcfgSpec>

Bit 14 - Duty cycle in fast mode

source

pub fn fast(&mut self) -> FastW<'_, CkcfgSpec>

Bit 15 - I2C speed selection in master mode