[][src]Struct stm32f1xx_hal::device::uart4::cr1::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 W[src]

Writes raw bits to the register

pub fn sbk(&mut self) -> _SBKW[src]

Bit 0 - Send break

pub fn rwu(&mut self) -> _RWUW[src]

Bit 1 - Receiver wakeup

pub fn re(&mut self) -> _REW[src]

Bit 2 - Receiver enable

pub fn te(&mut self) -> _TEW[src]

Bit 3 - Transmitter enable

pub fn idleie(&mut self) -> _IDLEIEW[src]

Bit 4 - IDLE interrupt enable

pub fn rxneie(&mut self) -> _RXNEIEW[src]

Bit 5 - RXNE interrupt enable

pub fn tcie(&mut self) -> _TCIEW[src]

Bit 6 - Transmission complete interrupt enable

pub fn txeie(&mut self) -> _TXEIEW[src]

Bit 7 - TXE interrupt enable

pub fn peie(&mut self) -> _PEIEW[src]

Bit 8 - PE interrupt enable

pub fn ps(&mut self) -> _PSW[src]

Bit 9 - Parity selection

pub fn pce(&mut self) -> _PCEW[src]

Bit 10 - Parity control enable

pub fn wake(&mut self) -> _WAKEW[src]

Bit 11 - Wakeup method

pub fn m(&mut self) -> _MW[src]

Bit 12 - Word length

pub fn ue(&mut self) -> _UEW[src]

Bit 13 - USART enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, 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]

impl<T> Same for T

type Output = T

Should always be Self