linguini1 commented on PR #19013:
URL: https://github.com/apache/nuttx/pull/19013#issuecomment-4596430850

   Ah, I see. So right now the flow is:
   
   - Start trigger with ANIOC_TRIGGER
   - Read some number of channels
   - Start another trigger with ANIOC_TRIGGER
   - If you didn't read all of the channels, your next read picks up where you 
left off before
   
   And this change makes it:
   - Start trigger with ANIOC_TRIGGER
   - Read some number of channels
   - Start another trigger with ANIOC_TRIGGER
   - Read some number of channels, starting from 0
   
   Is that right?
   
   If so, I still don't fully understand why it's more desirable for a 
re-trigger to start from 0 again? It seems fine but hopefully this isn't 
different behaviour from other NuttX ADC drivers or that will get confusing. 
The ADC driver is kind of poorly designed to begin with.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to