Repository navigation
RP2 DMA Class - #10704
RP2 DMA Class#10704markb139 wants to merge 11 commits into
Conversation
Signed-off-by: mark <[email protected]>
add abort. check busy. cleanup Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: mark <[email protected]>
Signed-off-by: Mark Burton <[email protected]>
Signed-off-by: Mark Burton <[email protected]>
|
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