#include <DMA.h>
Fonctions membres publiques | |
DMAClass () | |
virtual | ~DMAClass () |
void | begin () |
void | end () |
int | allocateChannel () |
void | freeChannel (int channel) |
void | setPriorityLevel (int channel, int level) |
void | setTriggerSource (int channel, int source) |
void | setTransferWidth (int channel, int transferWidth) |
void | incSrc (int channel) |
void | incDst (int channel) |
int | transfer (int channel, void *src, void *dst, uint16_t size) |
void | onTransferComplete (int channel, void(*function)(int)) |
void | onTransferError (int channel, void(*function)(int)) |
void | onService () |
DMAClass::DMAClass | ( | ) |
|
virtual |
int DMAClass::allocateChannel | ( | ) |
void DMAClass::begin | ( | ) |
void DMAClass::end | ( | ) |
void DMAClass::freeChannel | ( | int | channel | ) |
void DMAClass::incDst | ( | int | channel | ) |
void DMAClass::incSrc | ( | int | channel | ) |
void DMAClass::onService | ( | ) |
void DMAClass::onTransferComplete | ( | int | channel, |
void(*)(int) | function | ||
) |
void DMAClass::onTransferError | ( | int | channel, |
void(*)(int) | function | ||
) |
void DMAClass::setPriorityLevel | ( | int | channel, |
int | level | ||
) |
void DMAClass::setTransferWidth | ( | int | channel, |
int | transferWidth | ||
) |
void DMAClass::setTriggerSource | ( | int | channel, |
int | source | ||
) |
int DMAClass::transfer | ( | int | channel, |
void * | src, | ||
void * | dst, | ||
uint16_t | size | ||
) |