Type Alias gd32f1::gd32f130::usart0::ctl1::StbW

source ·
pub type StbW<'a, REG> = FieldWriterSafe<'a, REG, 2, Stb>;
Expand description

Field STB writer - STOP bits length

Aliased Type§

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

Implementations§

source§

impl<'a, REG> StbW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

1 stop bit

source

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

0.5 stop bit

source

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

2 stop bit

source

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

1.5 stop bit