@CHIP-RTOS C Library V2.06 - Hardware API
hal_get_dma_info
Get DMA info. int hal_get_dma_info ( unsigned char channel,
Dma_Info * dmaInfo ); Parameters
dmaInfo
- Output Parameter: Pointer to
Dma_Info data structure
which will be set by this API with DMA state information.
SC1x Parameters
- channel
- DMA channel:
SC1x3 Parameters
- channel
- DMA channel:
0 = DRQ0
1 = DRQ1
2 = DRQ2
3 = DRQ3
Return Value
- Existing DMA control
register bit field.
Comments
- The DMA is momentarily disabled during reading of status, and then
restored to the enable state it was at.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|