]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/commitdiff
Merge pull request #20 in PROCESSOR-SDK/edma3_lld from misrac_fix_PRSDK-3354 to master
authorMahesh Radhakrishnan <a0875154@ti.com>
Thu, 8 Feb 2018 18:56:58 +0000 (12:56 -0600)
committerMahesh Radhakrishnan <a0875154@ti.com>
Thu, 8 Feb 2018 18:56:58 +0000 (12:56 -0600)
* commit '81e2f425f6bf02b1bf477955a818b76f8a303969':
  misrac fix 2 for 4.2.0 (PRSDK-3354)
  misrac fix for 4.2.0 (PRSDK-3354)

76 files changed:
docs/EDMA3_Driver_Release_Notes.doc
docs/EDMA3_Driver_Release_Notes.pdf [new file with mode: 0644]
docs/EDMA3_RM_Release_Notes.doc
docs/EDMA3_RM_Release_Notes.pdf [new file with mode: 0644]
eclipse/.gitattributes [new file with mode: 0644]
eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MANIFEST.MF [new file with mode: 0644]
eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA [new file with mode: 0644]
eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF [new file with mode: 0644]
eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MANIFEST.MF
eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA [new file with mode: 0644]
eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF [new file with mode: 0644]
examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg [deleted file]
examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg
makerules/rules_64p.mk
makerules/rules_64t.mk
makerules/rules_66.mk
makerules/rules_674.mk
makerules/rules_GCC_a8.mk
makerules/rules_GCC_arm9.mk
makerules/rules_TI_a8.mk
makerules/rules_a15.mk
makerules/rules_arm9.mk
makerules/rules_arp32.mk
makerules/rules_m3.mk
makerules/rules_m4.mk
packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.doc
packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.pdf [new file with mode: 0644]
packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.doc
packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.pdf [new file with mode: 0644]
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6472_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6657_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6670_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6678_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c66ak2e_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6748_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_c6a811x_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_da830_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_omapl137_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_omapl138_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6486_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6608_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6614_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6616_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6630k2l_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6636k2h_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci6638k2k_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tci66ak2g02_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tda2xx_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tda3xx_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti814x_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_ti816x_int_reg.c
packages/ti/sdo/edma3/drv/sample/src/sample_cs.c
packages/ti/sdo/edma3/rm/docs/EDMA3_RM_Datasheet.pdf [new file with mode: 0644]
packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.doc
packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.pdf [new file with mode: 0644]
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6472_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6657_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6670_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6678_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c66ak2e_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6748_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_c6a811x_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_da830_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_omapl137_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_omapl138_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6486_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6608_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6614_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6616_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6630k2l_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6636k2h_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci6638k2k_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_tci66ak2g02_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_ti814x_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/platforms/sample_ti816x_int_reg.c
packages/ti/sdo/edma3/rm/sample/src/sample_cs.c

