Type Alias gd32f1::gd32f130::i2c0::ctl0::I2cenR

source ·
pub type I2cenR = BitReader<I2cen>;
Expand description

Field I2CEN reader - I2C peripheral enable

Aliased Type§

struct I2cenR { /* private fields */ }

Implementations§

source§

impl I2cenR

source

pub const fn variant(&self) -> I2cen

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Peripheral disabled

source

pub fn is_enabled(&self) -> bool

Peripheral enabled