[−][src]Struct cc13x2_cc26x2_hal::uart1::lcrh::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn sps(&mut self) -> _SPSW
[src]
Bit 7 - 7:7] UART Stick Parity Select: 0: Stick parity is disabled 1: The parity bit is transmitted and checked as invert of EPS field (i.e. the parity bit is transmitted and checked as 1 when EPS = 0). This bit has no effect when PEN disables parity checking and generation.
pub fn wlen(&mut self) -> _WLENW
[src]
Bits 5:6 - 6:5] UART Word Length: These bits indicate the number of data bits transmitted or received in a frame.
pub fn fen(&mut self) -> _FENW
[src]
Bit 4 - 4:4] UART Enable FIFOs
pub fn stp2(&mut self) -> _STP2W
[src]
Bit 3 - 3:3] UART Two Stop Bits Select: If this bit is set to 1, two stop bits are transmitted at the end of the frame. The receive logic does not check for two stop bits being received.
pub fn eps(&mut self) -> _EPSW
[src]
Bit 2 - 2:2] UART Even Parity Select
pub fn pen(&mut self) -> _PENW
[src]
Bit 1 - 1:1] UART Parity Enable This bit controls generation and checking of parity bit.
pub fn brk(&mut self) -> _BRKW
[src]
Bit 0 - 0:0] UART Send Break If this bit is set to 1, a low-level is continually output on the UARTTXD output pin, after completing transmission of the current character. For the proper execution of the break command, the software must set this bit for at least two complete frames. For normal use, this bit must be cleared to 0.
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self