7.6.4.11 Function dma_is_busy()
Check if the given DMA resource is busy.
bool dma_is_busy( struct dma_resource * resource)
| Data direction | Parameter name | Description |
|---|---|---|
|
[in] |
resource |
Pointer to the DMA resource |
Returns
Status which indicates whether the DMA resource is busy.
| Return value | Description |
|---|---|
|
true |
The DMA resource has an on-going transfer |
|
false |
The DMA resource is not busy |
