Function bl602_sdk::adc::gpio_init[][src]

pub fn gpio_init(gpio_num: c_int) -> BlResult<()>
Expand description

Configure the GPIO Pin as ADC Input (no pullup, no pulldown). See bl_adc_gpio_init in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c