[]Struct nucleo_f042k6::stm32::usart1::cr1::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn ue(&self) -> UER

Bit 0 - USART enable

pub fn uesm(&self) -> UESMR

Bit 1 - USART enable in Stop mode

pub fn re(&self) -> RER

Bit 2 - Receiver enable

pub fn te(&self) -> TER

Bit 3 - Transmitter enable

pub fn idleie(&self) -> IDLEIER

Bit 4 - IDLE interrupt enable

pub fn rxneie(&self) -> RXNEIER

Bit 5 - RXNE interrupt enable

pub fn tcie(&self) -> TCIER

Bit 6 - Transmission complete interrupt enable

pub fn txeie(&self) -> TXEIER

Bit 7 - interrupt enable

pub fn peie(&self) -> PEIER

Bit 8 - PE interrupt enable

pub fn ps(&self) -> PSR

Bit 9 - Parity selection

pub fn pce(&self) -> PCER

Bit 10 - Parity control enable

pub fn wake(&self) -> WAKER

Bit 11 - Receiver wakeup method

pub fn m0(&self) -> M0R

Bit 12 - Word length

pub fn mme(&self) -> MMER

Bit 13 - Mute mode enable

pub fn cmie(&self) -> CMIER

Bit 14 - Character match interrupt enable

pub fn over8(&self) -> OVER8R

Bit 15 - Oversampling mode

pub fn dedt(&self) -> DEDTR

Bits 16:20 - Driver Enable deassertion time

pub fn deat(&self) -> DEATR

Bits 21:25 - Driver Enable assertion time

pub fn rtoie(&self) -> RTOIER

Bit 26 - Receiver timeout interrupt enable

pub fn eobie(&self) -> EOBIER

Bit 27 - End of Block interrupt enable

pub fn m1(&self) -> M1R

Bit 28 - Word length

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

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]

impl<T> Same<T> for T

type Output = T

Should always be Self