Function bl602_sdk::adc::freq_init [−][src]
pub fn freq_init(mode: c_int, freq: u32) -> BlResult<()>
Expand description
Init the ADC Channel Frequency. See bl_adc_freq_init
in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c