[][src]Struct gd32vf103_pac::spi0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub ctl0: CTL0,
    pub ctl1: CTL1,
    pub stat: STAT,
    pub data: DATA,
    pub crcpoly: CRCPOLY,
    pub rcrc: RCRC,
    pub tcrc: TCRC,
    pub i2sctl: I2SCTL,
    pub i2spsc: I2SPSC,
    // some fields omitted
}

Register block

Fields

ctl0: CTL0

0x00 - control register 0

ctl1: CTL1

0x04 - control register 1

stat: STAT

0x08 - status register

data: DATA

0x0c - data register

crcpoly: CRCPOLY

0x10 - CRC polynomial register

rcrc: RCRC

0x14 - RX CRC register

tcrc: TCRC

0x18 - TX CRC register

i2sctl: I2SCTL

0x1c - I2S control register

i2spsc: I2SPSC

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