[−][src]Struct cc13x2_cc26x2_hal::uart1::lcrh::R
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
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