[][src]Struct stm32wb_pac::spi1::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub cr1: CR1,
    pub cr2: CR2,
    pub sr: SR,
    pub dr: DR,
    pub crcpr: CRCPR,
    pub rxcrcr: RXCRCR,
    pub txcrcr: TXCRCR,
}

Register block

Fields

cr1: CR1

0x00 - control register 1

cr2: CR2

0x04 - control register 2

sr: SR

0x08 - status register

dr: DR

0x0c - data register

crcpr: CRCPR

0x10 - CRC polynomial register

rxcrcr: RXCRCR

0x14 - RX CRC register

txcrcr: TXCRCR

0x18 - TX CRC register

Auto Trait Implementations

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