pub type STOPBITS_W<'a, const O: u8> = FieldWriterSafe<'a, u32, FRAME_SPEC, u8, STOPBITS_A, 2, O>;
Expand description

Field STOPBITS writer - Stop-Bit Mode

Implementations§

source§

impl<'a, const O: u8> STOPBITS_W<'a, O>

source

pub fn half(self) -> &'a mut W

The transmitter generates a half stop bit. Stop-bits are not verified by receiver

source

pub fn one(self) -> &'a mut W

One stop bit is generated and verified

source

pub fn oneandahalf(self) -> &'a mut W

The transmitter generates one and a half stop bit. The receiver verifies the first stop bit

source

pub fn two(self) -> &'a mut W

The transmitter generates two stop bits. The receiver checks the first stop-bit only