[][src]Struct stm32f0xx_hal::stm32::spi1::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub cr1: Reg<u32, _CR1>,
    pub cr2: Reg<u32, _CR2>,
    pub sr: Reg<u32, _SR>,
    pub dr: Reg<u32, _DR>,
    pub crcpr: Reg<u32, _CRCPR>,
    pub rxcrcr: Reg<u32, _RXCRCR>,
    pub txcrcr: Reg<u32, _TXCRCR>,
    pub i2scfgr: Reg<u32, _I2SCFGR>,
    pub i2spr: Reg<u32, _I2SPR>,
}

Register block

Fields

cr1: Reg<u32, _CR1>

0x00 - control register 1

cr2: Reg<u32, _CR2>

0x04 - control register 2

sr: Reg<u32, _SR>

0x08 - status register

dr: Reg<u32, _DR>

0x0c - data register

crcpr: Reg<u32, _CRCPR>

0x10 - CRC polynomial register

rxcrcr: Reg<u32, _RXCRCR>

0x14 - RX CRC register

txcrcr: Reg<u32, _TXCRCR>

0x18 - TX CRC register

i2scfgr: Reg<u32, _I2SCFGR>

0x1c - I2S configuration register

i2spr: Reg<u32, _I2SPR>

0x20 - I2S prescaler register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.