Type Alias gd32f1::gd32f130::usart0::ctl0::PerrieW

source ·
pub type PerrieW<'a, REG> = BitWriter<'a, REG, Perrie>;
Expand description

Field PERRIE writer - Parity error interrupt enable

Aliased Type§

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

Implementations§

source§

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

source

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

Parity error interrupt is disabled

source

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

Interrupt is generated whenever PERR=1 in the STAT register