[][src]Struct cc13x2_cc26x2_hal::uart0::lcrh::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn sps(&self) -> SPSR[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(&self) -> WLENR[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(&self) -> FENR[src]

Bit 4 - 4:4] UART Enable FIFOs

pub fn stp2(&self) -> STP2R[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(&self) -> EPSR[src]

Bit 2 - 2:2] UART Even Parity Select

pub fn pen(&self) -> PENR[src]

Bit 1 - 1:1] UART Parity Enable This bit controls generation and checking of parity bit.

pub fn brk(&self) -> BRKR[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

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self