Struct zinc_hal_lpc11xx::ioregs::UART_lcr [] [src]

pub struct UART_lcr {
    // some fields omitted
}

Register LCR: Line Control Register. Contains controls for frame formatting and break generation.

Methods

impl UART_lcr

fn get(&self) -> UART_lcr_Get

Fetch the value of the LCR register.

fn wls(&self) -> UART_lcr_wls

Get value of WLS field.

fn sbs(&self) -> UART_lcr_sbs

Get value of SBS field.

fn pe(&self) -> UART_lcr_pe

Get value of PE field.

fn ps(&self) -> UART_lcr_ps

Get value of PS field.

fn bc(&self) -> UART_lcr_bc

Get value of BC field.

fn dlab(&self) -> UART_lcr_dlab

Get value of DLAB field.

fn ignoring_state(&self) -> UART_lcr_Update

Create new updater that ignores current value of the LCR register.

fn set_wls<'a>(&'a mut self, new_value: UART_lcr_wls) -> UART_lcr_Update<'a>

Set value of WLS field.

fn set_sbs<'a>(&'a mut self, new_value: UART_lcr_sbs) -> UART_lcr_Update<'a>

Set value of SBS field.

fn set_pe<'a>(&'a mut self, new_value: UART_lcr_pe) -> UART_lcr_Update<'a>

Set value of PE field.

fn set_ps<'a>(&'a mut self, new_value: UART_lcr_ps) -> UART_lcr_Update<'a>

Set value of PS field.

fn set_bc<'a>(&'a mut self, new_value: UART_lcr_bc) -> UART_lcr_Update<'a>

Set value of BC field.

fn set_dlab<'a>(&'a mut self, new_value: UART_lcr_dlab) -> UART_lcr_Update<'a>

Set value of DLAB field.

Trait Implementations

impl Copy for UART_lcr

Derived Implementations

impl Clone for UART_lcr

fn clone(&self) -> UART_lcr

fn clone_from(&mut self, source: &Self)