Skip to main content

StpW

Type Alias StpW 

Source
pub type StpW<'a, REG> = BitWriter<'a, REG, Stp>;
Expand description

Field stp writer - Stop bits: 0=1bit; 1=1.5/2bit

Aliased Type§

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

Implementations§

Source§

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

Source

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

1 stop bit

Source

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

1.5 (5-bit data) or 2 stop bits