Type Alias esp32s2::i2s0::lc_conf::R

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

Register LC_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn in_rst(&self) -> IN_RST_R

Bit 0 - Set this bit to reset in-DMA FSM. Set this bit before the DMA configuration.

source

pub fn out_rst(&self) -> OUT_RST_R

Bit 1 - Set this bit to reset out-DMA FSM. Set this bit before the DMA configuration.

source

pub fn ahbm_fifo_rst(&self) -> AHBM_FIFO_RST_R

Bit 2 - Set this bit to reset AHB interface cmdFIFO of DMA. Set this bit before the DMA configuration.

source

pub fn ahbm_rst(&self) -> AHBM_RST_R

Bit 3 - Set this bit to reset AHB interface of DMA. Set this bit before the DMA configuration.

source

pub fn out_loop_test(&self) -> OUT_LOOP_TEST_R

Bit 4 - Set this bit to loop test inlink.

source

pub fn in_loop_test(&self) -> IN_LOOP_TEST_R

Bit 5 - Set this bit to loop test outlink.

source

pub fn out_auto_wrback(&self) -> OUT_AUTO_WRBACK_R

Bit 6 - Set this bit to enable outlink-written-back automatically when out buffer is transmitted done.

source

pub fn out_no_restart_clr(&self) -> OUT_NO_RESTART_CLR_R

Bit 7 - Reserved.

source

pub fn out_eof_mode(&self) -> OUT_EOF_MODE_R

Bit 8 - DMA out EOF flag generation mode. 1: When DMA has popped all data from the FIFO. 0: When AHB has pushed all data to the FIFO.

source

pub fn outdscr_burst_en(&self) -> OUTDSCR_BURST_EN_R

Bit 9 - DMA outlink descriptor transfer mode configuration bit. 1: Prepare outlink descriptor with burst mode. 0: Prepare outlink descriptor with byte mode.

source

pub fn indscr_burst_en(&self) -> INDSCR_BURST_EN_R

Bit 10 - DMA inlink descriptor transfer mode configuration bit. 1: Prepare inlink descriptor with burst mode. 0: Prepare inlink descriptor with byte mode.

source

pub fn out_data_burst_en(&self) -> OUT_DATA_BURST_EN_R

Bit 11 - Transmitter data transfer mode configuration bit. 1: Prepare out data with burst mode. 0: Prepare out data with byte mode.

source

pub fn check_owner(&self) -> CHECK_OWNER_R

Bit 12 - Set this bit to enable check owner bit by hardware.

source

pub fn mem_trans_en(&self) -> MEM_TRANS_EN_R

Bit 13 - Reserved.

source

pub fn ext_mem_bk_size(&self) -> EXT_MEM_BK_SIZE_R

Bits 14:15 - DMA access external memory block size. 0: 16 bytes. 1: 32 bytes. 2: 64 bytes. 3: reserved.