[][src]Struct gd32vf103_pac::usart0::ctl1::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 lmen(&mut self) -> _LMENW[src]

Bit 14 - LIN mode enable

pub fn stb(&mut self) -> _STBW[src]

Bits 12:13 - STOP bits length

pub fn cken(&mut self) -> _CKENW[src]

Bit 11 - CK pin enable

pub fn cpl(&mut self) -> _CPLW[src]

Bit 10 - Clock polarity

pub fn cph(&mut self) -> _CPHW[src]

Bit 9 - Clock phase

pub fn clen(&mut self) -> _CLENW[src]

Bit 8 - CK Length

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

Bit 6 - LIN break detection interrupt enable

pub fn lblen(&mut self) -> _LBLENW[src]

Bit 5 - LIN break frame length

pub fn addr(&mut self) -> _ADDRW[src]

Bits 0:3 - Address of the USART

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send 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]