This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[Bug] SDK 12.0 nrf_saadc_config_t defined but not used

The struct type nrf_saadc_config_t is defined in ../hal/nrf_saadc.h but is not referenced anywhere else in SDK v12. Thus it is either cruft, or more likely, the function nrf_saadc_init(nrf_saadc_config_t foo, ...) is missing from the SDK?

The function nrf_drv_saadc_init() is defined in ../drivers_nrf/saadc/nrf_drv_saadc.h. I am guessing that the function nrf_saadc_init() is missing from the HAL? I could be wrong, maybe I don't understand the purpose of HAL.

I found this while trying to adapt the Github example github.com/.../nRF52-ADC-examples (which was written for SDK 11 and won't compile for SDK12)

Related