Struct zinc_hal_lpc11xx::ioregs::UART_lcr_Get
[−]
[src]
pub struct UART_lcr_Get { // some fields omitted }
LCR
: Line Control Register. Contains controls for frame formatting and break generation.
Methods
impl UART_lcr_Get
fn new(reg: &UART_lcr) -> UART_lcr_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn wls(&self) -> UART_lcr_wls
Get value of WLS
field: Word Length Select
fn sbs(&self) -> UART_lcr_sbs
Get value of SBS
field: Stop Bit Select
fn pe(&self) -> UART_lcr_pe
Get value of PE
field: Parity Enable
fn ps(&self) -> UART_lcr_ps
Get value of PS
field: Parity Select
fn bc(&self) -> UART_lcr_bc
Get value of BC
field: Break Control
fn dlab(&self) -> UART_lcr_dlab
Get value of DLAB
field: Divisor Latch Access Bit