[][src]Struct ht32f5xxxx::ht32f52342_52::spi0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub spi_cr0: SPI_CR0,
    pub spi_cr1: SPI_CR1,
    pub spi_ier: SPI_IER,
    pub spi_cpr: SPI_CPR,
    pub spi_dr: SPI_DR,
    pub spi_sr: SPI_SR,
    pub spi_fcr: SPI_FCR,
    pub spi_fsr: SPI_FSR,
    pub spi_ftocr: SPI_FTOCR,
}

Register block

Fields

spi_cr0: SPI_CR0

0x00 - SPI_CR0

spi_cr1: SPI_CR1

0x04 - SPI_CR1

spi_ier: SPI_IER

0x08 - SPI_IER

spi_cpr: SPI_CPR

0x0c - SPI_CPR

spi_dr: SPI_DR

0x10 - SPI_DR

spi_sr: SPI_SR

0x14 - SPI_SR

spi_fcr: SPI_FCR

0x18 - SPI_FCR

spi_fsr: SPI_FSR

0x1c - SPI_FSR

spi_ftocr: SPI_FTOCR

0x20 - SPI_FTOCR

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.