Function bl602_sdk::dma::find_ctx_by_channel [−][src]
pub fn find_ctx_by_channel(channel: c_int) -> BlResult<*mut c_void>
Expand description
Get the DMA Context for an ADC Channel. See bl_dma_find_ctx_by_channel
in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c