Struct esp32::spi0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn cmd(&self) -> &CMD

0x00 -

source

pub const fn addr(&self) -> &ADDR

0x04 -

source

pub const fn ctrl(&self) -> &CTRL

0x08 -

source

pub const fn ctrl1(&self) -> &CTRL1

0x0c -

source

pub const fn rd_status(&self) -> &RD_STATUS

0x10 -

source

pub const fn ctrl2(&self) -> &CTRL2

0x14 -

source

pub const fn clock(&self) -> &CLOCK

0x18 -

source

pub const fn user(&self) -> &USER

0x1c -

source

pub const fn user1(&self) -> &USER1

0x20 -

source

pub const fn user2(&self) -> &USER2

0x24 -

source

pub const fn mosi_dlen(&self) -> &MOSI_DLEN

0x28 -

source

pub const fn miso_dlen(&self) -> &MISO_DLEN

0x2c -

source

pub const fn slv_wr_status(&self) -> &SLV_WR_STATUS

0x30 -

source

pub const fn pin(&self) -> &PIN

0x34 -

source

pub const fn slave(&self) -> &SLAVE

0x38 -

source

pub const fn slave1(&self) -> &SLAVE1

0x3c -

source

pub const fn slave2(&self) -> &SLAVE2

0x40 -

source

pub const fn slave3(&self) -> &SLAVE3

0x44 -

source

pub const fn slv_wrbuf_dlen(&self) -> &SLV_WRBUF_DLEN

0x48 -

source

pub const fn slv_rdbuf_dlen(&self) -> &SLV_RDBUF_DLEN

0x4c -

source

pub const fn cache_fctrl(&self) -> &CACHE_FCTRL

0x50 -

source

pub const fn cache_sctrl(&self) -> &CACHE_SCTRL

0x54 -

source

pub const fn sram_cmd(&self) -> &SRAM_CMD

0x58 -

source

pub const fn sram_drd_cmd(&self) -> &SRAM_DRD_CMD

0x5c -

source

pub const fn sram_dwr_cmd(&self) -> &SRAM_DWR_CMD

0x60 -

source

pub const fn slv_rd_bit(&self) -> &SLV_RD_BIT

0x64 -

source

pub const fn w0(&self) -> &W0

0x80 -

source

pub const fn w1(&self) -> &W1

0x84 -

source

pub const fn w2(&self) -> &W2

0x88 -

source

pub const fn w3(&self) -> &W3

0x8c -

source

pub const fn w4(&self) -> &W4

0x90 -

source

pub const fn w5(&self) -> &W5

0x94 -

source

pub const fn w6(&self) -> &W6

0x98 -

source

pub const fn w7(&self) -> &W7

0x9c -

source

pub const fn w8(&self) -> &W8

0xa0 -

source

pub const fn w9(&self) -> &W9

0xa4 -

source

pub const fn w10(&self) -> &W10

0xa8 -

source

pub const fn w11(&self) -> &W11

0xac -

source

pub const fn w12(&self) -> &W12

0xb0 -

source

pub const fn w13(&self) -> &W13

0xb4 -

source

pub const fn w14(&self) -> &W14

0xb8 -

source

pub const fn w15(&self) -> &W15

0xbc -

source

pub const fn tx_crc(&self) -> &TX_CRC

0xc0 -

source

pub const fn ext0(&self) -> &EXT0

0xf0 -

source

pub const fn ext1(&self) -> &EXT1

0xf4 -

source

pub const fn ext2(&self) -> &EXT2

0xf8 -

source

pub const fn ext3(&self) -> &EXT3

0xfc -

source

pub const fn dma_conf(&self) -> &DMA_CONF

0x100 -

0x104 -

0x108 -

source

pub const fn dma_status(&self) -> &DMA_STATUS

0x10c -

source

pub const fn dma_int_ena(&self) -> &DMA_INT_ENA

0x110 -

source

pub const fn dma_int_raw(&self) -> &DMA_INT_RAW

0x114 -

source

pub const fn dma_int_st(&self) -> &DMA_INT_ST

0x118 -

source

pub const fn dma_int_clr(&self) -> &DMA_INT_CLR

0x11c -

source

pub const fn in_err_eof_des_addr(&self) -> &IN_ERR_EOF_DES_ADDR

0x120 -

source

pub const fn in_suc_eof_des_addr(&self) -> &IN_SUC_EOF_DES_ADDR

0x124 -

0x128 -

0x12c -

0x130 -

source

pub const fn out_eof_bfr_des_addr(&self) -> &OUT_EOF_BFR_DES_ADDR

0x134 -

source

pub const fn out_eof_des_addr(&self) -> &OUT_EOF_DES_ADDR

0x138 -

0x13c -

0x140 -

0x144 -

source

pub const fn dma_rstatus(&self) -> &DMA_RSTATUS

0x148 -

source

pub const fn dma_tstatus(&self) -> &DMA_TSTATUS

0x14c -

source

pub const fn date(&self) -> &DATE

0x3fc -

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.