Type Alias gd32f1::gd32f190::rcu::adden::I2c2enW

source ·
pub type I2c2enW<'a, REG> = BitWriter<'a, REG, I2c2en>;
Expand description

Field I2C2EN writer - I2C2 unit clock enable

Aliased Type§

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

Implementations§

source§

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

source

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

The selected clock is disabled

source

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

The selected clock is enabled