index c766d0567e5ac36440eea4c6159e7c6d92cd07ca..00c43d091ff5c28daacd6f52e24b64333d7a1caa 100755 (executable)
Binary files a/docs/EDMA3_Driver_Release_Notes.doc and b/docs/EDMA3_Driver_Release_Notes.doc differ
diff --git a/docs/EDMA3_Driver_Release_Notes.pdf b/docs/EDMA3_Driver_Release_Notes.pdf
new file mode 100644 (file)
index 0000000..de530d8
Binary files /dev/null and b/docs/EDMA3_Driver_Release_Notes.pdf differ
index 3446bfb380c2b6c212be570d81672701e4ee14a1..35bafb562ba838532ccbe8725cdec98ab891e7e7 100755 (executable)
Binary files a/docs/EDMA3_RM_Release_Notes.doc and b/docs/EDMA3_RM_Release_Notes.doc differ
diff --git a/docs/EDMA3_RM_Release_Notes.pdf b/docs/EDMA3_RM_Release_Notes.pdf
new file mode 100644 (file)
index 0000000..a9f61f8
Binary files /dev/null and b/docs/EDMA3_RM_Release_Notes.pdf differ
diff --git a/eclipse/.gitattributes b/eclipse/.gitattributes
new file mode 100644 (file)
index 0000000..af8d7c3
--- /dev/null
@@ -0,0 +1,5 @@
+*.MF binary
+*.mf binary
+*.SF binary
+*.sf binary
+
diff --git a/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MANIFEST.MF b/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..17e3a4b
--- /dev/null
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0\r
+Created-By: 1.7.0_111 (Oracle Corporation)\r
+\r
+Name: feature.xml\r
+SHA-256-Digest: Ofyq+eHzGeiRgw1nIwT8AxtimvbiMaKdfOBN7t2L1oA=\r
+\r
diff --git a/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA b/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA
new file mode 100644 (file)
index 0000000..3a3f122
Binary files /dev/null and b/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA differ
diff --git a/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF b/eclipse/features/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF
new file mode 100644 (file)
index 0000000..9a8c97a
--- /dev/null
@@ -0,0 +1,9 @@
+Signature-Version: 1.0\r
+SHA-256-Digest-Manifest-Main-Attributes: iFGKLMG16fXFvlejN84rweLMN2gQq\r
+ m1igiCvEjwhVNA=\r
+SHA-256-Digest-Manifest: B3DKKqmhKbjsmPWWzgdtv77RiXddFAejCJkoxIZK02s=\r
+Created-By: 1.8.0_131 (Oracle Corporation)\r
+\r
+Name: feature.xml\r
+SHA-256-Digest: CKFhQ9GwDpvzpfdJygI3aL373eBpDxZZe44wo1g9ztw=\r
+\r
index b4ca1b06bb51d8c8166ba5929f9acf3af9f2476f..4bc02b92fdeade4734e5701683ceda1d678e23cd 100644 (file)
@@ -1,12 +1,21 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: EDMA3 LLD 02.12.05 Help
-Bundle-SymbolicName: com.ti.sdo.edma3.product_02.12.05;singleton:=true
-Bundle-Version: 02.12.05
-Bundle-Activator: org.eclipse.rtsc.xdctools.ui.CCSActivator
-Bundle-Vendor: Texas Instruments Inc.
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.help,
- org.eclipse.rtsc.xdctools.ui
-Eclipse-LazyStart: true
+Manifest-Version: 1.0\r
+Bundle-SymbolicName: com.ti.sdo.edma3.product_02.12.05;singleton:=true\r
+Bundle-Version: 02.12.05\r
+Bundle-Name: EDMA3 LLD 02.12.05 Help\r
+Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.he\r
+ lp,org.eclipse.rtsc.xdctools.ui\r
+Bundle-Activator: org.eclipse.rtsc.xdctools.ui.CCSActivator\r
+Bundle-ManifestVersion: 2\r
+Bundle-Vendor: Texas Instruments Inc.\r
+Created-By: 1.7.0_111 (Oracle Corporation)\r
+Eclipse-LazyStart: true\r
+\r
+Name: plugin.xml\r
+SHA-256-Digest: iNSyRqfeKbZ+WrLIVcwSC0PfQsA/rVTH/jIv3pv3NYQ=\r
+\r
+Name: toc_top.xml\r
+SHA-256-Digest: QNSF/YaFNw3RCn1h048MbhUHuCS+Sf5R+MrNBm+jqHc=\r
+\r
+Name: toc_cdoc.xml\r
+SHA-256-Digest: rpYBRtViGUKiHZMEKX7D6VDz8Pw3bcyZz2vhuy7voWQ=\r
+\r
diff --git a/eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA b/eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA
new file mode 100644 (file)
index 0000000..d82393d
Binary files /dev/null and b/eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.RSA differ
diff --git a/eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF b/eclipse/plugins/com.ti.sdo.edma3.product_02.12.05/META-INF/MYKEY.SF
new file mode 100644 (file)
index 0000000..a209ef0
--- /dev/null
@@ -0,0 +1,15 @@
+Signature-Version: 1.0\r
+SHA-256-Digest-Manifest-Main-Attributes: +q7zqEXjZjgfJVjeOKWJbgRqQvQ4Y\r
+ PBy0FqUk6CwZKc=\r
+SHA-256-Digest-Manifest: djDT9iXl1TH8CT2naqec0b8p4dcanWryEXzRDgiIJIc=\r
+Created-By: 1.8.0_131 (Oracle Corporation)\r
+\r
+Name: plugin.xml\r
+SHA-256-Digest: 01GfTcAdVZEmN7gp8H7cWhgLDIQjqjCP2nCag6J/AFs=\r
+\r
+Name: toc_top.xml\r
+SHA-256-Digest: iDh4rQS9cBZ1L2pb1aPM/XWzE1+5scn/hRhyeIzOXYg=\r
+\r
+Name: toc_cdoc.xml\r
+SHA-256-Digest: YaPu+nOaERvQZr5YQxEh28Mw+PpuI0qsspOV+9UKXAY=\r
+\r
diff --git a/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg b/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg
deleted file mode 100644 (file)
index 3e9bb75..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*use modules*/\r
-var Task = xdc.useModule ("ti.sysbios.knl.Task");\r
-var BIOS      = xdc.useModule ("ti.sysbios.BIOS");\r
-var Startup   = xdc.useModule ("xdc.runtime.Startup");\r
-var System    = xdc.useModule ("xdc.runtime.System");\r
-var Log       = xdc.useModule ("xdc.runtime.Log");\r
-var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');\r
-var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');\r
-var Cache = xdc.useModule('ti.sysbios.hal.Cache');\r
-var Mmu    = xdc.useModule('ti.sysbios.family.arm.arm9.Mmu');\r
-\r
-/* USE EDMA3 Sample App */\r
-xdc.loadPackage('ti.sdo.edma3.drv.sample');\r
-\r
-// Enable the MMU\r
-Mmu.enableMMU = true;\r
-\r
-var attrs = {\r
-        type: Mmu.FirstLevelDesc_SECTION,  // SECTION descriptor\r
-        bufferable: true,                  // bufferable\r
-        cacheable: false,                  // cacheable\r
-        imp: 1,                            // implementation defined\r
-        domain: 0,                         // domain between 0-15\r
-        accPerm: 3,                        // read/write permission\r
-    };\r
-\r
-for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) {\r
-         Mmu.setFirstLevelDescMeta(i, i, attrs);\r
-    }\r
index 995594efd4e3d646830aeacb2fb680dbfca84ee8..9f5165d499beb9301a05796673ed303fb9d571b1 100644 (file)
@@ -7,7 +7,20 @@ var Log       = xdc.useModule ("xdc.runtime.Log");
 var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
 var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
 var Cache = xdc.useModule('ti.sysbios.hal.Cache');
