Type Alias gd32f1::gd32f190::adc::ctl0::EocieW

source ·
pub type EocieW<'a, REG> = BitWriter<'a, REG, Eocie>;
Expand description

Field EOCIE writer - Interrupt enable for EOC

Aliased Type§

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

Implementations§

source§

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

source

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

EOC interrupt disabled

source

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

EOC interrupt enabled. An interrupt is generated when the EOC bit is set