Type Alias gd32f1::gd32f190::i2c0::ctl0::I2cenW

source ·
pub type I2cenW<'a, REG> = BitWriter<'a, REG, I2cen>;
Expand description

Field I2CEN writer - I2C peripheral enable

Aliased Type§

struct I2cenW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> I2cenW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn disabled(self) -> &'a mut W<REG>

Peripheral disabled

source

pub fn enabled(self) -> &'a mut W<REG>

Peripheral enabled