Type Alias gd32f1::gd32f130::usart0::ctl2::OvrdW

source ·
pub type OvrdW<'a, REG> = BitWriter<'a, REG, Ovrd>;
Expand description

Field OVRD writer - Overrun Disable

Aliased Type§

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

Implementations§

source§

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

source

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

Overrun Error Flag, ORE, is set when received data is not read before receiving new data

source

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

Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDATA register