-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: ADC FIFO #326
WIP: ADC FIFO #326
Conversation
ADC FIFO is now returning correct results for my test program (which reads 4 analog channels). |
Changed API so you don't have to calculate the clock divisor yourself, so instead of
you have
Also, the calculated divisor also factors in the number of channels - the previous example would have required
to capture 2 channels at the same rate, now we can use
|
8258051
to
d8b4d7c
Compare
I would benefit from this too. |
Sure! This is functional now, but I'm not happy with the API and I'm not sure when I'll get back to it - so if you want to take over this PR please do. |
@9names this is a great start! I took some inspiration from it and tried to come up with a better API, see #626. To paraphrase your example:
would become:
The In addition to the |
Trying to flesh out what ADC FIFO/free running IRQ functionality will look like.
Working towards #322