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
impl W
sourcepub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W<'_, DMA_CONF_SPEC>
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
sourcepub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W<'_, DMA_CONF_SPEC>
pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W<'_, DMA_CONF_SPEC>
Bit 30 - reset_apb_adc_state
sourcepub fn adc_trans(&mut self) -> ADC_TRANS_W<'_, DMA_CONF_SPEC>
pub fn adc_trans(&mut self) -> ADC_TRANS_W<'_, DMA_CONF_SPEC>
Bit 31 - enable apb_adc use spi_dma