[][src]Struct gd32vf103_pac::usart0::ctl2::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 ctsie(&mut self) -> _CTSIEW[src]

Bit 10 - CTS interrupt enable

pub fn ctsen(&mut self) -> _CTSENW[src]

Bit 9 - CTS enable

pub fn rtsen(&mut self) -> _RTSENW[src]

Bit 8 - RTS enable

pub fn dent(&mut self) -> _DENTW[src]

Bit 7 - DMA request enable for transmission

pub fn denr(&mut self) -> _DENRW[src]

Bit 6 - DMA request enable for reception

pub fn scen(&mut self) -> _SCENW[src]

Bit 5 - Smartcard mode enable

pub fn nken(&mut self) -> _NKENW[src]

Bit 4 - Smartcard NACK enable

pub fn hden(&mut self) -> _HDENW[src]

Bit 3 - Half-duplex selection

pub fn irlp(&mut self) -> _IRLPW[src]

Bit 2 - IrDA low-power

pub fn iren(&mut self) -> _IRENW[src]

Bit 1 - IrDA mode enable

pub fn errie(&mut self) -> _ERRIEW[src]

Bit 0 - Error interrupt enable

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]