@CHIP-RTOS C Library V2.06 - Hardware API
hal_start_dma
Start DMA mode. int hal_start_dma ( unsigned char channel,
const Dma_Info * dmaInfo ); Parameters
dmaInfo
- Pointer to
Dma_Info data structure
containing DMA setup information.
SC1x Parameters
- channel
- DMA channel:
SC1x3 Parameters
- channel
- DMA channel:
0 = DRQ0
1 = DRQ1
2 = DRQ2
3 = DRQ3
Return Value
- 0: Success
-1: Invalid DMA channel
-2: DMA channel used for serial interface
Comments
- This function configures the specified DMA channel based on the
contents of the provided dmaInfo
structure. Then the
DMA channel is activated.
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.02 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|