+var Mmu   = xdc.useModule('ti.sysbios.family.arm.arm9.Mmu');
 
+// Enable the MMU
+Mmu.enableMMU = true;
 
-/* USE EDMA3 Sample App */
-//xdc.loadPackage('ti.sdo.edma3.drv.sample');
+var attrs = {
+        type: Mmu.FirstLevelDesc_SECTION,  // SECTION descriptor
+        bufferable: true,                  // bufferable
+        cacheable: false,                  // cacheable
+        imp: 1,                            // implementation defined
+        domain: 0,                         // domain between 0-15
+        accPerm: 3,                        // read/write permission
+    };
+
+for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) {
+         Mmu.setFirstLevelDescMeta(i, i, attrs);
+    }
index 4b23fb4f88ebaccf7f7b41eaae73e61597828dae..4b27423de56766240d3d87cbf7ac76c6d9c66af2 100755 (executable)
@@ -212,6 +212,8 @@ xdc_configuro : $(XDC_CFG_FILE)
 ifeq ($(OS),Windows_NT)\r
        CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
+    ICACLS $(LNKCMD_FILE) /q /c /t /grant Everyone:F /T\r
+    ICACLS $(XDCLNKCMD_FILE) /q /c /t /grant Everyone:F /T\r
 else\r
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 endif\r
@@ -233,6 +235,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...\r
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
+ifeq ($(OS),Windows_NT)\r
+    ICACLS  $@ /q /c /t /grant Everyone:F\r
+    ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /t /grant Everyone:F\r
+endif\r
 endif\r
 \r
 # Include dependency make files that were generated by $(CC)\r
index 7ab02d6b60c58dbe9f4960ec5ea99d7426f231d3..8706f76f35310f20ff48aef6f600472b403076e8 100644 (file)
@@ -231,6 +231,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
+ifeq ($(OS),Windows_NT)
+    ICACLS  $@ /q /c /t /grant Everyone:F
+    ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /t /grant Everyone:F
+endif
 endif
 
 # Include dependency make files that were generated by $(CC)
index d178654abe0be06b8a32fe3419ce8a17c7ec471f..97d62de94102871e4fdf4786dd8b456cc990fade 100755 (executable)
@@ -222,6 +222,8 @@ xdc_configuro : $(XDC_CFG_FILE)
 ifeq ($(OS),Windows_NT)
        CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
+       ICACLS $(LNKCMD_FILE) /q /c /grant Everyone:F /T
+       ICACLS $(XDCLNKCMD_FILE) /q /c /grant Everyone:F /T
 else
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
 endif
