Hello, I am trying to develop an application using the ADC of the nrf52832. For this, I have included the "nrfx_adc.h" library into my main code. When I try compiling the project though, I get loads of errors saying that basically every variable in the "nrf_adc.h" library (which is referenced in "nrfx_adc.h") is undefined. For reference, I tried looking up the "nrf_saadc.h" library and wanted to know where those definitions are, and apparently they are in a library called "nrf52_bitfields.h". But there's none for the variables in "nrf_adc.h"!
Are they in a different file and I am just not finding them? Can I simply use the "nrfx_saadc.h" library? I've checked the main file of the ADC sample application and there seems to be some extra methods so I don't know how much of those methods I would actually need to copy into my program?
Help would be much appreciated, thanks in advance.