Type Alias gd32e1::gd32e103::usart0::ctl2::ErrieW

source ·
pub type ErrieW<'a, REG> = BitWriter<'a, REG, Errie>;
Expand description

Field ERRIE writer - Error interrupt enable

Aliased Type§

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

Implementations§

source§

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

source

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

Error interrupt is disabled

source

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

An interrupt is generated when FERR=1 or ORERR=1 or NERR=1 in the STAT register