Struct lpc177x_8x::uart1::lcr::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn wls(&mut self) -> _WLSW
[src]
pub fn wls(&mut self) -> _WLSW
Bits 0:1 - Word Length Select.
pub fn sbs(&mut self) -> _SBSW
[src]
pub fn sbs(&mut self) -> _SBSW
Bit 2 - Stop Bit Select.
pub fn pe(&mut self) -> _PEW
[src]
pub fn pe(&mut self) -> _PEW
Bit 3 - Parity Enable.
pub fn ps(&mut self) -> _PSW
[src]
pub fn ps(&mut self) -> _PSW
Bits 4:5 - Parity Select.
pub fn bc(&mut self) -> _BCW
[src]
pub fn bc(&mut self) -> _BCW
Bit 6 - Break Control.
pub fn dlab(&mut self) -> _DLABW
[src]
pub fn dlab(&mut self) -> _DLABW
Bit 7 - Divisor Latch Access Bit (DLAB)