[][src]Struct stm32g0::stm32g0x0::usart1::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 rtoen(&mut self) -> _RTOENW[src]

Bit 23 - Receiver timeout enable

pub fn abrmod(&mut self) -> _ABRMODW[src]

Bits 21:22 - Auto baud rate mode

pub fn abren(&mut self) -> _ABRENW[src]

Bit 20 - Auto baud rate enable

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

Bit 14 - LIN mode enable

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

Bits 12:13 - STOP bits

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

Bit 11 - Clock enable

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

Bit 10 - Clock polarity

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

Bit 9 - Clock phase

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

Bit 8 - Last bit clock pulse

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

Bit 6 - LIN break detection interrupt enable

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

Bit 5 - LIN break detection length

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

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

pub fn dis_nss(&mut self) -> _DIS_NSSW[src]

Bit 3 - When the DSI_NSS bit is set, the NSS pin input will be ignored

pub fn slven(&mut self) -> _SLVENW[src]

Bit 0 - Synchronous Slave mode enable

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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