There have been a couple of questions asked that are similar to my question but in the interest of getting more clarity I am asking a new one as others have had accepted answers.
The relevant questions are here and here
Essentially, using the scan mode of SAADC on nRF52, is it possible to sample two inputs at different sampling frequencies? Assume that I want channel0 sampled at 500Hz and channel1 at 2Hz. What is the best way forward without adding to the current consumption?
In the accepted answer of this question, it is said that using PSELP to enable/disable channel and configuring RESULT.MAXCNT is one way. Is it possible to have a code snippet or pseudocode explaining this?