Type Alias pac25::pac25140::usartc::lcr::R

source ·
pub type R = R<LCR_SPEC>;
Expand description

Register LCR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn wls(&self) -> WLS_R

Bits 0:1 - Word length select

source

pub fn sbs(&self) -> SBS_R

Bit 2 - Stop bit select

source

pub fn pen(&self) -> PEN_R

Bit 3 - Parity enable

source

pub fn psel(&self) -> PSEL_R

Bits 4:5 - Parity select

source

pub fn bcon(&self) -> BCON_R

Bit 6 - Break control