Type Alias gd32f1::gd32f130::spi0::ctl0::SpienW

source ·
pub type SpienW<'a, REG> = BitWriter<'a, REG, Spien>;
Expand description

Field SPIEN writer - SPI enable

Aliased Type§

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

Implementations§

source§

impl<'a, REG> SpienW<'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