@@ -243,6 +245,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
+ifeq ($(OS),Windows_NT)
+       ICACLS  $@ /q /c /grant Everyone:F /T
+       ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /grant Everyone:F /T
+endif
        $(CP) $(OBJDIR)/$(CFG_COBJ_XDC) $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC)
 endif
 
index cd0bbe06fac9ee1d98840b0f5caef05b3d9570d3..0f0805e076e5afafa86522ec789e36948f732113 100755 (executable)
@@ -208,11 +208,15 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
+       ICACLS $(LNKCMD_FILE) /q /c /grant Everyone:F /T\r
+       ICACLS $(XDCLNKCMD_FILE) /q /c /grant Everyone:F /T\r
 else\r
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 endif\r
+\r
+\r
        $(CP) $(XDCLNKCMD_FILE) $(LNKCMD_FILE)\r
 #      $(ECHO) @ $(EGREP_CMD) > maketemp_egrep_cmd.bat\r
 #      ./maketemp_egrep_cmd.bat | $(CYGWINPATH)/bin/tail -n+3 > $(LNKCMD_FILE)\r
@@ -231,6 +235,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...\r
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
+ifeq ($(OS),Windows_NT)\r
+       ICACLS  $@ /q /c /grant Everyone:F /T\r
+       ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /grant Everyone:F /T\r
+endif\r
        $(CP) $(OBJDIR)/$(CFG_COBJ_XDC) $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC)\r
 endif\r
 \r
index a38d436cc755e2ba4af97d237edde1cf9f63ab20..fc6eae597eefff3ec27de16dc6aa3c97bbbbcec9 100644 (file)
@@ -152,7 +152,7 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) \# Invoking configuro...\r
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
index 43de0b1878398fb6b2925e0c28b7eedf30a15415..bec4665f9e946e04e8a207d4cfcedc0aae826642 100644 (file)
@@ -147,7 +147,7 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) \# Invoking configuro...\r
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
index b1ffa7ff72f1606450c8e3d343dbb3801e608008..3b9b022f6216a2674d32c8ba109ab1d83012a915 100755 (executable)
@@ -196,7 +196,7 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
@@ -219,6 +219,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...\r
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
+ifeq ($(OS),Windows_NT)\r
+       ICACLS  $@ /q /c /grant Everyone:F /T\r
+       ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /grant Everyone:F /T\r
+endif\r
        $(CP) $(OBJDIR)/$(CFG_COBJ_XDC) $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC)\r
 endif\r
 \r
index 28f9c3cdfabdb4a57c5b4bc07100e7b91140b049..0de22bed254cc0692863c0d735cbcfba8890920c 100644 (file)
@@ -178,13 +178,13 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) \# Invoking configuro...\r
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /t /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 endif\r
-#      $(CP) $(XDCLNKCMD_FILE) $(LNKCMD_FILE)\r
+       $(CP) $(XDCLNKCMD_FILE) $(LNKCMD_FILE)\r
 #      $(ECHO) @ $(EGREP_CMD) > maketemp_egrep_cmd.bat\r
 #      ./maketemp_egrep_cmd.bat | $(CYGWINPATH)/bin/tail -n+3 > $(LNKCMD_FILE)\r
 #      $(EGREP_CMD) > $(LNKCMD_FILE)\r
index e82c339f6ed1e669dfa8497c2f01cf0e8e7faa74..0443804376e437e071b95b213c2d7a55cf9394ee 100755 (executable)
@@ -189,7 +189,7 @@ xdc_configuro : $(XDC_CFG_FILE) $(CONFIGURO_DIR)
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /t\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
@@ -213,6 +213,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...\r
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)\r
+ifeq ($(OS),Windows_NT)\r
+       ICACLS  $@ /q /c /grant Everyone:F /T\r
+       ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /grant Everyone:F /T\r
+endif\r
        $(CP) $(OBJDIR)/$(CFG_COBJ_XDC) $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC)\r
 endif\r
 \r
index e7ae29555277ab2318b5132208624dce8197c4cc..717e9b0bc90b8cb1897169ee65d888d97fa76873 100644 (file)
@@ -205,7 +205,7 @@ xdc_configuro : $(XDC_CFG_FILE) $(CONFIGURO_DIR)
        $(ECHO) \# Invoking configuro...
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
 ifeq ($(OS),Windows_NT)
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /t /grant Everyone:F /T
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
 else
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
@@ -229,6 +229,10 @@ $(OBJDIR)/$(CFG_COBJ_XDC) : $(CFG_C_XDC)
        $(ECHO) \# Compiling generated $< to $@ ...
        $(CC) -ppd=$(DEPFILE).P $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
        $(CC) $(_CFLAGS) $(INCLUDES) $(CFLAGS_DIROPTS) -fc $(CFG_C_XDC)
