Type Alias gd32e1::gd32e103::i2c0::ctl0::PecenW

source ·
pub type PecenW<'a, REG> = BitWriter<'a, REG, Pecen>;
Expand description

Field PECEN writer - PEC Calculation Switch

Aliased Type§

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

Implementations§

source§

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

source

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

PEC calculation disabled

source

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

PEC calculation enabled