Type Alias esp32c3::apb_saradc::dma_conf::W

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

Register DMA_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W<'_, DMA_CONF_SPEC>

Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num

source

pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W<'_, DMA_CONF_SPEC>

Bit 30 - reset_apb_adc_state

source

pub fn adc_trans(&mut self) -> ADC_TRANS_W<'_, DMA_CONF_SPEC>

Bit 31 - enable apb_adc use spi_dma