Skip to main content

StpR

Type Alias StpR 

Source
pub type StpR = BitReader<Stp>;
Expand description

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

Aliased Type§

pub struct StpR { /* private fields */ }

Implementations§

Source§

impl StpR

Source

pub const fn variant(&self) -> Stp

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

1 stop bit

Source

pub fn is_stop1_5_or_2(&self) -> bool

1.5 (5-bit data) or 2 stop bits