[][src]Struct atsams70q20b::spi0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub spi_cr: SPI_CR,
    pub spi_mr: SPI_MR,
    pub spi_rdr: SPI_RDR,
    pub spi_tdr: SPI_TDR,
    pub spi_sr: SPI_SR,
    pub spi_ier: SPI_IER,
    pub spi_idr: SPI_IDR,
    pub spi_imr: SPI_IMR,
    pub spi_csr: [SPI_CSR; 4],
    pub spi_wpmr: SPI_WPMR,
    pub spi_wpsr: SPI_WPSR,
    // some fields omitted
}

Register block

Fields

spi_cr: SPI_CR

0x00 - Control Register

spi_mr: SPI_MR

0x04 - Mode Register

spi_rdr: SPI_RDR

0x08 - Receive Data Register

spi_tdr: SPI_TDR

0x0c - Transmit Data Register

spi_sr: SPI_SR

0x10 - Status Register

spi_ier: SPI_IER

0x14 - Interrupt Enable Register

spi_idr: SPI_IDR

0x18 - Interrupt Disable Register

spi_imr: SPI_IMR

0x1c - Interrupt Mask Register

spi_csr: [SPI_CSR; 4]

0x30 - Chip Select Register

spi_wpmr: SPI_WPMR

0xe4 - Write Protection Mode Register

spi_wpsr: SPI_WPSR

0xe8 - Write Protection Status 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