[]Struct nucleo_f042k6::spi1::sr::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 rxne(&self) -> RXNER

Bit 0 - Receive buffer not empty

pub fn txe(&self) -> TXER

Bit 1 - Transmit buffer empty

pub fn chside(&self) -> CHSIDER

Bit 2 - Channel side

pub fn udr(&self) -> UDRR

Bit 3 - Underrun flag

pub fn crcerr(&self) -> CRCERRR

Bit 4 - CRC error flag

pub fn modf(&self) -> MODFR

Bit 5 - Mode fault

pub fn ovr(&self) -> OVRR

Bit 6 - Overrun flag

pub fn bsy(&self) -> BSYR

Bit 7 - Busy flag

pub fn tifrfe(&self) -> TIFRFER

Bit 8 - TI frame format error

pub fn frlvl(&self) -> FRLVLR

Bits 9:10 - FIFO reception level

pub fn ftlvl(&self) -> FTLVLR

Bits 11:12 - FIFO transmission level

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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> From for T
[src]

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]