[][src]Struct stm32f3::stm32f303::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 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 datainv(&mut self) -> _DATAINVW
[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 add(&mut self) -> _ADDW
[src]

Bits 24:31 - Address of the USART node

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T
[src]

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