-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
RP2 DMA Class #10704
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
RP2 DMA Class #10704
Conversation
Signed-off-by: mark <mark.burton@pinpoint-software.com>
add abort. check busy. cleanup Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: mark <mark.burton@pinpoint-software.com>
Signed-off-by: Mark Burton <mark.burton@pinpoint-software.com>
Signed-off-by: Mark Burton <mark.burton@pinpoint-software.com>
Would be amazing to see this merged! |
Hi, Looks like I have a couple of merge conflicts to fix Regards |
I've
Might have you sorted there... markb139#1 |
Just to let you know there's issues with the documentation and the stubs |
I'll take a look. |
Thanks for the contribution, but I'll close this in favour of the implementation made in #7641 (which is now merged). |
No problem. |
Hi, Hope I haven't caused chaos trying to create this PR.
I've written a DMA class for the RP2040 microcontroller.
The class handles 3 scenarios at present
Transfers can happen at full bus speed or be paced by a DREQ channel.
This code includes a DMA timer class for pacing transfers at a fixed rate - see example code.
The methods can be given an optional handler for callback when a transfer completes when an IRQ is raised. Which IRQ is raised defaults to IRQ0, but can be passed in with the irq parameter.
Regards
Mark