+ifeq ($(OS),Windows_NT)
+       ICACLS  $@ /q /c /grant Everyone:F /T
+       ICACLS $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC) /q /c /grant Everyone:F /T
+endif
        $(CP) $(OBJDIR)/$(CFG_COBJ_XDC) $(CONFIGURO_DIR)/package/cfg/$(CFG_COBJ_XDC)
 endif
 
index 862261fce58e0ccc04fde2afa60ea5c3061ec488..30c54b150948d4e557783974ca40156709def8f4 100755 (executable)
@@ -200,7 +200,7 @@ xdc_configuro : $(XDC_CFG_FILE)
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
 ifeq ($(OS),Windows_NT)
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
 else
        ./$(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat
index 2ff94287dc9e160b8e59344cae256f058b663f31..277247d48c694971bf5055d915604d69c436f367 100644 (file)
@@ -212,7 +212,7 @@ xdc_configuro : $(XDC_CFG_FILE) $(CONFIGURO_DIR)
        $(ECHO) \# Invoking configuro...\r
        $(ECHO) -e $(CONFIGURO_CMD) > $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 ifeq ($(OS),Windows_NT)\r
-       CACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /E /P Everyone:F\r
+       ICACLS $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat /q /c /grant Everyone:F /T\r
        $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
 else\r
        $(CHMOD) a+x $(DEST_ROOT)maketemp_configuro_cmd_$(CORE).bat\r
index f39271caae4e6a7695ae51eed2f22d27a8e632bf..f56a8093343321eb25b4d982e2cac69727a5c87a 100755 (executable)
Binary files a/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.doc and b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.doc differ
diff --git a/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.pdf b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.pdf
new file mode 100644 (file)
index 0000000..8d86018
Binary files /dev/null and b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_Datasheet.pdf differ
index 45f2429543e2031584946a25cd3f15f45eac2651..18d3d1e627e8009941dcd693a8d2cc91a950ae19 100755 (executable)
Binary files a/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.doc and b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.doc differ
diff --git a/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.pdf b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.pdf
new file mode 100644 (file)
index 0000000..861ae65
Binary files /dev/null and b/packages/ti/sdo/edma3/drv/docs/EDMA3_Driver_User_Guide.pdf differ
index d2fdbcffe2c0b6e660b93b3d0e8d146d57eb0703..de0de6426dea4047dd9bcab5615e564ccbf6c80f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -156,3 +156,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index a727019c7d7d85cc72f13c4d3461e7f7b1b6b81d..6140b6ae46eeba36eb121bfe83e877c307aa3a4d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2011-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,58 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
index 51c4a6c318ed39c1087a16060fbca9eac00e3003..93b5a1a19d509790f01f81ac8e73f0483b727ad0 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 71f8a43346f72e2d2eb8934af012ec373fb56cbe..2e5f35407bbf4b82d25329119777dcf674fbc38e 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -163,3 +163,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 1d8ae0434ebc7e0b007729522d08b39a448163ef..425423c7ff463c3b0d82ffd5db547a5c92d02c89 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
index cf7fdaabaa33d13f2fd3c573ad93412dd258cee0..b7f637122b518bd689b162050297770cee12aff0 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index f5874ce3f4ab749d59ca99fe59645c29dc29b2c1..6c500f81951f35345f57e17139516b8f4ef31a9b 100644 (file)
@@ -304,3 +304,51 @@ EDMA3_DRV_Result sampleInitXbarEvt(EDMA3_DRV_Handle hEdma,
     
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index 523acd5f968f7e8fd6cb7c61ba51207d87b24328..e903ebc3752b5fec855efdc8d1b0e06210179614 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index 4598042b7884be412dd417359f482b9cb0bec251..26bdaf0a0c8521cd331f3542786d8af853509189 100644 (file)
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index e82c9392bab3fce235a0c75c85e5ce24229e5ce0..2f2464c93a25de65c431dbfc1dc05f0b242cf37e 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index 54220649254249d89fd1c9353b678692bb943985..fadd391797f41a5ecfaba29f91fa6451738d750d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -156,3 +156,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index 0bb92e44b62541d2e9a180696201aae0f74fa7e6..bfed834b026f800c4af33a79c19230c798d06849 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -163,3 +163,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index a00cb918dc683cd422207b17b0eb88bfa6f32af8..098064d121a5009bd2911fd06c61c9fdec0d13cf 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2011-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 12913c35a324a295cd4840612a98339f52ec1728..91ec00468dd031942360582808348f04709e7f61 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 1d4aeacc8b9c61f5c1071cad9c7b839ae99cb912..6e7de4e6cd19df5370c640cc61021e8c9433d3d4 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -162,3 +162,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 4989c664ab3b1697a55afb61b5bf026080d60d1a..72eec4d4f9329c00dcdd8ea38a508ba46aa117cc 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 5caae3e20f9b0cf0d2bfba5ab04207c86b791f0a..a5394cf44e4bf336d3885aff38600c0beaa6f386 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 22cd800756a2ba76adf3923e303db30f37c1d967..3a900441bf8dcd93fdb1ceac930e4ab3ef89069f 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -159,3 +159,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 37c64a7a8a1dfd6f1e2cec333e327954964235c9..8b98629e7b073402cd1bd612e7c2c6802fe41153 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2018 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -307,3 +307,51 @@ EDMA3_DRV_Result sampleInitXbarEvt(EDMA3_DRV_Handle hEdma,
     
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index b0f27da0b56fc108ec2f48b02a04309f2cff8a6e..e92cc2571725ccc62461b9a14a13d3928b454265 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2018 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -307,3 +307,51 @@ EDMA3_DRV_Result sampleInitXbarEvt(EDMA3_DRV_Handle hEdma,
 
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index f32b0207b31e11d12d7828acd3f9e17028c42f57..8cbeca891d87089a96e3bab391a8c38352c72ff7 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -312,3 +312,52 @@ EDMA3_DRV_Result sampleInitXbarEvt(EDMA3_DRV_Handle hEdma,
     
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index f5891ca40570db3251067a669079a5404bf78e2a..1cb7b75174fdd072f1d91e3d257977035364de12 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index 2cfcc4ca851843ca1f4ee58d092e17b524545fed..2f4b1afc4e8612613d859216b51608a3e8ebfd58 100755 (executable)
@@ -6,7 +6,7 @@
  * These implementations MUST be provided by the user / application, using the
  * EDMA3 driver, for its correct functioning.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
 
 #include <ti/sdo/edma3/drv/sample/bios6_edma3_drv_sample.h>
 
-extern uint32_t ccXferCompInt[EDMA3_MAX_EDMA3_INSTANCES][EDMA3_MAX_REGIONS];
-extern uint32_t ccErrorInt[EDMA3_MAX_EDMA3_INSTANCES];
 extern uint32_t tcErrorInt[EDMA3_MAX_EDMA3_INSTANCES][EDMA3_MAX_TC];
+extern void enableXferCompInterrupt(uint32_t edma3Id);
+extern void disableXferCompInterrupt(uint32_t edma3Id);
+extern void enableErrorInterrupt(uint32_t edma3Id);
+extern void disableErrorInterrupt(uint32_t edma3Id);
 
 /**
  * Shadow Region on which the executable is running. Its value is
@@ -101,12 +103,12 @@ void edma3OsProtectEntry (uint32_t edma3InstanceId,
 
             /* Disable EDMA3 transfer completion interrupt only */
             case EDMA3_OS_PROTECT_INTERRUPT_XFER_COMPLETION :
-                EventCombiner_disableEvent(ccXferCompInt[edma3InstanceId][region_id]);
+                disableXferCompInterrupt(edma3InstanceId);
                 break;
 
             /* Disable EDMA3 CC error interrupt only */
             case EDMA3_OS_PROTECT_INTERRUPT_CC_ERROR :
-                EventCombiner_disableEvent(ccErrorInt[edma3InstanceId]);
+                disableErrorInterrupt(edma3InstanceId);
                 break;
 
             /* Disable EDMA3 TC error interrupt only */
@@ -174,12 +176,12 @@ void edma3OsProtectExit (uint32_t edma3InstanceId,
 
         /* Enable EDMA3 transfer completion interrupt only */
         case EDMA3_OS_PROTECT_INTERRUPT_XFER_COMPLETION :
-            EventCombiner_enableEvent(ccXferCompInt[edma3InstanceId][region_id]);
+            enableXferCompInterrupt(edma3InstanceId);
             break;
 
         /* Enable EDMA3 CC error interrupt only */
         case EDMA3_OS_PROTECT_INTERRUPT_CC_ERROR :
-            EventCombiner_enableEvent(ccErrorInt[edma3InstanceId]);
+            enableErrorInterrupt(edma3InstanceId);
             break;
 
         /* Enable EDMA3 TC error interrupt only */
diff --git a/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_Datasheet.pdf b/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_Datasheet.pdf
new file mode 100644 (file)
index 0000000..834a636
Binary files /dev/null and b/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_Datasheet.pdf differ
index f076ee7a6439f3c1e3ac51919d53bd569ae0755c..93fb67e1c582414e2732e4947ad7f71af908ea2c 100755 (executable)
Binary files a/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.doc and b/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.doc differ
diff --git a/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.pdf b/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.pdf
new file mode 100644 (file)
index 0000000..43e1dca
Binary files /dev/null and b/packages/ti/sdo/edma3/rm/docs/EDMA3_RM_User_Guide.pdf differ
index 9234487c54682bae45491b44befc45f358a21a76..d74b73ddb030e82a5856112dcea3945ce399bae4 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -156,3 +156,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index a727019c7d7d85cc72f13c4d3461e7f7b1b6b81d..6140b6ae46eeba36eb121bfe83e877c307aa3a4d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2011-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,58 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
index 51c4a6c318ed39c1087a16060fbca9eac00e3003..93b5a1a19d509790f01f81ac8e73f0483b727ad0 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 71f8a43346f72e2d2eb8934af012ec373fb56cbe..2e5f35407bbf4b82d25329119777dcf674fbc38e 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -163,3 +163,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 1d8ae0434ebc7e0b007729522d08b39a448163ef..425423c7ff463c3b0d82ffd5db547a5c92d02c89 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
index 86920d652c2b8442da3450444a1088383667cfa0..34cfeedc0b4ff7ba8c7799fe368687d9d13bcf2e 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index 7f7a5be0a21e398ebe216dd7dcde94b41f98f008..1539ac647aa478d37f770e5a75fa5437023881e8 100644 (file)
@@ -304,3 +304,51 @@ EDMA3_RM_Result sampleInitXbarEvt(EDMA3_RM_Handle hEdma,
     
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index c5b37e8a8627909bc8a7862396e7debfe421dec8..90a875ea788cc42891c35840021c1ccfc4e527f5 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index 320959d72e8e768b498f6a382ff73294fd0ccab9..29fd4b753d6bee7e8ca658e2570cfa720be3b48a 100644 (file)
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index 8e09a0270361c826605406ed4773380c4ef86f15..9d59ac3cf2c9c965752f1b2630078833764a8744 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -150,3 +150,50 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index f0174983f546e84480da6cf217351a4c66e5d731..e129d775f38b98bcb6d098c9dac955efdda7b76d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -156,3 +156,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index 0bb92e44b62541d2e9a180696201aae0f74fa7e6..bfed834b026f800c4af33a79c19230c798d06849 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -163,3 +163,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index a00cb918dc683cd422207b17b0eb88bfa6f32af8..098064d121a5009bd2911fd06c61c9fdec0d13cf 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2011-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 12913c35a324a295cd4840612a98339f52ec1728..91ec00468dd031942360582808348f04709e7f61 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -155,3 +155,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 7c14110db512019770bc82a66bb8e90bb292de5f..94ea2007ba67c5eedb3d875f8f7bf2e2e2ebe578 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -162,3 +162,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 4989c664ab3b1697a55afb61b5bf026080d60d1a..72eec4d4f9329c00dcdd8ea38a508ba46aa117cc 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 5caae3e20f9b0cf0d2bfba5ab04207c86b791f0a..a5394cf44e4bf336d3885aff38600c0beaa6f386 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -167,3 +167,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index 22cd800756a2ba76adf3923e303db30f37c1d967..3a900441bf8dcd93fdb1ceac930e4ab3ef89069f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -159,3 +159,59 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+       int32_t eventId = 0;    /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(ccXferHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_enableEvent(eventId);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    int32_t eventId = 0;       /* GEM event id */
+    eventId = CpIntc_getEventId(edma3ErrHostInt[edma3Id][dsp_num]);
+       EventCombiner_disableEvent(eventId);
+}
+
index fa7e120b0daef2527069507da4756642339ffa0b..7e9cb31b30d53a2bf4c9d25a0fe873b5c443b206 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -312,3 +312,51 @@ EDMA3_RM_Result sampleInitXbarEvt(EDMA3_RM_Handle hEdma,
     
     return retVal;
     }
+
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
index 2a63a93e24c0f90df25befe4da79c650ad1fe4de..1e50fa41a35370ff21ae84ce1992d3a96eb3cf94 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Platform specific interrupt registration and un-registration routines.
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -151,3 +151,51 @@ void unregisterEdma3Interrupts (unsigned int edma3Id)
     Hwi_restore(cookie);
     }
 
+/**
+ * \brief   enableXferCompInterrupt
+ *
+ * This function enables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   disableXferCompInterrupt
+ *
+ * This function disables the tranfer completion interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableXferCompInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccXferCompInt[edma3Id][dsp_num]);
+}
+
+/**
+ * \brief   enableErrorInterrupt
+ *
+ * This function enables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void enableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_enableEvent(ccErrorInt[edma3Id]);
+}
+
+/**
+ * \brief   disableErrorInterrupt
+ *
+ * This function disables the error interrupt of EDMA3.
+ *
+ * \return  nil
+ */
+void disableErrorInterrupt(uint32_t edma3Id)
+{
+    EventCombiner_disableEvent(ccErrorInt[edma3Id]);
+}
+
index dcf4db4f9c64964a086ab76ac7594e834c2fd62c..e7b5a47afd2b32320ada2e80f9f660e4e4d12eb7 100755 (executable)
@@ -6,7 +6,7 @@
  * implementations MUST be provided by the user / application, using the EDMA3\r
  * Resource Manager, for its correct functioning.\r
  *\r
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/\r
+ * Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/\r
  *\r
  *\r
  *  Redistribution and use in source and binary forms, with or without\r
 \r
 #include <ti/sdo/edma3/rm/sample/bios6_edma3_rm_sample.h>\r
 \r
-extern uint32_t ccXferCompInt[EDMA3_MAX_EDMA3_INSTANCES][EDMA3_MAX_REGIONS];\r
-extern uint32_t ccErrorInt[EDMA3_MAX_EDMA3_INSTANCES];\r
 extern uint32_t tcErrorInt[EDMA3_MAX_EDMA3_INSTANCES][EDMA3_MAX_TC];\r
+extern void enableXferCompInterrupt(uint32_t edma3Id);\r
+extern void disableXferCompInterrupt(uint32_t edma3Id);\r
+extern void enableErrorInterrupt(uint32_t edma3Id);\r
+extern void disableErrorInterrupt(uint32_t edma3Id);\r
 \r
 /**\r
  * Shadow Region on which the executable is running. Its value is\r
@@ -100,12 +102,12 @@ void edma3OsProtectEntry (uint32_t edma3InstanceId,
 \r
             /* Disable EDMA3 transfer completion interrupt only */\r
             case EDMA3_OS_PROTECT_INTERRUPT_XFER_COMPLETION :\r
-                EventCombiner_disableEvent(ccXferCompInt[edma3InstanceId][region_id]);\r
+                disableXferCompInterrupt(edma3InstanceId);\r
                 break;\r
 \r
             /* Disable EDMA3 CC error interrupt only */\r
             case EDMA3_OS_PROTECT_INTERRUPT_CC_ERROR :\r
-                EventCombiner_disableEvent(ccErrorInt[edma3InstanceId]);\r
+                disableErrorInterrupt(edma3InstanceId);\r
                 break;\r
 \r
             /* Disable EDMA3 TC error interrupt only */\r
@@ -173,12 +175,12 @@ void edma3OsProtectExit (uint32_t edma3InstanceId,
 \r
         /* Enable EDMA3 transfer completion interrupt only */\r
         case EDMA3_OS_PROTECT_INTERRUPT_XFER_COMPLETION :\r
-            EventCombiner_enableEvent(ccXferCompInt[edma3InstanceId][region_id]);\r
+            enableXferCompInterrupt(edma3InstanceId);\r
             break;\r
 \r
         /* Enable EDMA3 CC error interrupt only */\r
         case EDMA3_OS_PROTECT_INTERRUPT_CC_ERROR :\r
-            EventCombiner_enableEvent(ccErrorInt[edma3InstanceId]);\r
+            enableErrorInterrupt(edma3InstanceId);\r
             break;\r
 \r
         /* Enable EDMA3 TC error interrupt only */\r