Type Alias esp32c3::apb_saradc::dma_conf::R

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

Register DMA_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn adc_eof_num(&self) -> ADC_EOF_NUM_R

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

source

pub fn adc_reset_fsm(&self) -> ADC_RESET_FSM_R

Bit 30 - reset_apb_adc_state

source

pub fn adc_trans(&self) -> ADC_TRANS_R

Bit 31 - enable apb_adc use spi_dma