Type Alias d1_pac::uart::lcr::STOP_W

source ·
pub type STOP_W<'a, const O: u8> = BitWriter<'a, u32, LCR_SPEC, STOP_A, O>;
Expand description

Field stop writer - Number of stop bits

Aliased Type§

struct STOP_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

1 stop bit

source

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

1.5 stop bits when DLS(LCR[1:0]) is zero, else 2 stop bits