[][src]Struct bl602_pac::spi::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub spi_config: Reg<SPI_CONFIG_SPEC>,
    pub spi_int_sts: Reg<SPI_INT_STS_SPEC>,
    pub spi_bus_busy: Reg<SPI_BUS_BUSY_SPEC>,
    pub spi_prd_0: Reg<SPI_PRD_0_SPEC>,
    pub spi_prd_1: Reg<SPI_PRD_1_SPEC>,
    pub spi_rxd_ignr: Reg<SPI_RXD_IGNR_SPEC>,
    pub spi_sto_value: Reg<SPI_STO_VALUE_SPEC>,
    pub spi_fifo_config_0: Reg<SPI_FIFO_CONFIG_0_SPEC>,
    pub spi_fifo_config_1: Reg<SPI_FIFO_CONFIG_1_SPEC>,
    pub spi_fifo_wdata: Reg<SPI_FIFO_WDATA_SPEC>,
    pub spi_fifo_rdata: Reg<SPI_FIFO_RDATA_SPEC>,
    // some fields omitted
}

Register block

Fields

spi_config: Reg<SPI_CONFIG_SPEC>

0x00 - spi_config.

spi_int_sts: Reg<SPI_INT_STS_SPEC>

0x04 - spi_int_sts.

spi_bus_busy: Reg<SPI_BUS_BUSY_SPEC>

0x08 - spi_bus_busy.

spi_prd_0: Reg<SPI_PRD_0_SPEC>

0x10 - spi_prd_0.

spi_prd_1: Reg<SPI_PRD_1_SPEC>

0x14 - spi_prd_1.

spi_rxd_ignr: Reg<SPI_RXD_IGNR_SPEC>

0x18 - spi_rxd_ignr.

spi_sto_value: Reg<SPI_STO_VALUE_SPEC>

0x1c - spi_sto_value.

spi_fifo_config_0: Reg<SPI_FIFO_CONFIG_0_SPEC>

0x80 - spi_fifo_config_0.

spi_fifo_config_1: Reg<SPI_FIFO_CONFIG_1_SPEC>

0x84 - spi_fifo_config_1.

spi_fifo_wdata: Reg<SPI_FIFO_WDATA_SPEC>

0x88 - spi_fifo_wdata.

spi_fifo_rdata: Reg<SPI_FIFO_RDATA_SPEC>

0x8c - spi_fifo_rdata.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

impl Unpin for RegisterBlock

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.