[][src]Struct stm32l4xx_hal::stm32::lpuart1::cr2::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 msbfirst(&self) -> MSBFIRSTR[src]

Bit 19 - Most significant bit first

pub fn datainv(&self) -> DATAINVR[src]

Bit 18 - Binary data inversion

pub fn txinv(&self) -> TXINVR[src]

Bit 17 - TX pin active level inversion

pub fn rxinv(&self) -> RXINVR[src]

Bit 16 - RX pin active level inversion

pub fn swap(&self) -> SWAPR[src]

Bit 15 - Swap TX/RX pins

pub fn stop(&self) -> STOPR[src]

Bits 12:13 - STOP bits

pub fn clken(&self) -> CLKENR[src]

Bit 11 - Clock enable

pub fn addm7(&self) -> ADDM7R[src]

Bit 4 - 7-bit Address Detection/4-bit Address Detection

pub fn add(&self) -> ADDR[src]

Bits 24:31 - Address of the USART node

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

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