fixed build warning
[keystone-rtos/edma3_lld.git] / examples / edma3_driver / src / sample.h
old mode 100644 (file)
new mode 100755 (executable)
index 63e708a..2816594
@@ -241,6 +241,29 @@ extern "C" {
     */
     EDMA3_DRV_Result edma3_test_ping_pong_mode(EDMA3_DRV_Handle hEdma);
 
     */
     EDMA3_DRV_Result edma3_test_ping_pong_mode(EDMA3_DRV_Handle hEdma);
 
+    /**
+    *  \brief   EDMA3 mem-to-mem data copy test case with user requested paRAMId
+    *           using a DMA channel.
+    *           This test case doesnot rely on the callback mechanism.
+    *           Instead, it Polls the IPR register to check the transfer
+    *           completion status.
+    *
+    *  \param  edma3Instance [IN]    EDMA3 Instance number
+    *  \param  acnt        [IN]      Number of bytes in an array
+    *  \param  bcnt        [IN]      Number of arrays in a frame
+    *  \param  ccnt        [IN]      Number of frames in a block
+    *  \param  syncType    [IN]      Synchronization type (A/AB Sync)
+    *
+    *  \return  EDMA3_DRV_SOK or EDMA3_DRV Error Code
+    */
+    EDMA3_DRV_Result edma3_test_user_req_paRAMId(
+                                        EDMA3_DRV_Handle hEdma,
+                                        uint32_t edmaInstance,
+                                        uint32_t acnt,
+                                        uint32_t bcnt,
+                                        uint32_t ccnt,
+                                        EDMA3_DRV_SyncType syncType);
+
 #ifdef __cplusplus
 }
 #endif /* extern "C" */
 #ifdef __cplusplus
 }
 #endif /* extern "C" */