[][src]Struct stm32f1xx_hal::stm32::usart1::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 linen(&self) -> LINENR[src]

Bit 14 - LIN mode enable

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

Bits 12:13 - STOP bits

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

Bit 11 - Clock enable

pub fn cpol(&self) -> CPOLR[src]

Bit 10 - Clock polarity

pub fn cpha(&self) -> CPHAR[src]

Bit 9 - Clock phase

pub fn lbcl(&self) -> LBCLR[src]

Bit 8 - Last bit clock pulse

pub fn lbdie(&self) -> LBDIER[src]

Bit 6 - LIN break detection interrupt enable

pub fn lbdl(&self) -> LBDLR[src]

Bit 5 - lin break detection length

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

Bits 0:3 - Address of the USART node

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