Type Alias esp32::spi0::dma_conf::R

source ·
pub type R = R<DMA_CONF_SPEC>;
Expand description

Register DMA_CONF reader

Implementations§

source§

impl R

source

pub fn in_rst(&self) -> IN_RST_R

Bit 2 - The bit is used to reset in dma fsm and in data fifo pointer.

source

pub fn out_rst(&self) -> OUT_RST_R

Bit 3 - The bit is used to reset out dma fsm and out data fifo pointer.

source

pub fn ahbm_fifo_rst(&self) -> AHBM_FIFO_RST_R

Bit 4 - reset spi dma ahb master fifo pointer.

source

pub fn ahbm_rst(&self) -> AHBM_RST_R

Bit 5 - reset spi dma ahb master.

source

pub fn in_loop_test(&self) -> IN_LOOP_TEST_R

Bit 6 - Set bit to test in link.

source

pub fn out_loop_test(&self) -> OUT_LOOP_TEST_R

Bit 7 - Set bit to test out link.

source

pub fn out_auto_wrback(&self) -> OUT_AUTO_WRBACK_R

Bit 8 - when the link is empty jump to next automatically.

source

pub fn out_eof_mode(&self) -> OUT_EOF_MODE_R

Bit 9 - out eof flag generation mode . 1: when dma pop all data from fifo 0:when ahb push all data to fifo.

source

pub fn outdscr_burst_en(&self) -> OUTDSCR_BURST_EN_R

Bit 10 - read descriptor use burst mode when read data for memory.

source

pub fn indscr_burst_en(&self) -> INDSCR_BURST_EN_R

Bit 11 - read descriptor use burst mode when write data to memory.

source

pub fn out_data_burst_en(&self) -> OUT_DATA_BURST_EN_R

Bit 12 - spi dma read data from memory in burst mode.

source

pub fn dma_rx_stop(&self) -> DMA_RX_STOP_R

Bit 14 - spi dma read data stop when in continue tx/rx mode.

source

pub fn dma_tx_stop(&self) -> DMA_TX_STOP_R

Bit 15 - spi dma write data stop when in continue tx/rx mode.

source

pub fn dma_continue(&self) -> DMA_CONTINUE_R

Bit 16 - spi dma continue tx/rx data.