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

How does "nrfx_saadc_sample()" work?

Hi I am building a project, where I need to initialize the ADC using a timer. Whenever there is a timer interrupt "nrfx_saadc_sample" gets called and ADC starts sampling. I want to know whether it converts single value or it depends on the buffer size or number of samples? Suppose the timer generates an interrupt at every 100ms, and adc starts sampling. Does it sample only single value read from analog pin or it just stores up the buffer and converts them altogether?

Related