mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Add support for SPI DMA
This commit is contained in:
parent
aeda0905c5
commit
c593629fca
6 changed files with 151 additions and 41 deletions
|
@ -64,7 +64,7 @@ void dmaMuxEnable(dmaIdentifier_e identifier, uint32_t dmaMuxId);
|
|||
|
||||
dmaIdentifier_e dmaAllocate(dmaIdentifier_e identifier, resourceOwner_e owner, uint8_t resourceIndex);
|
||||
void dmaEnable(dmaIdentifier_e identifier);
|
||||
void dmaSetHandler(dmaIdentifier_e identifier, dmaCallbackHandlerFuncPtr callback, uint32_t priority, uint32_t userParam);
|
||||
void dmaSetHandler(dmaIdentifier_e identifier, dmaCallbackHandlerFuncPtr callback, uint32_t priority);
|
||||
|
||||
dmaIdentifier_e dmaGetIdentifier(const dmaResource_t* channel);
|
||||
const resourceOwner_t *dmaGetOwner(dmaIdentifier_e identifier);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue