Module bl602_sdk::adc [−][src]
Expand description
ADC HAL for BL602. See https://lupyuen.github.io/articles/book#adc-on-bl602
Structs
Constants
Functions
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
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
Get the ADC Channel Number for the GPIO Pin. See bl_adc_get_channel_by_gpio
in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c
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
Init an ADC Channel. See bl_adc_init
in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c
Parse the ADC Samples that have been read.
Start reading the ADC Channel via DMA. See bl_adc_start
in “init_adc” https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_adc2/sdk_app_adc2/demo.c