[][src]Struct stm32g0::stm32g0x0::lpuart::cr2::W

pub struct W { /* fields omitted */ }

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 add4_7(&mut self) -> _ADD4_7W[src]

Bits 28:31 - Address of the USART node

pub fn add0_3(&mut self) -> _ADD0_3W[src]

Bits 24:27 - Address of the USART node

pub fn msbfirst(&mut self) -> _MSBFIRSTW[src]

Bit 19 - Most significant bit first

pub fn tainv(&mut self) -> _TAINVW[src]

Bit 18 - Binary data inversion

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

Bit 17 - TX pin active level inversion

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

Bit 16 - RX pin active level inversion

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

Bit 15 - Swap TX/RX pins

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

Bits 12:13 - STOP bits

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

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

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self