Type Alias gd32f1::gd32f130::i2c0::ctl0::StopW

source ·
pub type StopW<'a, REG> = BitWriter<'a, REG, Stop>;
Expand description

Field STOP writer - Generate a STOP condition on I2C bus

Aliased Type§

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

Implementations§

source§

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

source

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

STOP will not be sent

source

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

STOP will be sent