Hello,
I am using the nrf52840 controller for the development ,i want to read the value from 2 channel of ADC . I just gone through the SDK example code of
SAADC, here i don't understand , how to 2 channel sampling event triggered in callback.
As per my understanding when one channel preprocessed then the control comes into callback function and check the event status and increment event counter.
and SAMPLES_IN_BUFFER macro is nothing but one channel samples in Pbuffer array right? likewise for second channel 2 times callback function called and so on.
that time event counter will be 2 and will have different values into pbuffer array right?
please let me correct here if am making wrong interpretation.
Thank You
Nilesh