Function bl602_sdk::adc::dma_init[][src]

pub fn dma_init(mode: c_int, data_num: u32) -> BlResult<()>
Expand description

Init DMA for the ADC Channel. See bl_adc_dma_init in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c