Struct esp32::spi0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 68 fields
pub cmd: CMD,
pub addr: ADDR,
pub ctrl: CTRL,
pub ctrl1: CTRL1,
pub rd_status: RD_STATUS,
pub ctrl2: CTRL2,
pub clock: CLOCK,
pub user: USER,
pub user1: USER1,
pub user2: USER2,
pub mosi_dlen: MOSI_DLEN,
pub miso_dlen: MISO_DLEN,
pub slv_wr_status: SLV_WR_STATUS,
pub pin: PIN,
pub slave: SLAVE,
pub slave1: SLAVE1,
pub slave2: SLAVE2,
pub slave3: SLAVE3,
pub slv_wrbuf_dlen: SLV_WRBUF_DLEN,
pub slv_rdbuf_dlen: SLV_RDBUF_DLEN,
pub cache_fctrl: CACHE_FCTRL,
pub cache_sctrl: CACHE_SCTRL,
pub sram_cmd: SRAM_CMD,
pub sram_drd_cmd: SRAM_DRD_CMD,
pub sram_dwr_cmd: SRAM_DWR_CMD,
pub slv_rd_bit: SLV_RD_BIT,
pub w0: W0,
pub w1: W1,
pub w2: W2,
pub w3: W3,
pub w4: W4,
pub w5: W5,
pub w6: W6,
pub w7: W7,
pub w8: W8,
pub w9: W9,
pub w10: W10,
pub w11: W11,
pub w12: W12,
pub w13: W13,
pub w14: W14,
pub w15: W15,
pub tx_crc: TX_CRC,
pub ext0: EXT0,
pub ext1: EXT1,
pub ext2: EXT2,
pub ext3: EXT3,
pub dma_conf: DMA_CONF,
pub dma_out_link: DMA_OUT_LINK,
pub dma_in_link: DMA_IN_LINK,
pub dma_status: DMA_STATUS,
pub dma_int_ena: DMA_INT_ENA,
pub dma_int_raw: DMA_INT_RAW,
pub dma_int_st: DMA_INT_ST,
pub dma_int_clr: DMA_INT_CLR,
pub in_err_eof_des_addr: IN_ERR_EOF_DES_ADDR,
pub in_suc_eof_des_addr: IN_SUC_EOF_DES_ADDR,
pub inlink_dscr: INLINK_DSCR,
pub inlink_dscr_bf0: INLINK_DSCR_BF0,
pub inlink_dscr_bf1: INLINK_DSCR_BF1,
pub out_eof_bfr_des_addr: OUT_EOF_BFR_DES_ADDR,
pub out_eof_des_addr: OUT_EOF_DES_ADDR,
pub outlink_dscr: OUTLINK_DSCR,
pub outlink_dscr_bf0: OUTLINK_DSCR_BF0,
pub outlink_dscr_bf1: OUTLINK_DSCR_BF1,
pub dma_rstatus: DMA_RSTATUS,
pub dma_tstatus: DMA_TSTATUS,
pub date: DATE,
/* private fields */
}Expand description
Register block
Fields§
§cmd: CMD0x00 -
addr: ADDR0x04 -
ctrl: CTRL0x08 -
ctrl1: CTRL10x0c -
rd_status: RD_STATUS0x10 -
ctrl2: CTRL20x14 -
clock: CLOCK0x18 -
user: USER0x1c -
user1: USER10x20 -
user2: USER20x24 -
mosi_dlen: MOSI_DLEN0x28 -
miso_dlen: MISO_DLEN0x2c -
slv_wr_status: SLV_WR_STATUS0x30 -
pin: PIN0x34 -
slave: SLAVE0x38 -
slave1: SLAVE10x3c -
slave2: SLAVE20x40 -
slave3: SLAVE30x44 -
slv_wrbuf_dlen: SLV_WRBUF_DLEN0x48 -
slv_rdbuf_dlen: SLV_RDBUF_DLEN0x4c -
cache_fctrl: CACHE_FCTRL0x50 -
cache_sctrl: CACHE_SCTRL0x54 -
sram_cmd: SRAM_CMD0x58 -
sram_drd_cmd: SRAM_DRD_CMD0x5c -
sram_dwr_cmd: SRAM_DWR_CMD0x60 -
slv_rd_bit: SLV_RD_BIT0x64 -
w0: W00x80 -
w1: W10x84 -
w2: W20x88 -
w3: W30x8c -
w4: W40x90 -
w5: W50x94 -
w6: W60x98 -
w7: W70x9c -
w8: W80xa0 -
w9: W90xa4 -
w10: W100xa8 -
w11: W110xac -
w12: W120xb0 -
w13: W130xb4 -
w14: W140xb8 -
w15: W150xbc -
tx_crc: TX_CRC0xc0 -
ext0: EXT00xf0 -
ext1: EXT10xf4 -
ext2: EXT20xf8 -
ext3: EXT30xfc -
dma_conf: DMA_CONF0x100 -
dma_out_link: DMA_OUT_LINK0x104 -
dma_in_link: DMA_IN_LINK0x108 -
dma_status: DMA_STATUS0x10c -
dma_int_ena: DMA_INT_ENA0x110 -
dma_int_raw: DMA_INT_RAW0x114 -
dma_int_st: DMA_INT_ST0x118 -
dma_int_clr: DMA_INT_CLR0x11c -
in_err_eof_des_addr: IN_ERR_EOF_DES_ADDR0x120 -
in_suc_eof_des_addr: IN_SUC_EOF_DES_ADDR0x124 -
inlink_dscr: INLINK_DSCR0x128 -
inlink_dscr_bf0: INLINK_DSCR_BF00x12c -
inlink_dscr_bf1: INLINK_DSCR_BF10x130 -
out_eof_bfr_des_addr: OUT_EOF_BFR_DES_ADDR0x134 -
out_eof_des_addr: OUT_EOF_DES_ADDR0x138 -
outlink_dscr: OUTLINK_DSCR0x13c -
outlink_dscr_bf0: OUTLINK_DSCR_BF00x140 -
outlink_dscr_bf1: OUTLINK_DSCR_BF10x144 -
dma_rstatus: DMA_RSTATUS0x148 -
dma_tstatus: DMA_TSTATUS0x14c -
date: DATE0x3fc -
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more