jpeg_motion.cdb
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1020k
- prop NoGen :: 0
- }
- inst chanParams :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop Label :: "channel parameters"
- prop JSName :: "chanParams"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- inst numTimeUse :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDevId :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iFxns :: = self.functionTablePtr {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iIsTerminal :: 1 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- }
- inst iIsVirtual :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- }
- }
- type CSL {
- isa ModuleFolder
- prop name :: "CSL"
- prop Label :: "CSL - Chip Support Library"
- prop NoGen :: 1
- prop cGen :: 1
- prop cHeaderName :: (if ((externDecl.HeaderName() == "csl.h") || (externDecl.HeaderFile != "NULL") || (dmaCfg.cHeaderName() == "csl_dma.h" && self.DMA_SUPPORT) || (hDma.cHeaderName() == "csl_dma.h" && self.DMA_SUPPORT) || (dmaGblCfg.cHeaderName() == "csl_dma.h" && self.DMA_SUPPORT) || (edmaCfg.cHeaderName() != "" && self.EDMA_SUPPORT) || (hEdma.cHeaderName() == "csl_edma.h" && self.EDMA_SUPPORT) || (hEdmaTbl.cHeaderName() == "csl_edma.h" && self.EDMA_SUPPORT) || (emifCfg.cHeaderName() == "csl_emif.h" && self.EMIF_SUPPORT) || (emifaCfg.cHeaderName() == "csl_emifa.h" && self.EMIFA_SUPPORT) || (emifbCfg.cHeaderName() == "csl_emifb.h" && self.EMIFB_SUPPORT) || (mcbspCfg.cHeaderName() == "csl_mcbsp.h" && self.MCBSP_SUPPORT) || (hMcbsp.cHeaderName() == "csl_mcbsp.h" && self.MCBSP_SUPPORT) || (tcpCfg.cHeaderName() == "csl_tcp.h" && self.TCP_SUPPORT) || (timerCfg.cHeaderName() == "csl_timer.h" && self.TIMER_SUPPORT) || (hTimer.cHeaderName() == "csl_timer.h" && self.TIMER_SUPPORT) || (vcpCfg.cHeaderName() == "csl_vcp.h" && self.VCP_SUPPORT) || (xbusCfg.cHeaderName() == "csl_xbus.h" && self.XBUS_SUPPORT)) {"csl.h"} else {""})
- prop GlobalIcon :: 156
- prop GlobalHelpTopic :: (1000)
- prop GlobalPropertyPage :: "{33A68984-598D-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{33A68985-598D-11d4-B5CC-0050DA2E2CC0}"
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global CHIP_6201 :: = (GBL.CHIPTYPE == "6201") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6201"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6202 :: = (GBL.CHIPTYPE == "6202") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6202"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6203 :: = (GBL.CHIPTYPE == "6203") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6203"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6204 :: = (GBL.CHIPTYPE == "6204") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6204"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6205 :: = (GBL.CHIPTYPE == "6205") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6205"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6211 :: = (GBL.CHIPTYPE == "6211") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6211"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6701 :: = (GBL.CHIPTYPE == "6701") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6701"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6711 :: = (GBL.CHIPTYPE == "6711") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6711"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6712 :: = (GBL.CHIPTYPE == "6712") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6712"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6713 :: = (GBL.CHIPTYPE == "6713") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6713"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_DA610 :: = (GBL.CHIPTYPE == "DA610") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " DA610"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_DM642 :: = (GBL.CHIPTYPE == "DM642") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " DM642"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6412 :: = (GBL.CHIPTYPE == "6412") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6412"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6414 :: = (GBL.CHIPTYPE == "6414") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6414"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6415 :: = (GBL.CHIPTYPE == "6415") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6400"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6416 :: = (GBL.CHIPTYPE == "6416") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6400"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_6400 :: = (GBL.CHIPTYPE == "6400") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " 6400"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global CHIP_NONE :: = (GBL.CHIPTYPE == "other") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " NONE"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global C11_SUPPORT :: = (self.CHIP_6211 || self.CHIP_6711 || self.CHIP_6712 || self.CHIP_6713 || self.CHIP_DA610) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "C11_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global C64_SUPPORT :: = (self.CHIP_6400 || self.CHIP_6414 || self.CHIP_6415 || self.CHIP_6416 || self.CHIP_DM642 || self.CHIP_6412) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "C64_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global TIMER_SUPPORT :: 1 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "TIMER_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global TIMER2_SUPPORT :: = (self.C64_SUPPORT) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "TIMER2_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global MCBSP_SUPPORT :: 1 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "MCBSP_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global MCBSP2_SUPPORT :: = (self.C64_SUPPORT || self.CHIP_6202 || self.CHIP_6203) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "MCBSP2_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global EMIF_SUPPORT :: = (!self.CHIP_6400 && !self.CHIP_NONE) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "EMIF_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global EMIFA_SUPPORT :: = (self.C64_SUPPORT) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "EMIFA_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global EMIFB_SUPPORT :: = (self.C64_SUPPORT) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "EMIFB_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global DMA_SUPPORT :: = (self.CHIP_6201 || self.CHIP_6202 || self.CHIP_6203 || self.CHIP_6204 || self.CHIP_6205 || self.CHIP_6701) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "DMA_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global EDMA_SUPPORT :: = (self.C11_SUPPORT || self.C64_SUPPORT) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "EDMA_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global XBUS_SUPPORT :: = (self.CHIP_6202 || self.CHIP_6203 || self.CHIP_6204) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "XBUS_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global TCP_SUPPORT :: = (self.CHIP_6416) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "TCP_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global VCP_SUPPORT :: = (self.CHIP_6416) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "VCP_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- global L2_SUPPORT :: = (self.C11_SUPPORT) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "L2_SUPPORT"
- prop Visible :: 0
- prop NoGen :: 1
- }
- }
- type externDecl {
- isa ObjectMgr
- prop name :: "externDecl"
- prop Label :: "CSL Extern Declaration"
- prop JSName :: "ExternDecl"
- prop IsContainedIn :: CSL
- prop GlobalPropertyPage :: "{33A68986-598D-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{33A68987-598D-11d4-B5CC-0050DA2E2CC0}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop HeaderName :: if self.gNumOf > 0 {"csl.h"} else {""}
- prop GlobalHelpTopic :: (1005)
- prop InstanceHelpTopic :: (1005)
- prop NoGen :: 1
- prop cGen :: 1
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; externDecl) {$a = $a + 1}, "ok")
- prop HeaderStr :: if (self.HeaderFile != "NULL") {self.HeaderFile} else {""}
- prop IncludeStr :: if (self.HeaderFile != "NULL") {"#include "} else {""}
- prop IncludeEndStr :: if (self.HeaderFile != "NULL") {"n"} else {""}
- prop cGenCPrologue :: ("%1S%2S%3Sn ,IncludeStr,HeaderStr,IncludeEndStr")
- prop SymType :: if (self.BuffName != "NULL" && self.BuffType != "NULL") {self.BuffType} else {""}
- prop SymName :: if (self.BuffName != "NULL" && self.BuffType != "NULL") {self.BuffName} else {""}
- prop SymSpec :: if (self.BuffName != "NULL" && self.BuffType != "NULL" && self.BuffSpec == "Array") {"[]"} else {""}
- prop ExternStr :: if (self.BuffName != "NULL" && self.BuffType != "NULL") {"extern far "} else {""}
- prop EndStr :: if (self.BuffName != "NULL" && self.BuffType != "NULL") {";n"} else {""}
- prop cGenCInst :: ("%1S%2S %3S%4S%5Sn ,ExternStr,SymType,SymName,SymSpec,EndStr")
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global HeaderFile :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enter header filename between quotes "
- prop JSName :: "HEADER_FILENAME"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: (if ($1 == "") {self.HeaderFile = "NULL", "ok"} else {self.HeaderFile = $1, "ok"})
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst BuffType :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "CSL Symbol Type (ex: Uint32)"
- prop JSName :: "bufType"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: (self.BuffType = $1, "ok")
- }
- inst BuffName :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Symbol Name (ex: BuffA)"
- prop JSName :: "bufName"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 == $b.BuffName) {$a += 1} }, if ($a > 0) {self.error(" Symbol Name already used ")} else {self.BuffName = $1, "ok"})
- }
- inst BuffSpec :: "Non-array" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Non-array,Array"
- prop Label :: "Symbol Specification"
- prop JSName :: "bufSpec"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: (self.BuffSpec = $1, "ok")
- }
- }
- object EXTERN_NOTHING :: externDecl {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param BuffType :: "NULL"
- param BuffName :: "NULL"
- param BuffSpec :: "Non-array"
- }
- object DeclNull :: externDecl {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param BuffType :: "NULL"
- param BuffName :: "NULL"
- param BuffSpec :: "Non-array"
- }
- type DMAFOLDER {
- prop Label :: "DMA Direct Memory Access"
- prop GlobalIcon :: 157
- prop InstanceIcon :: 158
- prop GlobalHelpTopic :: 1020
- prop GlobalPropertyPage :: "{B936FB91-49A5-11d4-967C-0050048381B7}"
- prop IsContainedIn :: CSL
- prop NoGen :: 1
- }
- type dmaCfg {
- isa ObjectMgr
- prop name :: "dmaCfg"
- prop Label :: "DMA Configuration Manager"
- prop JSName :: "DMA"
- prop IsContainedIn :: DMAFOLDER
- prop GlobalPropertyPage :: "{C5CB30B4-F113-11d2-84A5-00105A98CA0B}"
- prop InstancePropertyPage :: "{AC0C36D1-890B-11d0-A621-0000C070F3E9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop GlobalIcon :: 157
- prop InstanceIcon :: 158
- prop GlobalHelpTopic :: 1021
- prop InstanceHelpTopic :: 1021
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT
- prop cStruct :: CSL.DMA_SUPPORT
- prop cStructType :: "DMA_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_dma.h"} else {""}
- prop cStructQual :: "far"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; dmaCfg) {$a = $a + 1}, if ($a == 2) {scan ($c; hDma) {$c.PINIT_ENABLE = 0}} , "ok")
- prop START_PRICTL :: (if (self.START_SETUP == "Stop") {0x00000000} else {if (self.START_SETUP == "Start w/o Autoinit") {0x00000001} else {if (self.START_SETUP == "Pause") {0x00000002} else {if (self.START_SETUP == "Start w/ Autoinit") {0x00000003} }}})
- prop SRCDIR_PRICTL :: (if (self.SRCDIR_SETUP == "None") {0x00000000} else {if (self.SRCDIR_SETUP == "Increment") {0x00000010} else {if (self.SRCDIR_SETUP == "Decrement") {0x00000020} else {if (self.SRCDIR_SETUP == "Index") {0x00000030} }}})
- prop DSTDIR_PRICTL :: (if (self.DSTDIR_SETUP == "None") {0x00000000} else {if (self.DSTDIR_SETUP == "Increment") {0x00000040} else {if (self.DSTDIR_SETUP == "Decrement") {0x00000080} else {if (self.DSTDIR_SETUP == "Index") {0x000000C0} }}})
- prop ESIZE_PRICTL :: (if (self.ESIZE_SETUP == "32-bit") {0x00000000} else {if (self.ESIZE_SETUP == "16-bit") {0x00000100} else {if (self.ESIZE_SETUP == "8-bit") {0x00000200} }})
- prop SPLIT_PRICTL :: (if (self.SPLIT_SETUP == "Disable") {0x00000000} else {if (self.SPLIT_SETUP == "Global Address Register A") {0x00000400} else {if (self.SPLIT_SETUP == "Global Address Register B") {0x00000800} else {if (self.SPLIT_SETUP == "Global Address Register C") {0x00000C00} }}})
- prop CNTRLD_PRICTL :: (if (self.CNTRLD_SETUP == "Count Reload Reg A") {0x00000000} else {if (self.CNTRLD_SETUP == "Count Reload Reg B") {0x00001000} })
- prop INDEX_PRICTL :: (if (self.INDEX_SETUP == "Global Index Register A") {0x00000000} else {if (self.INDEX_SETUP == "Global Index Register B") {0x00002000} })
- prop RSYNC_PRICTL :: (if (self.RSYNC_SETUP == "None") {0x00000000} else {if (self.RSYNC_SETUP == "Timer 0 Interrupt") {0x00004000} else {if (self.RSYNC_SETUP == "Timer 1 Interrupt") {0x00008000} else {if (self.RSYNC_SETUP == "EMIF Timer Interrupt") {0x0000C000} else {if (self.RSYNC_SETUP == "External Interrupt Pin 4") {0x00010000} else {if (self.RSYNC_SETUP == "External Interrupt Pin 5") {0x00014000} else {if (self.RSYNC_SETUP == "External Interrupt Pin 6") {0x00018000} else {if (self.RSYNC_SETUP == "External Interrupt Pin 7") {0x0001C000} else {if (self.RSYNC_SETUP == "DMA Channel 0 Interrupt") {0x00020000} else {if (self.RSYNC_SETUP == "DMA Channel 1 Interrupt") {0x00024000} else {if (self.RSYNC_SETUP == "DMA Channel 2 Interrupt") {0x00028000} else {if (self.RSYNC_SETUP == "DMA Channel 3 Interrupt") {0x0002C000} else {if (self.RSYNC_SETUP == "McBSP 0 Transmit Event") {0x00030000} else {if (self.RSYNC_SETUP == "McBSP 0 Receive Event") {0x00034000} else {if (self.RSYNC_SETUP == "McBSP 1 Transmit Event") {0x00038000} else {if (self.RSYNC_SETUP == "McBSP 1 Receive Event") {0x0003C000} else {if (self.RSYNC_SETUP == "Host to DSP Interrupt") {0x00040000} else {if (self.RSYNC_SETUP == "McBSP 2 Transmit Event") {0x00044000} else {if (self.RSYNC_SETUP == "McBSP 2 Receive Event") {0x00048000} }}}}}}}}}}}}}}}}}})
- prop WSYNC_PRICTL :: (if (self.WSYNC_SETUP == "None") {0x00000000} else {if (self.WSYNC_SETUP == "Timer 0 Interrupt") {0x00080000} else {if (self.WSYNC_SETUP == "Timer 1 Interrupt") {0x00100000} else {if (self.WSYNC_SETUP == "EMIF Timer Interrupt") {0x00180000} else {if (self.WSYNC_SETUP == "External Interrupt Pin 4") {0x00200000} else {if (self.WSYNC_SETUP == "External Interrupt Pin 5") {0x00280000} else {if (self.WSYNC_SETUP == "External Interrupt Pin 6") {0x00300000} else {if (self.WSYNC_SETUP == "External Interrupt Pin 7") {0x00380000} else {if (self.WSYNC_SETUP == "DMA Channel 0 Interrupt") {0x00400000} else {if (self.WSYNC_SETUP == "DMA Channel 1 Interrupt") {0x00480000} else {if (self.WSYNC_SETUP == "DMA Channel 2 Interrupt") {0x00500000} else {if (self.WSYNC_SETUP == "DMA Channel 3 Interrupt") {0x00580000} else {if (self.WSYNC_SETUP == "McBSP 0 Transmit Event") {0x00600000} else {if (self.WSYNC_SETUP == "McBSP 0 Receive Event") {0x00680000} else {if (self.WSYNC_SETUP == "McBSP 1 Transmit Event") {0x00700000} else {if (self.WSYNC_SETUP == "McBSP 1 Receive Event") {0x00780000} else {if (self.WSYNC_SETUP == "Host to DSP Interrupt") {0x00800000} else {if (self.WSYNC_SETUP == "McBSP 2 Transmit Event") {0x00880000} else {if (self.WSYNC_SETUP == "McBSP 2 Receive Event") {0x00900000} }}}}}}}}}}}}}}}}}})
- prop PRI_PRICTL :: (if (self.PRI_SETUP == "CPU") {0x00000000} else {if (self.PRI_SETUP == "DMA") {0x01000000} })
- prop TCINT_PRICTL :: (if (self.TCINT_SETUP == "Disable") {0x00000000} else {if (self.TCINT_SETUP == "Enable") {0x02000000} })
- prop FS_PRICTL :: (if (self.FS_SETUP == "Disable") {0x00000000} else {if (self.FS_SETUP == "RSYNC") {0x04000000} })
- prop EMOD_PRICTL :: (if (self.EMOD_SETUP == "Continue") {0x00000000} else {if (self.EMOD_SETUP == "Pause") {0x08000000} })
- prop SRCRLD_PRICTL :: (if (self.SRCRLD_SETUP == "No Reload") {0x00000000} else {if (self.SRCRLD_SETUP == "Global Address Register B") {0x10000000} else {if (self.SRCRLD_SETUP == "Global Address Register C") {0x20000000} else {if (self.SRCRLD_SETUP == "Global Address Register D") {0x30000000} }}})
- prop DSTRLD_PRICTL :: (if (self.DSTRLD_SETUP == "No Reload") {0x00000000} else {if (self.DSTRLD_SETUP == "Global Address Register B") {0x40000000} else {if (self.DSTRLD_SETUP == "Global Address Register C") {0x80000000} else {if (self.DSTRLD_SETUP == "Global Address Register D") {0xC0000000} }}})
- prop SXCOND_SECCTL :: (if (self.SXCOND_SETUP == "Clear") {0x00000000} else {if (self.SXCOND_SETUP == "No Effect") {0x00000001} })
- prop FRAMECOND_SECCTL :: (if (self.FRAMECOND_SETUP == "Clear") {0x00000000} else {if (self.FRAMECOND_SETUP == "No Effect") {0x00000004} })
- prop LASTCOND_SECCTL :: (if (self.LASTCOND_SETUP == "Clear") {0x00000000} else {if (self.LASTCOND_SETUP == "No Effect") {0x00000010} })
- prop BLOCKCOND_SECCTL :: (if (self.BLOCKCOND_SETUP == "Clear") {0x00000000} else {if (self.BLOCKCOND_SETUP == "No Effect") {0x00000040} })
- prop RDROPCOND_SECCTL :: (if (self.RDROPCOND_SETUP == "Clear") {0x00000000} else {if (self.RDROPCOND_SETUP == "No Effect") {0x00000100} })
- prop WDROPCOND_SECCTL :: (if (self.WDROPCOND_SETUP == "Clear") {0x00000000} else {if (self.WDROPCOND_SETUP == "No Effect") {0x00000400} })
- prop SXIE_SECCTL :: (if (self.SXIE_SETUP == "Disable") {0x00000000} else {if (self.SXIE_SETUP == "Enable") {0x00000002} })
- prop FRAMEIE_SECCTL :: (if (self.FRAMEIE_SETUP == "Disable") {0x00000000} else {if (self.FRAMEIE_SETUP == "Enable") {0x00000008} })
- prop LASTIE_SECCTL :: (if (self.LASTIE_SETUP == "Disable") {0x00000000} else {if (self.LASTIE_SETUP == "Enable") {0x00000020} })
- prop BLOCKIE_SECCTL :: (if (self.BLOCKIE_SETUP == "Enable") {0x00000080} else {if (self.BLOCKIE_SETUP == "Disable") {0x00000000} })
- prop RDROPIE_SECCTL :: (if (self.RDROPIE_SETUP == "Disable") {0x00000000} else {if (self.RDROPIE_SETUP == "Enable") {0x00000200} })
- prop WDROPIE_SECCTL :: (if (self.WDROPIE_SETUP == "Disable") {0x00000000} else {if (self.WDROPIE_SETUP == "Enable") {0x00000800} })
- prop RSYNCSTAT_SECCTL :: (if (self.RSYNCSTAT_SETUP == "Not Received") {0x00000000} else {if (self.RSYNCSTAT_SETUP == "Received") {0x00001000} })
- prop WSYNCSTAT_SECCTL :: (if (self.WSYNCSTAT_SETUP == "Not Received") {0x00000000} else {if (self.WSYNCSTAT_SETUP == "Received") {0x00004000} })
- prop RSYNCCLR_SECCTL :: (if (self.RSYNCCLR_SETUP == "None") {0x00000000} else {if (self.RSYNCCLR_SETUP == "Clear") {0x00002000} })
- prop WSYNCCLR_SECCTL :: (if (self.WSYNCCLR_SETUP == "None") {0x00000000} else {if (self.WSYNCCLR_SETUP == "Clear") {0x00008000} })
- prop DMACEN_SECCTL :: (if (self.DMACEN_SETUP == "Low") {0x00000000} else {if (self.DMACEN_SETUP == "High") {0x00010000} else {if (self.DMACEN_SETUP == "RSYNC STAT") {0x00020000} else {if (self.DMACEN_SETUP == "WSYNC STAT") {0x00030000} else {if (self.DMACEN_SETUP == "FRAME COND") {0x00040000} else {if (self.DMACEN_SETUP == "BLOCK COND") {0x00050000} }}}}})
- prop FSIG_SECCTL :: (if (self.FSIG_SETUP == "None") {0x00000000} else {if (self.FSIG_SETUP == "Ignore") {0x00080000} })
- prop RSPOL_SECCTL :: (if (self.RSPOL_SETUP == "Active Low") {0x00000000} else {if (self.RSPOL_SETUP == "Active High") {0x00100000} })
- prop WSPOL_SECCTL :: (if (self.WSPOL_SETUP == "Active Low") {0x00000000} else {if (self.WSPOL_SETUP == "Active High") {0x00200000} })
- prop PRICTL_VALUE_update :: (self.START_PRICTL() | self.SRCDIR_PRICTL() | self.DSTDIR_PRICTL() | self.ESIZE_PRICTL() | self.SPLIT_PRICTL() | self.CNTRLD_PRICTL() | self.INDEX_PRICTL() | self.RSYNC_PRICTL() | self.WSYNC_PRICTL() | self.PRI_PRICTL() | self.TCINT_PRICTL() | self.FS_PRICTL() | self.EMOD_PRICTL() | self.SRCRLD_PRICTL() | self.DSTRLD_PRICTL())
- prop PRICTL_SETUP_update :: (self.START_SETUP = ($a = ($1 & 0x00000003), if ($a == 0x00000001) {"Start w/o Autoinit"} else {if ($a == 0x00000002) {"Pause"} else {if ($a == 0x00000003) {"Start w/ Autoinit"} else {"Stop"}}}), self.SRCDIR_SETUP = ($a = ($1 & 0x00000030), if ($a == 0x00000010) {"Increment"} else {if ($a == 0x00000020) {"Decrement"} else {if ($a == 0x00000030) {"Index"} else {"None"}}}), self.DSTDIR_SETUP = ($a = ($1 & 0x000000C0), if ($a == 0x00000040) {"Increment"} else {if ($a == 0x00000080) {"Decrement"} else {if ($a == 0x000000C0) {"Index"} else {"None"}}}), self.ESIZE_SETUP = ($a = ($1 & 0x00000300), if ($a == 0x00000100) {"16-bit"} else {if ($a == 0x00000200) {"8-bit"} else {"32-bit"}}), self.SPLIT_SETUP = ($a = ($1 & 0x00000C00), if ($a == 0x00000400) {"Global Address Register A"} else {if ($a == 0x00000800) {"Global Address Register B"} else {if ($a == 0x00000C00) {"Global Address Register C"} else {"Disable"}}}), self.CNTRLD_SETUP = if ($1 & 0x00001000) {"Count Reload Reg B"} else {"Count Reload Reg A"}, self.INDEX_SETUP = if ($1 & 0x00002000) {"Global Index Register B"} else {"Global Index Register A"}, self.RSYNC_SETUP = ($a = ($1 & 0x0007C000), if ($a == 0x00004000) {"Timer 0 Interrupt"} else {if ($a == 0x00008000) {"Timer 1 Interrupt"} else {if ($a == 0x0000C000) {"EMIF Timer Interrupt"} else {if ($a == 0x00010000) {"External Interrupt Pin 4"} else {if ($a == 0x00014000) {"External Interrupt Pin 5"} else {if ($a == 0x00018000) {"External Interrupt Pin 6"} else {if ($a == 0x0001C000) {"External Interrupt Pin 7"} else {if ($a == 0x00020000) {"DMA Channel 0 Interrupt"} else {if ($a == 0x00024000) {"DMA Channel 1 Interrupt"} else {if ($a == 0x00028000) {"DMA Channel 2 Interrupt"} else {if ($a == 0x0002C000) {"DMA Channel 3 Interrupt"} else {if ($a == 0x00030000) {"McBSP 0 Transmit Event"} else {if ($a == 0x00034000) {"McBSP 0 Receive Event"} else {if ($a == 0x00038000) {"McBSP 1 Transmit Event"} else {if ($a == 0x0003C000) {"McBSP 1 Receive Event"} else {if ($a == 0x00040000) {"Host to DSP Interrupt"} else {if ($a == 0x00044000) {"McBSP 2 Transmit Event"} else {if ($a == 0x00048000) {"McBSP 2 Receive Event"} else {"None"}}}}}}}}}}}}}}}}}}), self.WSYNC_SETUP = ($a = ($1 & 0x00F80000), if ($a == 0x00080000) {"Timer 0 Interrupt"} else {if ($a == 0x00100000) {"Timer 1 Interrupt"} else {if ($a == 0x00180000) {"EMIF Timer Interrupt"} else {if ($a == 0x00200000) {"External Interrupt Pin 4"} else {if ($a == 0x00280000) {"External Interrupt Pin 5"} else {if ($a == 0x00300000) {"External Interrupt Pin 6"} else {if ($a == 0x00380000) {"External Interrupt Pin 7"} else {if ($a == 0x00400000) {"DMA Channel 0 Interrupt"} else {if ($a == 0x00480000) {"DMA Channel 1 Interrupt"} else {if ($a == 0x00500000) {"DMA Channel 2 Interrupt"} else {if ($a == 0x00580000) {"DMA Channel 3 Interrupt"} else {if ($a == 0x00600000) {"McBSP 0 Transmit Event"} else {if ($a == 0x00680000) {"McBSP 0 Receive Event"} else {if ($a == 0x00700000) {"McBSP 1 Transmit Event"} else {if ($a == 0x00780000) {"McBSP 1 Receive Event"} else {if ($a == 0x00800000) {"Host to DSP Interrupt"} else {if ($a == 0x00880000) {"McBSP 2 Transmit Event"} else {if ($a == 0x00900000) {"McBSP 2 Receive Event"} else {"None"}}}}}}}}}}}}}}}}}}), self.PRI_SETUP = if ($1 & 0x01000000) {"DMA"} else {"CPU"}, self.TCINT_SETUP = if ($1 & 0x02000000) {"Enable"} else {"Disable"}, self.FS_SETUP = if ($1 & 0x04000000) {"RSYNC"} else {"Disable"}, self.EMOD_SETUP = if ($1 & 0x08000000) {"Pause"} else {"Continue"}, self.SRCRLD_SETUP = ($a = ($1 & 0x30000000), if ($a == 0x10000000) {"Global Address Register B"} else {if ($a == 0x20000000) {"Global Address Register C"} else {if ($a == 0x30000000) {"Global Address Register D"} else {"No Reload"}}}), self.DSTRLD_SETUP = ($a = ($1 & 0xC0000000), if ($a == 0x40000000) {"Global Address Register B"} else {if ($a == 0x80000000) {"Global Address Register C"} else {if ($a == 0xC0000000) {"Global Address Register D"} else {"No Reload"}}}))
- prop SECCTL_VALUE_update :: (self.SXCOND_SECCTL() | self.FRAMECOND_SECCTL() | self.LASTCOND_SECCTL() | self.BLOCKCOND_SECCTL() | self.RDROPCOND_SECCTL() | self.WDROPCOND_SECCTL() | self.SXIE_SECCTL() | self.FRAMEIE_SECCTL() | self.LASTIE_SECCTL() | self.BLOCKIE_SECCTL() | self.RDROPIE_SECCTL() | self.WDROPIE_SECCTL() | self.RSYNCSTAT_SECCTL() | self.WSYNCSTAT_SECCTL() | self.DMACEN_SECCTL() | self.RSYNCCLR_SECCTL() | self.WSYNCCLR_SECCTL() | (if GBL.SUBTYPE == 6700 {self.FSIG_SECCTL()} else {0}) | (if GBL.SUBTYPE == 6700 {self.RSPOL_SECCTL()} else {0}) | (if GBL.SUBTYPE == 6700 {self.WSPOL_SECCTL()} else {0}))
- prop SECCTL_SETUP_update :: (self.SXCOND_SETUP = if ($1 & 0x00000001) {"No Effect"} else {"Clear"}, self.FRAMECOND_SETUP = if ($1 & 0x00000004) {"No Effect"} else {"Clear"}, self.LASTCOND_SETUP = if ($1 & 0x00000010) {"No Effect"} else {"Clear"}, self.BLOCKCOND_SETUP = if ($1 & 0x00000040) {"No Effect"} else {"Clear"}, self.RDROPCOND_SETUP = if ($1 & 0x00000100) {"No Effect"} else {"Clear"}, self.WDROPCOND_SETUP = if ($1 & 0x00000400) {"No Effect"} else {"Clear"}, self.SXIE_SETUP = if ($1 & 0x00000002) {"Enable"} else {"Disable"}, self.FRAMEIE_SETUP = if ($1 & 0x00000008) {"Enable"} else {"Disable"}, self.LASTIE_SETUP = if ($1 & 0x00000020) {"Enable"} else {"Disable"}, self.BLOCKIE_SETUP = if ($1 & 0x00000080) {"Enable"} else {"Disable"}, self.RDROPIE_SETUP = if ($1 & 0x00000200) {"Enable"} else {"Disable"}, self.WDROPIE_SETUP = if ($1 & 0x00000800) {"Enable"} else {"Disable"}, self.RSYNCSTAT_SETUP = if ($1 & 0x00001000) {"Received"} else {"Not Received"}, self.WSYNCSTAT_SETUP = if ($1 & 0x00004000) {"Received"} else {"Not Received"}, self.RSYNCCLR_SETUP = if ($1 & 0x00002000) {"Clear"} else {"None"}, self.WSYNCCLR_SETUP = if ($1 & 0x00008000) {"Clear"} else {"None"}, self.DMACEN_SETUP = ($a = ($1 & 0x00070000), if ($a == 0x00010000) {"High"} else {if ($a == 0x00020000) {"RSYNC STAT"} else {if ($a == 0x00030000) {"WSYNC STAT"} else {if ($a == 0x00040000) {"FRAME COND"} else {if ($a == 0x00050000) {"BLOCK COND"} else {"Low"}}}}}), if (GBL.SUBTYPE == 6700) {self.FSIG_SETUP = if ($1 & 0x00080000) {"Ignore"} else {"None"}, if ((self.RSYNC_SETUP == "External Interrupt Pin 4") || (self.RSYNC_SETUP == "External Interrupt Pin 5") || (self.RSYNC_SETUP == "External Interrupt Pin 6") || (self.RSYNC_SETUP == "External Interrupt Pin 7")) {self.RSPOL_SETUP = if ($1 & 0x00100000) {"Active High"} else {"Active Low"}} , if ((self.WSYNC_SETUP == "External Interrupt Pin 4") || (self.WSYNC_SETUP == "External Interrupt Pin 5") || (self.WSYNC_SETUP == "External Interrupt Pin 6") || (self.WSYNC_SETUP == "External Interrupt Pin 7")) {self.WSPOL_SETUP = if ($1 & 0x00200000) {"Active High"} else {"Active Low"}} } )
- prop configStruct :: self
- prop cfgStrCNT :: if (self.XFRCNT_FORMAT == "User's Header file") {"%5t%3s.xfrcnt = DMA_XFRCNT_RMK("} else {""}
- prop FramecntStr :: (if (self.XFRCNT_FORMAT == "User's Header file" && self.FRAMECNT_HEADER == "NULL") {"0"} else {if (self.XFRCNT_FORMAT == "User's Header file" && self.FRAMECNT_HEADER != "NULL") {self.FRAMECNT_HEADER} else {""}})
- prop ElmcntStr :: (if (self.XFRCNT_FORMAT == "User's Header file" && self.ELMCNT_HEADER == "NULL") {"0"} else {if (self.XFRCNT_FORMAT == "User's Header file" && self.ELMCNT_HEADER != "NULL") {self.ELMCNT_HEADER} else {""}})
- prop XfrCntStr :: if (self.XFRCNT_FORMAT == "User's Header file") {"%4s,%5s);n%0t"} else {""}
- prop cfgStrSRC :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {"%5t%3s.src = DMA_SRC_RMK("} else {""}
- prop SrcHandle :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {self.SRCADDR_HANDLE} else {""}
- prop SrcStr :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {"%8s->drrAddr);n%0t"} else {""}
- prop cfgStrDST :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {"%5t%3s.dst = DMA_DST_RMK("} else {""}
- prop DstHandle :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {self.DSTADDR_HANDLE} else {""}
- prop DstStr :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {"%11s->dxrAddr);n%0t"} else {""}
- prop cGenFxnPostInst :: ("%1S%2S%6S%7S%9S%10S ,cfgStrCNT,XfrCntStr,configStruct,FramecntStr,ElmcntStr,cfgStrSRC,SrcStr,SrcHandle,cfgStrDST,DstStr,DstHandle")
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst START_SETUP :: "Stop" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Stop,Start w/o Autoinit,Pause,Start w/ Autoinit"
- prop Label :: "Start/Autoinit, Pause(START)"
- prop JSName :: "dmaPrictlStart"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.START_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst SRCDIR_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Source Address Modification(SRC DIR)"
- prop JSName :: "dmaPrictlSrcDir"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.SRCDIR_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst DSTDIR_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Destination Address Modification(DST DIR)"
- prop JSName :: "dmaPrictlDstDir"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.DSTDIR_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst ESIZE_SETUP :: "32-bit" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit,16-bit,8-bit"
- prop Label :: "Element Size(ESIZE)"
- prop JSName :: "dmaPrictlEsize"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.ESIZE_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst SPLIT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Global Address Register A,Global Address Register B,Global Address Register C"
- prop Label :: "Split Channel Mode(SPLIT)"
- prop JSName :: "dmaPrictlSplit"
- prop Visible :: 1
- prop Writable :: if ((CSL.DMA_SUPPORT != 0) && (self.RSYNC_SETUP == "None") || (self.WSYNC_SETUP == "None")) {0} else {1}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.SPLIT_SETUP = $1, if ((self.RSYNC_SETUP == "None") || (self.WSYNC_SETUP == "None") && (self.SPLIT_SETUP != "Disable")) {self.SPLIT_SETUP = "Disable"} , self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst CNTRLD_SETUP :: "Count Reload Reg A" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Count Reload Reg A,Count Reload Reg B"
- prop Label :: "Transfer Count Reload(CNT RELOAD)"
- prop JSName :: "dmaPrictlCntReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (self.CNTRLD_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst INDEX_SETUP :: "Global Index Register A" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Global Index Register A,Global Index Register B"
- prop Label :: "Select Programmable Index(INDEX)"
- prop JSName :: "dmaPrictlIndex"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (self.INDEX_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst RSYNC_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Timer 0 Interrupt,Timer 1 Interrupt,EMIF Timer Interrupt,External Interrupt Pin 4,External Interrupt Pin 5,External Interrupt Pin 6,External Interrupt Pin 7,DMA Channel 0 Interrupt,DMA Channel 1 Interrupt,DMA Channel 2 Interrupt,DMA Channel 3 Interrupt,McBSP 0 Transmit Event,McBSP 0 Receive Event,McBSP 1 Transmit Event,McBSP 1 Receive Event,Host to DSP Interrupt,McBSP 2 Transmit Event,McBSP 2 Receive Event"
- prop Label :: "Read Transfer Sync(RSYNC)"
- prop JSName :: "dmaPrictlRsync"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.RSYNC_SETUP = $1, if ((self.RSYNC_SETUP == "None") && (self.SPLIT_SETUP != "Disable")) {self.SPLIT_SETUP = "Disable"} , self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst WSYNC_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Timer 0 Interrupt,Timer 1 Interrupt,EMIF Timer Interrupt,External Interrupt Pin 4,External Interrupt Pin 5,External Interrupt Pin 6,External Interrupt Pin 7,DMA Channel 0 Interrupt,DMA Channel 1 Interrupt,DMA Channel 2 Interrupt,DMA Channel 3 Interrupt,McBSP 0 Transmit Event,McBSP 0 Receive Event,McBSP 1 Transmit Event,McBSP 1 Receive Event,Host to DSP Interrupt,McBSP 2 Transmit Event,McBSP 2 Receive Event"
- prop Label :: "Write Transfer Sync(WSYNC)"
- prop JSName :: "dmaPrictlWsync"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.WSYNC_SETUP = $1, if ((self.FS_SETUP == "RSYNC") && (self.WSYNC_SETUP != "None")) {self.WSYNC_SETUP = "None"} , if ((self.WSYNC_SETUP == "None") && (self.SPLIT_SETUP != "Disable")) {self.SPLIT_SETUP = "Disable"} , self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst PRI_SETUP :: "CPU" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "CPU,DMA"
- prop Label :: "Priority Mode(PRI)"
- prop JSName :: "dmaPrictlPri"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.PRI_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst TCINT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Transfer Controller Interrupt(TCINT)"
- prop JSName :: "dmaPrictlTcint"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.TCINT_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst FS_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,RSYNC"
- prop Label :: "Frame Sync(FS)"
- prop JSName :: "dmaPrictlFs"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.FS_SETUP = $1, if (self.FS_SETUP == "RSYNC") {self.WSYNC_SETUP = "None", self.SPLIT_SETUP = "Disable"} , self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst EMOD_SETUP :: "Continue" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Continue,Pause"
- prop Label :: "Emulation Mode(EMOD)"
- prop JSName :: "dmaPrictlEmod"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.EMOD_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst SRCRLD_SETUP :: "No Reload" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "No Reload,Global Address Register B,Global Address Register C,Global Address Register D"
- prop Label :: "Src. Addr. Reload(SRC RELOAD)"
- prop JSName :: "dmaPrictlSrcReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.SRCRLD_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst DSTRLD_SETUP :: "No Reload" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "No Reload,Global Address Register B,Global Address Register C,Global Address Register D"
- prop Label :: "Dst. Addr. Reload(DST RELOAD)"
- prop JSName :: "dmaPrictlDstReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.DSTRLD_SETUP = $1, self.PRICTL_VALUE = self.PRICTL_VALUE_update(), "ok")
- }
- inst SXCOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Split Transmit Overrun Receive Condition(SX COND)"
- prop JSName :: "dmaSecctlSxCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.SXCOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst FRAMECOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Frame Complete Condition(FRAME COND)"
- prop JSName :: "dmaSecctlFrameCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.FRAMECOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst LASTCOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Last Frame Condition(LAST COND)"
- prop JSName :: "dmaSecctlLastCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.LASTCOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst BLOCKCOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Block Transfer Finished Condition(BLOCK COND)"
- prop JSName :: "dmaSecctlBlockCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.BLOCKCOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst RDROPCOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Dropped Read Synchronization Condition(RDROP COND)"
- prop JSName :: "dmaSecctlRdropCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.RDROPCOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst WDROPCOND_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,No Effect"
- prop Label :: "Dropped Write Synchronization Condition(RDROP COND)"
- prop JSName :: "dmaSecctlWdropCond"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Condition"
- prop Set :: (self.WDROPCOND_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst SXIE_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Split Transmit Overrun Receive IE(SX IE)"
- prop JSName :: "dmaSecctlSxIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.SXIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst FRAMEIE_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Frame Complete IE(FRAME IE)"
- prop JSName :: "dmaSecctlFrameIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.FRAMEIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst LASTIE_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Last Frame IE(LAST IE)"
- prop JSName :: "dmaSecctlLastIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.LASTIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst BLOCKIE_SETUP :: "Enable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Enable,Disable"
- prop Label :: "Block Transfer Finished IE(BLOCK IE)"
- prop JSName :: "dmaSecctlBlockIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.BLOCKIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst RDROPIE_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Dropped Read Synchronization IE(RDROP IE)"
- prop JSName :: "dmaSecctlRdropIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.RDROPIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst WDROPIE_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Dropped Write Synchronization IE(WDROP IE)"
- prop JSName :: "dmaSecctlWdropIe"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Interrupt Enable"
- prop Set :: (self.WDROPIE_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst RSYNCSTAT_SETUP :: "Not Received" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Not Received,Received"
- prop Label :: "Read Sync Status(RSYNC STAT)"
- prop JSName :: "dmaSecctlRsyncStat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.RSYNCSTAT_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst WSYNCSTAT_SETUP :: "Not Received" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Not Received,Received"
- prop Label :: "Write Sync Status(WSYNC STAT)"
- prop JSName :: "dmaSecctlWsyncStat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.WSYNCSTAT_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst RSYNCCLR_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Clear"
- prop Label :: "Read Sync Status Clear(RSYNC CLR)"
- prop JSName :: "dmaSecctlRsyncClr"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.RSYNCCLR_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst WSYNCCLR_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Clear"
- prop Label :: "Write Sync Status Clear(WSYNC CLR)"
- prop JSName :: "dmaSecctlWsyncClr"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.WSYNCCLR_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst DMACEN_SETUP :: "Low" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Low,High,RSYNC STAT,WSYNC STAT,FRAME COND,BLOCK COND"
- prop Label :: "DMA Action Complete(DMAC EN)"
- prop JSName :: "dmaSecctlDmacEn"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.DMACEN_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst FSIG_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Ignore"
- prop Label :: "Frame Sync Ignore(FSIG, C6202 only)"
- prop JSName :: "dmaSecctlFsig"
- prop Visible :: 1
- prop Writable :: (if (CSL.DMA_SUPPORT != 0) && (CSL.CHIP_6202 == 1) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.FSIG_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst RSPOL_SETUP :: = "Active Low" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Active Low,Active High"
- prop Label :: "Read Sync Event Polarity(RSPOL, C6202 only)"
- prop JSName :: "dmaSecctlRspol"
- prop Visible :: 1
- prop Writable :: (if (CSL.DMA_SUPPORT != 0) && (CSL.CHIP_6202 == 1) && ((self.RSYNC_SETUP == "External Interrupt Pin 4") || (self.RSYNC_SETUP == "External Interrupt Pin 5") || (self.RSYNC_SETUP == "External Interrupt Pin 6") || (self.RSYNC_SETUP == "External Interrupt Pin 7")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.RSPOL_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst WSPOL_SETUP :: = "Active Low" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Active Low,Active High"
- prop Label :: "Write Sync Event Polarity(WSPOL, C6202 only)"
- prop JSName :: "dmaSecctlWspol"
- prop Visible :: 1
- prop Writable :: (if (CSL.DMA_SUPPORT != 0) && (CSL.CHIP_6202 == 1) && ((self.WSYNC_SETUP == "External Interrupt Pin 4") || (self.WSYNC_SETUP == "External Interrupt Pin 5") || (self.WSYNC_SETUP == "External Interrupt Pin 6") || (self.WSYNC_SETUP == "External Interrupt Pin 7")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Synchronization"
- prop Set :: (self.WSPOL_SETUP = $1, self.SECCTL_VALUE = self.SECCTL_VALUE_update(), "ok")
- }
- inst SRCADDR_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DRR)"
- prop Label :: "Source Address Format"
- prop JSName :: "dmaSrcAddrFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.SRCADDR_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.SRCADDR_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL extern Declaration")} else {self.SRCADDR_FORMAT = $1, self.SRCADDR_FORMAT_ADV = self.SRCADDR_FORMAT, if ($1 == "Numeric") {self.SRCADDR_SYM = "NULL", self.SRCADDR_HANDLE = "NULL", self.SRCADDR_HEADER = "NULL"} , if ($1 == "User's Header file") {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_SYM = "NULL"} , if ($1 == "Extern Decl. Obj.") {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_HEADER = "NULL"} , if ($1 == "McBSP handle (DRR)") {self.SRCADDR_SYM = "NULL", self.SRCADDR_HEADER = "NULL"} , "ok"}})
- }
- inst SRCADDR_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Source Address - Numeric "
- prop JSName :: "dmaSrcAddrNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.SRCADDR_NUM = $1, self.SRCADDR_NUM_VALUE = self.SRCADDR_NUM, self.SRCADDR_HANDLE = "NULL", self.SRCADDR_HEADER = "NULL", self.SRCADDR_HEADER_VALUE = self.SRCADDR_HEADER, self.SRCADDR_SYM = "NULL", self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok"})
- }
- inst SRCADDR_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Extern Decl. Symbol name "
- prop JSName :: "dmaSrcAddrSymbol"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT == "Extern Decl. Obj."
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.DSTADDR_SYM) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.SRCADDR_SYM = $1, self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok"}}})
- }
- inst SRCADDR_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Enter full address "
- prop JSName :: "dmaSrcAddrFull"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT == "User's Header file"
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: (self.SRCADDR_HEADER = $1, self.SRCADDR_HEADER_VALUE = self.SRCADDR_HEADER, "ok")
- }
- inst SRCADDR_HANDLE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Enter Handle Name "
- prop JSName :: "dmaSrcAddrHandle"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT == "McBSP handle (DRR)"
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: ($a = 0, $c = 0, scan ($b; hMcbsp) {if ($1 == $b.HandleName && $b.MCBSP_HANDLE_ENABLE == 1) {$a = 1} }, if ($a == 0) {self.error("Handle object Name has to be declared and defined (open) - ")} else {self.SRCADDR_HANDLE = $1, "ok"})
- }
- inst DSTADDR :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Destination Address (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.DSTADDR = $1, self.DSTADDR_FORMAT = "Numeric", self.DSTADDR_FORMAT_ADV = self.DSTADDR_FORMAT, self.DSTADDR_NUM = self.DSTADDR, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"})
- }
- inst DSTADDR_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DXR)"
- prop Label :: "Dst Address Format"
- prop JSName :: "dmaDstAddrFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.DSTADDR_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL Extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.DSTADDR_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.DSTADDR_FORMAT = $1, self.DSTADDR_FORMAT_ADV = $1, if ($1 == "Numeric") {self.DSTADDR_SYM = "NULL", self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL"} , if ($1 == "User's Header file") {self.DSTADDR_HANDLE = "NULL", self.DSTADDR_SYM = "NULL"} , if ($1 == "Extern Decl. Obj.") {self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL"} , if ($1 == "McBSP handle (DXR)") {self.DSTADDR_SYM = "NULL", self.DSTADDR_HEADER = "NULL"} , "ok"}})
- }
- inst DSTADDR_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Dst Addr - Enter Numeric value "
- prop JSName :: "dmaDstAddrNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.DSTADDR_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.DSTADDR_NUM = $1, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL", self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"})
- }
- inst DSTADDR_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Extern Decl. Symbol Name "
- prop JSName :: "dmaDstAddrSymbol"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.DSTADDR_FORMAT == "Extern Decl. Obj."
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.SRCADDR_SYM) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.DSTADDR_SYM = $1, self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"}}})
- }
- inst DSTADDR_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Enter full address "
- prop JSName :: "dmaDstAddrFull"
- prop Visible :: 1
- prop Writable :: (CSL.DMA_SUPPORT && self.DSTADDR_FORMAT == "User's Header file")
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: (self.DSTADDR_HEADER = $1, self.DSTADDR_NUM_VALUE = 0x00000000, self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, "ok")
- }
- inst DSTADDR_HANDLE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Enter Handle Name "
- prop JSName :: "dmaDstAddrHandle"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.DSTADDR_FORMAT == "McBSP handle (DXR)"
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: ($a = 0, $c = 0, scan ($b; hMcbsp) {if ($1 == $b.HandleName && $b.MCBSP_HANDLE_ENABLE == 1) {$a = 1} }, if ($a == 0) {self.error("Handle object Name has to be declared and defined (open) - ")} else {self.DSTADDR_HANDLE = $1, "ok"})
- }
- inst FRAMECNT :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Count"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (if (($1 > 0x65535) | ($1 < 0)) {self.error("Invalid Number")} else {self.FRAMECNT = $1, self.FRAMECNT_NUM = $1, self.FRAMECNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0x0000FFFF, self.XFRCNT_NUM_VALUE |= (self.FRAMECNT_NUM << 16), "ok"})
- }
- inst ELMCNT :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Count"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (if (($1 > 65535) | ($1 < 0)) {self.error("Invalid Number")} else {self.ELMCNT = $1, self.ELMCNT_NUM = $1, self.ELMCNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0xFFFF0000, self.XFRCNT_NUM_VALUE |= self.ELMCNT_NUM, "ok"})
- }
- inst XFRCNT_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: " Transfer Counter Format"
- prop JSName :: "dmaXfrcntFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRCNT_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.XFRCNT_FORMAT = $1, self.XFRCNT_FORMAT_ADV = self.XFRCNT_FORMAT, if ($1 == "Numeric") {self.ELMCNT_HEADER = "NULL", self.FRAMECNT_HEADER = "NULL"} else {self.FRAMECNT_NUM = 0x0000, self.ELMCNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = 0x00000000}, "ok"})
- }
- inst FRAMECNT_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Frame Count(FC) - Enter 16-bit value"
- prop JSName :: "dmaXfrcntFrameCountNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.XFRCNT_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (if (($1 > 65535) || ($1 < 0)) {self.error("Invalid Number [0..65535]")} else {self.FRAMECNT_NUM = $1, self.FRAMECNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0x0000FFFF, self.XFRCNT_NUM_VALUE |= (self.FRAMECNT_NUM << 16), "ok"})
- }
- inst FRAMECNT_HEADER :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Frame Count(FC) - Enter Num or Symbol value "
- prop JSName :: "dmaXfrcntFrameCountSymbol"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.XFRCNT_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Count/Index"
- prop Set :: (self.FRAMECNT_HEADER = $1, self.FRAMECNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = (self.XFRCNT_NUM_VALUE & 0x0000FFFF), "ok")
- }
- inst ELMCNT_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Elt Counter (EC) - Enter 16-bit value"
- prop JSName :: "dmaXfrcntElementCountNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.XFRCNT_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Count/Index"
- prop Set :: (if (($1 > 65535) || ($1 < 0)) {self.error("Invalid Number [0..65535]")} else {self.ELMCNT_NUM = $1, self.ELMCNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0xFFFF0000, self.XFRCNT_NUM_VALUE |= self.ELMCNT_NUM, "ok"})
- }
- inst ELMCNT_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Elt Count(EC) - Enter Num or Sym value "
- prop JSName :: "dmaXfrcntElementCountSymbol"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.XFRCNT_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Count/Index"
- prop Set :: (self.ELMCNT_HEADER = $1, self.ELMCNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = ((self.XFRCNT_NUM_VALUE & 0xFFFF0000)), "ok")
- }
- inst PRICTL_VALUE :: self.PRICTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Primary Control Register"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaPrictl"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x04000000, $b = $1 & 0x00F80000, $c = $1 & 0x0007C000, $d = $1 & 0x00000C00, if (($a != 0) && ($b != 0)) {self.error("Conflict Setting between FS(bit26) and WSYNC(bit[19..24])")} else {if (($c == 0) && ($d != 0)) {self.error("Conflict Setting between SPLIT(bit[10..11]) and RSYNC(bit[14..18])")} else {if (($b == 0) && ($d != 0)) {self.error("Conflict Setting between SPLIT(bit[10..11]) and WSYNC(bit[19..24])")} else {if (($1 & 0x00000300) == 0x00000300) {self.error("No such option for bit field ESIZE(bit[8..9])")} else {if (($1 & 0x0000000C) != 0) {self.error("Bit field STATUS(bit[2..3]) is reserved")} else {if (($1 & 0x00F80000) > 0x00900000) {self.error("No such option for bit field WSYNC(bit[19..24])")} else {if (($1 & 0x0007C000) > 0x00048000) {self.error("No such option for bit field RSYNC(bit[14..18])")} else {self.PRICTL_VALUE = $1, self.PRICTL_SETUP_update($1), "ok"}}}}}}})
- }
- inst SECCTL_VALUE :: self.SECCTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Secondary Control Register"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaSecctl"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFF80000, $b = $1 & 0xFFC00000, $c = $1 & 0x00070000, if (($a != 0) && (GBL.DSPSUBTYPE != 6700)) {self.error("Bit field(bit[19..31]) is reserved")} else {if (($b != 0) && (GBL_CHIPTYPE == "6211")) {self.error("Bit field(bit[22..31]) is reserved")} else {if ($c > 0x00050000) {self.error("No such option for bit field DMAC EN(bit[16..18])")} else {if ((($1 & 0x00100000) == 0x00100000) && ((self.RSYNC_PRICTL < 0x00200000) || (self.RSYNC_PRICTL > 0x00380000))) {self.error("Bit field RSPOL(bit20) only valid if EXT_INTx is selected")} else {if ((($1 & 0x00200000) == 0x00200000) && ((self.WSYNC_PRICTL < 0x00010000) || (self.WSYNC_PRICTL > 0x0001C000))) {self.error("Bit field WSPOL(bit21) only valid if EXT_INTx is selected")} else {self.SECCTL_VALUE = $1, self.SECCTL_SETUP_update($1), "ok"}}}}})
- }
- inst SRCADDR_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Source Address (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.SRCADDR_VALUE = $1, self.SRCADDR_FORMAT = "Numeric", self.SRCADDR_FORMAT_ADV = self.SRCADDR_FORMAT, self.SRCADDR_NUM = self.SRCADDR_VALUE, self.SRCADDR_NUM_VALUE = self.SRCADDR_NUM, self.SRCADDR_SYM = "NULL", self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok")
- }
- inst SRCADDR_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DRR)"
- prop Label :: "Source Address Format"
- prop JSName :: "dmaSrcAddrFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.SRCADDR_FORMAT_ADV = "Numeric", self.error("You must create a Symbolic object - See CSL extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.SRCADDR_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL extern Declartion")} else {self.SRCADDR_FORMAT_ADV = $1, self.SRCADDR_FORMAT = $1, if ($1 == "Numeric") {self.SRCADDR_SYM_VALUE = "NULL"} else {self.SRCADDR_NUM_VALUE = 0x00000000}, "ok"}})
- }
- inst SRCADDR_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Source Address - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaSrcAddrNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && (self.SRCADDR_FORMAT_ADV == "Numeric" || self.SRCADDR_FORMAT_ADV == "McBSP handle (DRR)" || (self.SRCADDR_FORMAT_ADV == "User's Header file" && self.SRCADDR_HEADER_VALUE == "NULL") || (self.SRCADDR_FORMAT_ADV == "Extern Decl. Obj." && self.SRCADDR_SYM_VALUE == "NULL"))
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.SRCADDR_NUM_VALUE = $1, self.SRCADDR_NUM = $1, "ok")
- }
- inst SRCADDR_SYM_VALUE :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Source Address - Extern Decl.Obj"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "Extern Decl. Obj." && self.SRCADDR_SYM_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.SRCADDR_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.DSTADDR_SYM_VALUE) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.SRCADDR_SYM = $1, self.SRCADDR_SYM_VALUE = $1, "ok"}}})
- }
- inst SRCADDR_HEADER_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Source Address - From User's Header File"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "User's Header file" && self.SRCADDR_HEADER_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ("(Uint32) ")
- }
- inst DSTADDR_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Destination Address (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.DSTADDR_VALUE = $1, self.DSTADDR_FORMAT = "Numeric", self.DSTADDR_FORMAT_ADV = self.DSTADDR_FORMAT, self.DSTADDR_NUM = self.DSTADDR_VALUE, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok")
- }
- inst DSTADDR_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DXR)"
- prop Label :: "Destination Address Format"
- prop JSName :: "dmaDstAddrFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.DSTADDR_FORMAT_ADV = "Numeric", self.error("You must create a Symbolic Object - See CSL extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.DSTADDR_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL extern Declartion")} else {self.DSTADDR_FORMAT_ADV = $1, self.DSTADDR_FORMAT = $1, if ($1 == "Numeric") {self.DSTADDR_SYM_VALUE = "NULL"} else {self.DSTADDR_NUM_VALUE = 0x00000000}, "ok"}})
- }
- inst DSTADDR_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Destination Address - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaDstAddrNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.DSTADDR_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && (self.DSTADDR_FORMAT_ADV == "Numeric" || self.DSTADDR_FORMAT_ADV == "McBSP handle (DXR)" || (self.DSTADDR_FORMAT_ADV == "User's Header file" && self.DSTADDR_HEADER_VALUE == "NULL") || (self.DSTADDR_FORMAT_ADV == "Extern Decl. Obj." && self.DSTADDR_SYM_VALUE == "NULL"))
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.DSTADDR_NUM_VALUE = $1, self.DSTADDR_NUM = $1, self.DSTADDR_HANDLE = "NULL", self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, self.DSTADDR_HEADER = "NULL", self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, "ok")
- }
- inst DSTADDR_SYM_VALUE :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Destination Address - Extern Decl. Obj"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && (self.DSTADDR_FORMAT_ADV == "Extern Decl. Obj." && self.DSTADDR_SYM_VALUE != "NULL")
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.DSTADDR_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.SRCADDR_SYM_VALUE) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.DSTADDR_SYM = $1, self.DSTADDR_SYM_VALUE = $1, "ok"}}})
- }
- inst DSTADDR_HEADER_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Destination Address - From User's Header file"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.DSTADDR_FORMAT_ADV == "User's Header file" && self.DSTADDR_HEADER_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ("(Uint32) ")
- }
- inst XFRCNT_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: "Transfer Counter Format"
- prop JSName :: "dmaXfrcntFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRCNT_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {if ($1 == "Numeric") {self.ELMCNT_HEADER = "NULL", self.FRAMECNT_HEADER = "NULL"} else {self.XFRCNT_NUM_VALUE = 0x00000001, self.ELMCNT_NUM = 0x0001, self.FRAMECNT_NUM = 0x0000}, self.XFRCNT_FORMAT_ADV = $1, self.XFRCNT_FORMAT = self.XFRCNT_FORMAT_ADV, "ok"})
- }
- inst XFRCNT_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transfer Counter Register"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XFRCNT_VALUE = $1, self.XFRCNT_NUM_VALUE = $1, self.FRAMECNT_NUM = $1 >> 16, self.ELMCNT_NUM = ($1 & 0x0000FFFF), "ok")
- }
- inst XFRCNT_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transfer Counter - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaXfrcnt"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.XFRCNT_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XFRCNT_NUM_VALUE = $1, self.FRAMECNT_NUM = $1 >> 16, self.ELMCNT_NUM = ($1 & 0x0000FFFF), "ok")
- }
- }
- type hDma {
- isa ObjectMgr
- prop name :: "hDma"
- prop Label :: "DMA Resource Manager"
- prop JSName :: "HDMA"
- prop IsContainedIn :: DMAFOLDER
- prop GlobalPropertyPage :: "{1E62DD10-59A8-11d4-947D-0050048381B7}"
- prop InstancePropertyPage :: "{1E62DD11-59A8-11d4-947D-0050048381B7}"
- prop GlobalIcon :: 157
- prop InstanceIcon :: 158
- prop GlobalHelpTopic :: 1022
- prop InstanceHelpTopic :: 1023
- prop maxObjs :: 4
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT
- prop cHandle :: self.cOpenGen
- prop cHeaderName :: ($a = "", scan ($b; hDma) {if ($b.DMA_HANDLE_ENABLE == 1) {$a = "csl_dma.h"} }, $a)
- prop cHandleType :: "DMA_Handle"
- prop cOpenName :: "DMA_open"
- prop cConfigName :: "DMA_config"
- prop cHandleName :: self.HandleName
- prop cStructQual :: "far"
- prop localCanCreate :: (self.error("New DMA handle objects cannot be created"))
- prop localCanDelete :: (self.error("DMA handle objects cannot be deleted"))
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 4 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst DEVICE :: "DMACHA0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "DMACHA0,DMACHA1,DMACHA2,DMACHA3"
- prop Label :: "DMA channel"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- }
- inst cOpenGen :: = ((self.DMA_HANDLE_ENABLE != 0) && (CSL.DMA_SUPPORT != 0) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Handle"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cOpenArg0 :: "DMA_CHAANY" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Arg 0"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- }
- inst cOpenArg1 :: "DMA_OPEN_RESET" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Arg 1"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- }
- inst DMA_HANDLE_ENABLE :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open DMA Channel"
- prop JSName :: "dmaHandleEnable"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.DMA_HANDLE_ENABLE = $1, if ($1 == 0) {self.DMA_HANDLE_ENABLE = $1, self.PINIT_ENABLE = $1, self.cOpenArg0 = "DMA_None", self.PINIT = DMA_NOTHING, "ok"} else {if (self.DEVICE == "DMACHA0") {self.cOpenArg0 = "DMA_CHA0", "ok"} else {if (self.DEVICE == "DMACHA1") {self.cOpenArg0 = "DMA_CHA1", "ok"} else {if (self.DEVICE == "DMACHA2") {self.cOpenArg0 = "DMA_CHA2", "ok"} else {if (self.DEVICE == "DMACHA3") {self.cOpenArg0 = "DMA_CHA3", "ok"} }}}})
- }
- inst HandleName :: = self {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Handle"
- prop JSName :: "dmaHandleName"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT & self.DMA_HANDLE_ENABLE
- }
- inst PINIT_ENABLE :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "dmaEnablePreInit"
- prop Visible :: 1
- prop Writable :: if ((CSL.DMA_SUPPORT != 0) && (self.DMA_HANDLE_ENABLE != 0)) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; dmaCfg) {$a += 1}, if ($a == 1) {self.PINIT_ENABLE = 0, self.error("You must create a DMA configuration object first")} else {self.PINIT_ENABLE = $1, if ($1 == 0) {self.PINIT = DMA_NOTHING} , "ok"})
- }
- inst PINIT :: DMA_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: dmaCfg
- prop Label :: "Pre-Initialize with"
- prop JSName :: "dmaPreInit"
- prop Visible :: 1
- prop Writable :: (CSL.DMA_SUPPORT != 0) & (self.PINIT_ENABLE == 1) & (self.DMA_HANDLE_ENABLE != 0)
- prop NoGen :: 1
- }
- inst cConfigGen :: = ((CSL.DMA_SUPPORT != 0) && (self.DMA_HANDLE_ENABLE == 1) && (self.HandleName != "") && (self.PINIT_ENABLE == 1) && (self.PINIT != DMA_NOTHING) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Configuration"
- prop Visible :: 0
- prop Writable :: if (CSL.DMA_SUPPORT != 0) & (self.cConfigGen == 1) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cConfigArg0 :: = self.cHandleName {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 0"
- prop Visible :: 0
- prop Writable :: if (CSL.DMA_SUPPORT != 0) & (self.cConfigGen == 1) {1} else {0}
- prop Set :: (self.cConfigArg0 = self.HandleName, "ok")
- }
- inst cConfigArg1 :: = self.PINIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 1"
- prop Visible :: 0
- prop Writable :: if (CSL.DMA_SUPPORT != 0) & (self.cConfigGen == 1) {1} else {0}
- prop cPreVal :: "&"
- }
- }
- object DMA_Channel0 :: hDma {
- param iComment :: "DMA channel 0"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hDma"
- param iDelMsg :: "This DMA Handle object cannot be deleted"
- param DEVICE :: "DMACHA0"
- param cOpenArg0 :: "DMA_CHAANY"
- param cOpenArg1 :: "DMA_OPEN_RESET"
- param HandleName :: "hDma0"
- param PINIT :: DMA_NOTHING
- }
- object DMA_Channel1 :: hDma {
- param iComment :: "DMA channel 1"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hDma"
- param iDelMsg :: "This DMA Handle object cannot be deleted"
- param DEVICE :: "DMACHA1"
- param cOpenArg0 :: "DMA_CHAANY"
- param cOpenArg1 :: "DMA_OPEN_RESET"
- param HandleName :: "hDma1"
- param PINIT :: DMA_NOTHING
- }
- object DMA_Channel2 :: hDma {
- param iComment :: "DMA channel 2"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hDma"
- param iDelMsg :: "This DMA Handle object cannot be deleted"
- param DEVICE :: "DMACHA2"
- param cOpenArg0 :: "DMA_CHAANY"
- param cOpenArg1 :: "DMA_OPEN_RESET"
- param HandleName :: "hDma2"
- param PINIT :: DMA_NOTHING
- }
- object DMA_Channel3 :: hDma {
- param iComment :: "DMA channel 3"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hDma"
- param iDelMsg :: "This DMA Handle object cannot be deleted"
- param DEVICE :: "DMACHA3"
- param cOpenArg0 :: "DMA_CHAANY"
- param cOpenArg1 :: "DMA_OPEN_RESET"
- param HandleName :: "hDma3"
- param PINIT :: DMA_NOTHING
- }
- object DMA_NOTHING :: dmaCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param START_SETUP :: "Stop"
- param SRCDIR_SETUP :: "None"
- param DSTDIR_SETUP :: "None"
- param ESIZE_SETUP :: "32-bit"
- param SPLIT_SETUP :: "Disable"
- param CNTRLD_SETUP :: "Count Reload Reg A"
- param INDEX_SETUP :: "Global Index Register A"
- param RSYNC_SETUP :: "None"
- param WSYNC_SETUP :: "None"
- param PRI_SETUP :: "CPU"
- param TCINT_SETUP :: "Disable"
- param FS_SETUP :: "Disable"
- param EMOD_SETUP :: "Continue"
- param SRCRLD_SETUP :: "No Reload"
- param DSTRLD_SETUP :: "No Reload"
- param SXCOND_SETUP :: "Clear"
- param FRAMECOND_SETUP :: "Clear"
- param LASTCOND_SETUP :: "Clear"
- param BLOCKCOND_SETUP :: "Clear"
- param RDROPCOND_SETUP :: "Clear"
- param WDROPCOND_SETUP :: "Clear"
- param SXIE_SETUP :: "Disable"
- param FRAMEIE_SETUP :: "Disable"
- param LASTIE_SETUP :: "Disable"
- param BLOCKIE_SETUP :: "Enable"
- param RDROPIE_SETUP :: "Disable"
- param WDROPIE_SETUP :: "Disable"
- param RSYNCSTAT_SETUP :: "Not Received"
- param WSYNCSTAT_SETUP :: "Not Received"
- param RSYNCCLR_SETUP :: "None"
- param WSYNCCLR_SETUP :: "None"
- param DMACEN_SETUP :: "Low"
- param FSIG_SETUP :: "None"
- param SRCADDR_FORMAT :: "Numeric"
- param SRCADDR_NUM :: 0
- param SRCADDR_SYM :: "NULL"
- param SRCADDR_HEADER :: "NULL"
- param SRCADDR_HANDLE :: "NULL"
- param DSTADDR :: 0
- param DSTADDR_FORMAT :: "Numeric"
- param DSTADDR_NUM :: 0
- param DSTADDR_SYM :: "NULL"
- param DSTADDR_HEADER :: "NULL"
- param DSTADDR_HANDLE :: "NULL"
- param FRAMECNT :: 0
- param ELMCNT :: 0
- param XFRCNT_FORMAT :: "Numeric"
- param FRAMECNT_NUM :: 0
- param ELMCNT_NUM :: 0
- param ELMCNT_HEADER :: "NULL"
- param PRICTL_VALUE :: 0
- param SECCTL_VALUE :: 128
- param SRCADDR_FORMAT_ADV :: "Numeric"
- param SRCADDR_HEADER_VALUE :: "NULL"
- param DSTADDR_FORMAT_ADV :: "Numeric"
- param DSTADDR_HEADER_VALUE :: "NULL"
- param XFRCNT_FORMAT_ADV :: "Numeric"
- param XFRCNT_VALUE :: 0
- }
- type dmaGblCfg {
- isa ObjectMgr
- prop name :: "dmaGblCfg"
- prop Label :: "DMA Global Register Manager"
- prop JSName :: "GDMA"
- prop IsContainedIn :: DMAFOLDER
- prop GlobalPropertyPage :: "{C5CB30B4-F113-11d2-84A5-00105A98CA0B}"
- prop InstancePropertyPage :: "{AC0C36D1-890B-11d0-A621-0000C070F3E9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop GlobalIcon :: 157
- prop InstanceIcon :: 158
- prop GlobalHelpTopic :: 1024
- prop InstanceHelpTopic :: 1025
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT
- prop cHandleType :: "Uint32"
- prop cOpenName :: "DMA_globalAlloc"
- prop cConfigName :: "DMA_globalConfig"
- prop cHandleName :: self.HandleName
- prop cStruct :: CSL.DMA_SUPPORT
- prop cStructType :: "DMA_GlobalConfig"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_dma.h"} else {""}
- prop cStructQual :: "far"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; dmaGblCfg) {$a = $a + 1}, if ($a == 2) {self.PINIT_ENABLE = 0} , "ok")
- prop gblRegMask :: self.GBLREG_MASK
- prop pinitName :: self.PINIT
- prop cGenFxnPrologue :: (if (self.GBLREG_MASK != 0 && self.PINIT_ENABLE == 1) {"%5t%1s = %2s(0x%3x);n%4s(%5s, &%6s);%0tn , cHandleName, cOpenName, gblRegMask, cConfigName, cHandleName, pinitName"} else {if (self.GBLREG_MASK != 0) {"%5t%1s = %2s(0x%3x);%0tn , cHandleName, cOpenName, gblRegMask"} else {if (self.PINIT_ENABLE == 1) {"%5t%1s(%2s, &%3s);%0tn , cConfigName, cHandleName, pinitName"} else {""}}})
- prop cGenCEpilogue :: (if (self.GBLREG_MASK != 0) {"%1s %2s;n , cHandleType, cHandleName"} else {""})
- prop cGenHEpilogue :: (if (self.GBLREG_MASK != 0) {"extern far %1s %2s;n , cHandleType, cHandleName"} else {""})
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global GBLADDRA_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Address Reload Register A"
- prop JSName :: "DMA_PRE_ALLOC_GBLADDRA"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLADDRA_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFFE) | self.GBLADDRA_ALLOC, "ok")
- }
- global GBLADDRB_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Address Reload Register B"
- prop JSName :: "DMA_PRE_ALLOC_GBLADDRB"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLADDRB_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFFD) | (self.GBLADDRB_ALLOC << 1), "ok")
- }
- global GBLADDRC_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Address Reload Register C"
- prop JSName :: "DMA_PRE_ALLOC_GBLADDRC"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLADDRC_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFFB) | (self.GBLADDRC_ALLOC << 2), "ok")
- }
- global GBLADDRD_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Address Reload Register D"
- prop JSName :: "DMA_PRE_ALLOC_GBLADDRD"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLADDRD_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFF7) | (self.GBLADDRD_ALLOC << 3), "ok")
- }
- global GBLIDXA_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Index Register A"
- prop JSName :: "DMA_PRE_ALLOC_GBLIDXA"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLIDXA_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFEF) | (self.GBLIDXA_ALLOC << 4), "ok")
- }
- global GBLIDXB_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Index Register B"
- prop JSName :: "DMA_PRE_ALLOC_GBLIDXB"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLIDXB_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFDF) | (self.GBLIDXB_ALLOC << 5), "ok")
- }
- global GBLCNTA_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Count Reload Register A"
- prop JSName :: "DMA_PRE_ALLOC_GBLCNTA"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLCNTA_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFFBF) | (self.GBLCNTA_ALLOC << 6), "ok")
- }
- global GBLCNTB_ALLOC :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-allocation Global Count Reload Register B"
- prop JSName :: "DMA_PRE_ALLOC_GBLCNTB"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (self.GBLCNTB_ALLOC = $1, self.GBLREG_MASK = (self.GBLREG_MASK & 0xFFFFFF7F) | (self.GBLCNTB_ALLOC << 7), "ok")
- }
- global GBLREG_MASK :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Register Mask"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- global HandleName :: "dmaGblRegId" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "DMA Global Register ID"
- prop JSName :: "DMA_HANDLE_NAME"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLREG_MASK
- prop Set :: (self.HandleName = $1, "ok")
- }
- global PINIT_ENABLE :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "DMA_ENABLE_PRE_INIT"
- prop Visible :: 1
- prop Writable :: ((self.GBLREG_MASK != 0) && (CSL.DMA_SUPPORT != 0))
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; dmaGblCfg) {$a += 1}, if ($a == 1) {self.PINIT_ENABLE = 0, self.error("You must create a global register configuration object first")} else {self.PINIT_ENABLE = $1, if ($1 == 0) {self.PINIT = DMAGBL_NOTHING} , "ok"})
- }
- global PINIT :: = DMAGBL_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: dmaGblCfg
- prop Label :: "Pre-Initialize with"
- prop JSName :: "DMA_PRE_INIT"
- prop Visible :: 1
- prop Writable :: (self.PINIT_ENABLE == 1) && (self.GBLREG_MASK != 0) && (CSL.DMA_SUPPORT != 0)
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst GBLADDRA :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Global Address Reload Register A (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRA = $1, self.GBLADDRA_FORMAT = "Numeric", self.GBLADDRA_FORMAT_ADV = self.GBLADDRA_FORMAT, self.GBLADDRA_NUM = self.GBLADDRA, self.GBLADDRA_NUM_VALUE = self.GBLADDRA_NUM, self.GBLADDRA_SYM = "NULL", self.GBLADDRA_SYM_VALUE = self.GBLADDRA_SYM, "ok"})
- }
- inst GBLADDRA_FORMAT :: = "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Register A Format"
- prop JSName :: "dmaGbladdrAFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Symbolic") {self.GBLADDRA_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {self.GBLADDRA_FORMAT = $1, self.GBLADDRA_FORMAT_ADV = $1, if ($1 == "Numeric") {self.GBLADDRA_SYM = "NULL"} , "ok"})
- }
- inst GBLADDRA_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Reload Register A - Numeric "
- prop JSName :: "dmaGbladdrANumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRA_NUM = $1, self.GBLADDRA_NUM_VALUE = self.GBLADDRA_NUM, "ok"})
- }
- inst GBLADDRA_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Reload Register A - Symbolic "
- prop JSName :: "dmaGbladdrASymbolic"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT == "Symbolic"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRA_SYM = $1, self.GBLADDRA_SYM_VALUE = self.GBLADDRA_SYM, "ok"}})
- }
- inst GBLADDRB :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Global Address Reload Register B (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRB = $1, self.GBLADDRB_FORMAT = "Numeric", self.GBLADDRB_FORMAT_ADV = self.GBLADDRB_FORMAT, self.GBLADDRB_NUM = self.GBLADDRB, self.GBLADDRB_NUM_VALUE = self.GBLADDRB_NUM, self.GBLADDRB_SYM = "NULL", self.GBLADDRB_SYM_VALUE = self.GBLADDRB_SYM, "ok"})
- }
- inst GBLADDRB_FORMAT :: = "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Register B Format"
- prop JSName :: "dmaGbladdrBFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Symbolic") {self.GBLADDRB_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {self.GBLADDRB_FORMAT = $1, self.GBLADDRB_FORMAT_ADV = $1, if ($1 == "Numeric") {self.GBLADDRB_SYM = "NULL"} , "ok"})
- }
- inst GBLADDRB_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Reload Register B - Numeric "
- prop JSName :: "dmaGbladdrBNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRB_NUM = $1, self.GBLADDRB_NUM_VALUE = self.GBLADDRB_NUM, "ok"})
- }
- inst GBLADDRB_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Reload Register B - Symbolic "
- prop JSName :: "dmaGbladdrBSymbolic"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT == "Symbolic"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRB_SYM = $1, self.GBLADDRB_SYM_VALUE = self.GBLADDRB_SYM, "ok"}})
- }
- inst GBLADDRC :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Global Address Reload Register C (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRC = $1, self.GBLADDRC_FORMAT = "Numeric", self.GBLADDRC_FORMAT_ADV = self.GBLADDRC_FORMAT, self.GBLADDRC_NUM = self.GBLADDRC, self.GBLADDRC_NUM_VALUE = self.GBLADDRC_NUM, self.GBLADDRC_SYM = "NULL", self.GBLADDRC_SYM_VALUE = self.GBLADDRC_SYM, "ok"})
- }
- inst GBLADDRC_FORMAT :: = "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Register C Format"
- prop JSName :: "dmaGbladdrCFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Symbolic") {self.GBLADDRC_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {self.GBLADDRC_FORMAT = $1, self.GBLADDRC_FORMAT_ADV = $1, if ($1 == "Numeric") {self.GBLADDRC_SYM = "NULL"} , "ok"})
- }
- inst GBLADDRC_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Reload Register C - Numeric "
- prop JSName :: "dmaGbladdrCNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRC_NUM = $1, self.GBLADDRC_NUM_VALUE = self.GBLADDRC_NUM, "ok"})
- }
- inst GBLADDRC_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Reload Register C - Symbolic "
- prop JSName :: "dmaGbladdrCSymbolic"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT == "Symbolic"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRC_SYM = $1, self.GBLADDRC_SYM_VALUE = self.GBLADDRC_SYM, "ok"}})
- }
- inst GBLADDRD :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Global Address Reload Register D (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRD = $1, self.GBLADDRD_FORMAT = "Numeric", self.GBLADDRD_FORMAT_ADV = self.GBLADDRD_FORMAT, self.GBLADDRD_NUM = self.GBLADDRD, self.GBLADDRD_NUM_VALUE = self.GBLADDRD_NUM, self.GBLADDRD_SYM = "NULL", self.GBLADDRD_SYM_VALUE = self.GBLADDRD_SYM, "ok"})
- }
- inst GBLADDRD_FORMAT :: = "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Register D Format"
- prop JSName :: "dmaGbladdrDFormat"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Symbolic") {self.GBLADDRD_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {self.GBLADDRD_FORMAT = $1, self.GBLADDRD_FORMAT_ADV = $1, if ($1 == "Numeric") {self.GBLADDRD_SYM = "NULL"} , "ok"})
- }
- inst GBLADDRD_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Reload Register D - Numeric "
- prop JSName :: "dmaGbladdrDNumeric"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.GBLADDRD_NUM = $1, self.GBLADDRD_NUM_VALUE = self.GBLADDRD_NUM, "ok"})
- }
- inst GBLADDRD_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Reload Register D - Symbolic "
- prop JSName :: "dmaGbladdrDSymbolic"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT == "Symbolic"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Address"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRD_SYM = $1, self.GBLADDRD_SYM_VALUE = self.GBLADDRD_SYM, "ok"}})
- }
- inst IDXA_FRAME :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Index for Index Register A"
- prop JSName :: "dmaGblidxAFrameIndex"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Index"
- prop Set :: (if (($1 > 32767) | ($1 < -32768)) {self.error("Invalid Number, [-32768..32767]")} else {self.IDXA_FRAME = $1, self.IDXA_VALUE &= 0x0000FFFF, self.IDXA_VALUE |= ((self.IDXA_FRAME & 0xFFFF) << 16), "ok"})
- }
- inst IDXA_ELM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Index for Index Register A"
- prop JSName :: "dmaGblidxAElementIndex"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Index"
- prop Set :: (if (($1 > 32767) | ($1 < -32768)) {self.error("Invalid Number, [-32768..32767]")} else {self.IDXA_ELM = $1, self.IDXA_VALUE &= 0xFFFF0000, self.IDXA_VALUE |= (self.IDXA_ELM & 0xFFFF), "ok"})
- }
- inst IDXB_FRAME :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Index for Index Register B"
- prop JSName :: "dmaGblidxBFrameIndex"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Index"
- prop Set :: (if (($1 > 32767) | ($1 < -32768)) {self.error("Invalid Number, [-32768..32767]")} else {self.IDXB_FRAME = $1, self.IDXB_VALUE &= 0x0000FFFF, self.IDXB_VALUE |= ((self.IDXB_FRAME & 0xFFFF) << 16), "ok"})
- }
- inst IDXB_ELM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Index for Index Register B"
- prop JSName :: "dmaGblidxBElementIndex"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Index"
- prop Set :: (if (($1 > 32767) | ($1 < -32768)) {self.error("Invalid Number, [-32768..32767]")} else {self.IDXB_ELM = $1, self.IDXB_VALUE &= 0xFFFF0000, self.IDXB_VALUE |= self.IDXB_ELM & 0xFFFF, "ok"})
- }
- inst CNTA_FRAME :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Count for Global Count Reload Register A"
- prop JSName :: "dmaGblcntAFrameCountReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Counter"
- prop Set :: (if (($1 > 0x65535) | ($1 < 0)) {self.error("Invalid Number, [0..65535]")} else {self.CNTA_FRAME = $1, self.CNTA_VALUE &= 0x0000FFFF, self.CNTA_VALUE |= (self.CNTA_FRAME << 16), "ok"})
- }
- inst CNTA_ELM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Count for Global Count Reload Register A"
- prop JSName :: "dmaGblcntAElementCountReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Counter"
- prop Set :: (if (($1 > 65535) | ($1 < 0)) {self.error("Invalid Number, [0..65535]")} else {self.CNTA_ELM = $1, self.CNTA_VALUE &= 0xFFFF0000, self.CNTA_VALUE |= self.CNTA_ELM, "ok"})
- }
- inst CNTB_FRAME :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Count for Global Count Reload Register B"
- prop JSName :: "dmaGblcntBFrameCountReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Counter"
- prop Set :: (if (($1 > 0x65535) | ($1 < 0)) {self.error("Invalid Number, [0..65535]")} else {self.CNTB_FRAME = $1, self.CNTB_VALUE &= 0x0000FFFF, self.CNTB_VALUE |= (self.CNTB_FRAME << 16), "ok"})
- }
- inst CNTB_ELM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Count for Global Count Reload Register B"
- prop JSName :: "dmaGblcntBElementCountReload"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Global Counter"
- prop Set :: (if (($1 > 65535) | ($1 < 0)) {self.error("Invalid Number, [0..65535]")} else {self.CNTB_ELM = $1, self.CNTB_VALUE &= 0xFFFF0000, self.CNTB_VALUE |= self.CNTB_ELM, "ok"})
- }
- inst GBLADDRA_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Address Reload Register A (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRA_VALUE = $1, self.GBLADDRA_FORMAT = "Numeric", self.GBLADDRA_FORMAT_ADV = self.GBLADDRA_FORMAT, self.GBLADDRA_NUM = self.GBLADDRA, self.GBLADDRA_NUM_VALUE = self.GBLADDRA_NUM, self.GBLADDRA_SYM = "NULL", self.GBLADDRA_SYM_VALUE = self.GBLADDRA_SYM, "ok")
- }
- inst GBLADDRA_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Reg A (GBLADDRA) Format"
- prop JSName :: "dmaGbladdrAFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRA_FORMAT_ADV = $1, self.GBLADDRA_FORMAT = $1, "ok")
- }
- inst GBLADDRA_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Reload Register A - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGbladdrANumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT_ADV == "Numeric"
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRA_NUM_VALUE = $1, self.GBLADDRA_NUM = $1, "ok")
- }
- inst GBLADDRA_SYM_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Reload Register A - Symbolic "
- prop JSName :: "dmaGbladdrASymbolicAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT_ADV == "Symbolic"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRA_FORMAT_ADV == "Symbolic"
- prop TabName :: "Advanced"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.GBLADDRA_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRA_SYM = $1, self.GBLADDRA_SYM_VALUE = $1, "ok"}})
- }
- inst GBLADDRB_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Address Reload Register B (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRB_VALUE = $1, self.GBLADDRB_FORMAT = "Numeric", self.GBLADDRB_FORMAT_ADV = self.GBLADDRB_FORMAT, self.GBLADDRB_NUM = self.GBLADDRB, self.GBLADDRB_NUM_VALUE = self.GBLADDRB_NUM, self.GBLADDRB_SYM = "NULL", self.GBLADDRB_SYM_VALUE = self.GBLADDRB_SYM, "ok")
- }
- inst GBLADDRB_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Reg B (GBLADDRB) Format"
- prop JSName :: "dmaGbladdrBFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRB_FORMAT_ADV = $1, self.GBLADDRB_FORMAT = $1, "ok")
- }
- inst GBLADDRB_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Reload Register B - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGbladdrBNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT_ADV == "Numeric"
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRB_NUM_VALUE = $1, self.GBLADDRB_NUM = $1, "ok")
- }
- inst GBLADDRB_SYM_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Reload Register B - Symbolic "
- prop JSName :: "dmaGbladdrBSymbolicAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT_ADV == "Symbolic"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRB_FORMAT_ADV == "Symbolic"
- prop TabName :: "Advanced"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.GBLADDRB_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRB_SYM = $1, self.GBLADDRB_SYM_VALUE = $1, "ok"}})
- }
- inst GBLADDRC_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Address Reload Register C (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRC_VALUE = $1, self.GBLADDRC_FORMAT = "Numeric", self.GBLADDRC_FORMAT_ADV = self.GBLADDRC_FORMAT, self.GBLADDRC_NUM = self.GBLADDRC, self.GBLADDRC_NUM_VALUE = self.GBLADDRC_NUM, self.GBLADDRC_SYM = "NULL", self.GBLADDRC_SYM_VALUE = self.GBLADDRC_SYM, "ok")
- }
- inst GBLADDRC_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Reg C (GBLADDRC) Format"
- prop JSName :: "dmaGbladdrCFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRC_FORMAT_ADV = $1, self.GBLADDRC_FORMAT = $1, "ok")
- }
- inst GBLADDRC_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Reload Register C - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGbladdrCNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT_ADV == "Numeric"
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRC_NUM_VALUE = $1, self.GBLADDRC_NUM = $1, "ok")
- }
- inst GBLADDRC_SYM_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Reload Register C - Symbolic "
- prop JSName :: "dmaGbladdrCSymbolicAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT_ADV == "Symbolic"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRC_FORMAT_ADV == "Symbolic"
- prop TabName :: "Advanced"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.GBLADDRC_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRC_SYM = $1, self.GBLADDRC_SYM_VALUE = $1, "ok"}})
- }
- inst GBLADDRD_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Address Reload Register D (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRD_VALUE = $1, self.GBLADDRD_FORMAT = "Numeric", self.GBLADDRD_FORMAT_ADV = self.GBLADDRD_FORMAT, self.GBLADDRD_NUM = self.GBLADDRD, self.GBLADDRD_NUM_VALUE = self.GBLADDRD_NUM, self.GBLADDRD_SYM = "NULL", self.GBLADDRD_SYM_VALUE = self.GBLADDRD_SYM, "ok")
- }
- inst GBLADDRD_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Symbolic"
- prop Label :: "Global Address Reload Reg D (GBLADDRD) Format"
- prop JSName :: "dmaGbladdrDFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRD_FORMAT_ADV = $1, self.GBLADDRD_FORMAT = $1, "ok")
- }
- inst GBLADDRD_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Reload Register D - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGbladdrDNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT_ADV == "Numeric"
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.GBLADDRD_NUM_VALUE = $1, self.GBLADDRD_NUM = $1, "ok")
- }
- inst GBLADDRD_SYM_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Reload Register D - Symbolic "
- prop JSName :: "dmaGbladdrDSymbolicAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT_ADV == "Symbolic"
- prop NoGen :: 1
- prop cGen :: CSL.DMA_SUPPORT && self.GBLADDRD_FORMAT_ADV == "Symbolic"
- prop TabName :: "Advanced"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.GBLADDRD_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {$a = 2}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {self.GBLADDRD_SYM = $1, self.GBLADDRD_SYM_VALUE = $1, "ok"}})
- }
- inst IDXA_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Index Reg A (GBLIDXA)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGblidxAAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IDXA_VALUE = $1, self.IDXA_FRAME = ($1 >> 16) & 0x0000FFFF, self.IDXA_ELM = ($1 & 0x0000FFFF), "ok")
- }
- inst IDXB_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Index Reg B (GBLIDXB)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGblidxBAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IDXB_VALUE = $1, self.IDXB_FRAME = ($1 >> 16) & 0x0000FFFF, self.IDXB_ELM = ($1 & 0x0000FFFF), "ok")
- }
- inst CNTA_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Count Reload Reg A (GBLCNTA)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGblcntAAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.CNTA_VALUE = $1, self.CNTA_FRAME = ($1 >> 16) & 0x0000FFFF, self.CNTA_ELM = ($1 & 0x0000FFFF), "ok")
- }
- inst CNTB_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Count Reload Reg B (GBLCNTB)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "dmaGblcntBAdv"
- prop Visible :: 1
- prop Writable :: CSL.DMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.CNTB_VALUE = $1, self.CNTB_FRAME = ($1 >> 16) & 0x0000FFFF, self.CNTB_ELM = ($1 & 0x0000FFFF), "ok")
- }
- }
- object DMAGBL_NOTHING :: dmaGblCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param GBLADDRA :: 0
- param GBLADDRA_NUM :: 0
- param GBLADDRA_SYM :: "NULL"
- param GBLADDRB :: 0
- param GBLADDRB_NUM :: 0
- param GBLADDRB_SYM :: "NULL"
- param GBLADDRC :: 0
- param GBLADDRC_NUM :: 0
- param GBLADDRC_SYM :: "NULL"
- param GBLADDRD :: 0
- param GBLADDRD_NUM :: 0
- param GBLADDRD_SYM :: "NULL"
- param IDXA_FRAME :: 0
- param IDXA_ELM :: 0
- param IDXB_FRAME :: 0
- param IDXB_ELM :: 0
- param CNTA_FRAME :: 0
- param CNTA_ELM :: 0
- param CNTB_FRAME :: 0
- param CNTB_ELM :: 0
- param GBLADDRA_FORMAT_ADV :: "Numeric"
- param GBLADDRA_SYM_VALUE :: "NULL"
- param GBLADDRB_FORMAT_ADV :: "Numeric"
- param GBLADDRB_SYM_VALUE :: "NULL"
- param GBLADDRC_FORMAT_ADV :: "Numeric"
- param GBLADDRC_SYM_VALUE :: "NULL"
- param GBLADDRD_FORMAT_ADV :: "Numeric"
- param GBLADDRD_SYM_VALUE :: "NULL"
- }
- type EDMAFOLDER {
- prop Label :: "EDMA Enhanced Direct Memory Access"
- prop GlobalIcon :: 165
- prop InstanceIcon :: 166
- prop GlobalHelpTopic :: 1030
- prop GlobalPropertyPage :: "{B936FB91-49A5-11d4-967C-0050048381B7}"
- prop IsContainedIn :: CSL
- prop NoGen :: 1
- }
- type edmaCfg {
- isa ObjectMgr
- prop name :: "edmaCfg"
- prop Label :: "EDMA Configuration Manager"
- prop JSName :: "EDMA"
- prop IsContainedIn :: EDMAFOLDER
- prop GlobalIcon :: 165
- prop InstanceIcon :: 166
- prop GlobalHelpTopic :: 1031
- prop InstanceHelpTopic :: 1031
- prop GlobalPropertyPage :: "{C5CB30B4-F113-11d2-84A5-00105A98CA0B}"
- prop InstancePropertyPage :: "{AC0C36D1-890B-11d0-A621-0000C070F3E9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT
- prop cStruct :: CSL.EDMA_SUPPORT
- prop cStructType :: "EDMA_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_edma.h"} else {""}
- prop cStructQual :: "far"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; edmaCfg) {$a += 1}, if ($a == 2) {scan ($c; hEdma) {$c.PINIT_ENABLE = 0}, scan ($d; hEdmaTbl) {$d.PINIT_ENABLE = 0}} , "ok")
- prop FSYNC_OPTION :: (if (self.FSYNC_SETUP == "None") {0x00000000} else {if (self.FSYNC_SETUP == "Enable") {0x00000001} })
- prop TDS_OPTION :: (if (self.TDS_SETUP == "Disable") {0x00000000} else {if (self.TDS_SETUP == "Enable") {0x04000000} })
- prop TDD_OPTION :: (if (self.TDD_SETUP == "Disable") {0x00000000} else {if (self.TDD_SETUP == "Enable") {0x00800000} })
- prop DUM_OPTION :: (if (self.DUM_SETUP == "None") {0x00000000} else {if (self.DUM_SETUP == "Increment") {0x00200000} else {if (self.DUM_SETUP == "Decrement") {0x00400000} else {if (self.DUM_SETUP == "Index") {0x00600000} }}})
- prop SUM_OPTION :: (if (self.SUM_SETUP == "None") {0x00000000} else {if (self.SUM_SETUP == "Increment") {0x01000000} else {if (self.SUM_SETUP == "Decrement") {0x02000000} else {if (self.SUM_SETUP == "Index") {0x03000000} }}})
- prop PDTS_OPTION :: (if (self.PDTS_SETUP == "Disable") {0x00000000} else {if (self.PDTS_SETUP == "Enable") {0x00000008} })
- prop ESIZE_OPTION :: (if (self.ESIZE_SETUP == "32-bit") {0x00000000} else {if (self.ESIZE_SETUP == "16-bit") {0x08000000} else {if (self.ESIZE_SETUP == "8-bit") {0x10000000} }})
- prop PRI_OPTION :: (if (CSL.C64_SUPPORT) {if (self.PRI_SETUP == "Urgent(64x)") {0x00000000} else {if (self.PRI_SETUP == "High") {0x20000000} else {if (self.PRI_SETUP == "Medium") {0x40000000} else {if (self.PRI_SETUP == "Low") {0x60000000} }}}} else {if (self.PRI_SETUP == "High") {0x20000000} else {if (self.PRI_SETUP == "Low") {0x40000000} }})
- prop TCINT_OPTION :: (if (self.TCINT_SETUP == "Disable") {0x00000000} else {if (self.TCINT_SETUP == "Enable") {0x00100000} })
- prop TCC_OPTION :: (self.TCC_SETUP_NEW << 16)
- prop TCC_OPTION_OLD :: (if (self.TCC_SETUP == "Host to DSP Interrupt") {0x00000000 >> 16} else {if (self.TCC_SETUP == "Timer 0 Interrupt") {0x00010000 >> 16} else {if (self.TCC_SETUP == "Timer 1 Interrupt") {0x00020000 >> 16} else {if (self.TCC_SETUP == "EMIF Timer Interrupt") {0x00030000 >> 16} else {if (self.TCC_SETUP == "External Interrupt Pin 4") {0x00040000 >> 16} else {if (self.TCC_SETUP == "External Interrupt Pin 5") {0x00050000 >> 16} else {if (self.TCC_SETUP == "External Interrupt Pin 6") {0x00060000 >> 16} else {if (self.TCC_SETUP == "External Interrupt Pin 7") {0x00070000 >> 16} else {if (self.TCC_SETUP == "EDMA_TCC 1000b Interrupt") {0x00080000 >> 16} else {if (self.TCC_SETUP == "EDMA_TCC 1001b Interrupt") {0x00090000 >> 16} else {if (self.TCC_SETUP == "EDMA_TCC 1010b Interrupt") {0x000A0000 >> 16} else {if (self.TCC_SETUP == "EDMA_TCC 1011b Interrupt") {0x000B0000 >> 16} else {if (self.TCC_SETUP == "McBSP 0 Transmit Event") {0x000C0000 >> 16} else {if (self.TCC_SETUP == "McBSP 0 Receive Event") {0x000D0000 >> 16} else {if (self.TCC_SETUP == "McBSP 1 Transmit Event") {0x000E0000 >> 16} else {if (self.TCC_SETUP == "McBSP 1 Receive Event") {0x000F0000 >> 16} }}}}}}}}}}}}}}})
- prop TCCM_OPTION :: (self.TCCM_SETUP << 13)
- prop ATCINT_OPTION :: (if (self.ATCINT_SETUP == "Disable") {0x00000000} else {if (self.ATCINT_SETUP == "Enable") {0x00001000} })
- prop ATCC_OPTION :: (self.ATCC_SETUP << 5)
- prop PDTD_OPTION :: (if (self.PDTD_SETUP == "Disable") {0x00000000} else {if (self.PDTD_SETUP == "Enable") {0x00000004} })
- prop LINK_OPTION :: (if (self.LINK_SETUP == "Disable") {0x00000000} else {if (self.LINK_SETUP == "Enable") {0x00000002} })
- prop OPTION_VALUE_update :: (self.FSYNC_OPTION() | self.LINK_OPTION() | self.TCC_OPTION() | (if (CSL.C64_SUPPORT) {self.TCCM_OPTION()} else {0}) | self.TCINT_OPTION() | (if (CSL.C64_SUPPORT) {self.ATCINT_OPTION()} else {0}) | (if (CSL.C64_SUPPORT) {self.ATCC_OPTION()} else {0}) | (if (CSL.C64_SUPPORT) {self.PDTS_OPTION()} else {0}) | (if (CSL.C64_SUPPORT) {self.PDTD_OPTION()} else {0}) | self.DUM_OPTION() | self.TDD_OPTION() | self.SUM_OPTION() | self.TDS_OPTION() | self.ESIZE_OPTION() | self.PRI_OPTION())
- prop OPTION_SETUP_update :: (self.FSYNC_SETUP = if ($1 & 0x00000001) {"Enable"} else {"None"}, if (CSL.C64_SUPPORT) {self.PDTS_SETUP = if ($1 & 0x00000008) {"Enable"} else {"Disable"}, self.PDTD_SETUP = if ($1 & 0x00000004) {"Enable"} else {"Disable"}} , self.LINK_SETUP = if ($1 & 0x00000002) {"Enable"} else {"Disable"}, if (CSL.C64_SUPPORT) {self.TCCM_SETUP = ($1 & 0x00006000) >> 13} , self.TCC_SETUP_NEW = ($1 & 0x000F0000) >> 16, self.TCINT_SETUP = if ($1 & 0x00100000) {"Enable"} else {"Disable"}, if (CSL.C64_SUPPORT) {self.ATCINT_SETUP = if ($1 & 0x00001000) {"Enable"} else {"Disable"}, self.ATCC_SETUP = ($1 & 0x000007E0) >> 5} , self.DUM_SETUP = ($a = ($1 & 0x00600000), if ($a == 0x00200000) {"Increment"} else {if ($a == 0x00400000) {"Decrement"} else {if ($a == 0x00600000) {"Index"} else {"None"}}}), self.TDD_SETUP = if ($1 & 0x00800000) {"Enable"} else {"Disable"}, self.SUM_SETUP = ($a = ($1 & 0x03000000), if ($a == 0x01000000) {"Increment"} else {if ($a == 0x02000000) {"Decrement"} else {if ($a == 0x03000000) {"Index"} else {"None"}}}), self.TDS_SETUP = if ($1 & 0x04000000) {"Enable"} else {"Disable"}, self.ESIZE_SETUP = ($a = ($1 & 0x18000000), if ($a == 0x08000000) {"16-bit"} else {if ($a == 0x10000000) {"8-bit"} else {"32-bit"}}), if (CSL.C64_SUPPORT) {self.PRI_SETUP = ($a = ($1 & 0xE0000000), if ($a == 0x00000000) {"Urgent(64x)"} else {if ($a == 0x40000000) {"Medium"} else {if ($a == 0x20000000) {"High"} else {"Low"}}})} else {self.PRI_SETUP = ($a = ($1 & 0xE0000000), if ($a == 0x20000000) {"High"} else {"Low"})})
- prop CheckAllocateTable :: ($a = 0, scan ($b; hEdmaTbl) {if (self.LINK_TBLHANDLE == $b) {if ($b.EDMA_PRAMTABLE_ALLOC == 1) {$a += 1} } }, if ($a == 0) {self.LINK_PARAMTBL = PARAMTBL_NOTHING, "Allocate Table first"} else {"done"})
- prop configStruct :: self
- prop cfgStrRLD :: if (self.LINK_FORMAT == "Table Handle" && self.LINK_TBLHANDLE != PARAMTBL_NOTHING && self.CheckAllocateTable == "done") {"%5t%3s.rld = (%3s.rld & 0xFFFF0000) | (EDMA_RLD_RMK(0,"} else {""}
- prop TblHandle :: if (self.LINK_FORMAT == "Table Handle" && self.LINK_TBLHANDLE != PARAMTBL_NOTHING && self.CheckAllocateTable == "done") {self.LINK_TBLHANDLE} else {""}
- prop TblMaskStr :: if (self.LINK_FORMAT == "Table Handle" && self.LINK_TBLHANDLE != PARAMTBL_NOTHING && self.CheckAllocateTable == "done") {"%4s));n%0t"} else {""}
- prop cfgStrCNT :: if (self.XFRCNT_FORMAT == "User's Header file") {"%5t%3s.cnt = EDMA_CNT_RMK("} else {""}
- prop FramecntStr :: (if (self.XFRCNT_FORMAT == "User's Header file" && self.FRAMECNT_HEADER == "NULL") {"0"} else {if (self.XFRCNT_FORMAT == "User's Header file" && self.FRAMECNT_HEADER != "NULL") {self.FRAMECNT_HEADER} else {""}})
- prop ElmcntStr :: (if (self.XFRCNT_FORMAT == "User's Header file" && self.ELMCNT_HEADER == "NULL") {"0"} else {if (self.XFRCNT_FORMAT == "User's Header file" && self.ELMCNT_HEADER != "NULL") {self.ELMCNT_HEADER} else {""}})
- prop XfrCntStr :: if (self.XFRCNT_FORMAT == "User's Header file") {"%7s,%8s);n%0t"} else {""}
- prop cfgStrIDX :: if (self.XFRIDX_FORMAT == "User's Header file") {"%5t%3s.idx = EDMA_IDX_RMK("} else {""}
- prop FrameidxStr :: (if (self.XFRIDX_FORMAT == "User's Header file" && self.FRAMEIDX_HEADER == "NULL") {"0"} else {if (self.XFRIDX_FORMAT == "User's Header file" && self.FRAMEIDX_HEADER != "NULL") {self.FRAMEIDX_HEADER} else {""}})
- prop ElmidxStr :: (if (self.XFRIDX_FORMAT == "User's Header file" && self.ELMIDX_HEADER == "NULL") {"0"} else {if (self.XFRIDX_FORMAT == "User's Header file" && self.ELMIDX_HEADER != "NULL") {self.ELMIDX_HEADER} else {""}})
- prop XfrIdxStr :: if (self.XFRIDX_FORMAT == "User's Header file") {"%11s,%12s);n%0t"} else {""}
- prop cfgStrSRC :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {"%5t%3s.src = EDMA_SRC_RMK("} else {""}
- prop SrcHandle :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {self.SRCADDR_HANDLE} else {""}
- prop SrcStr :: if (self.SRCADDR_FORMAT == "McBSP handle (DRR)" && self.SRCADDR_HANDLE != "NULL") {"%15s->drrAddr);n%0t"} else {""}
- prop cfgStrDST :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {"%5t%3s.dst = EDMA_DST_RMK("} else {""}
- prop DstHandle :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {self.DSTADDR_HANDLE} else {""}
- prop DstStr :: if (self.DSTADDR_FORMAT == "McBSP handle (DXR)" && self.DSTADDR_HANDLE != "NULL") {"%18s->dxrAddr);n%0t"} else {""}
- prop cGenFxnPostInst :: ("%1S%2S%5S%6S%9S%10S%13S%14S%16S%17S ,cfgStrRLD,TblMaskStr,configStruct,TblHandle,cfgStrCNT,XfrCntStr,FramecntStr,ElmcntStr,cfgStrIDX,XfrIdxStr,FrameidxStr,ElmidxStr,cfgStrSRC,SrcStr,SrcHandle,cfgStrDST,DstStr,DstHandle")
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst FSYNC_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Enable"
- prop Label :: "Frame Sync(FS)"
- prop JSName :: "edmaOptionsFS"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.FSYNC_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TDS_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Two Dimensional Source Transfer(2DS)"
- prop JSName :: "edmaOptions2ds"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.TDS_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TDD_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Two Dimensional Destination Transfer(2DD)"
- prop Visible :: 1
- prop JSName :: "edmaOptions2dd"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.TDD_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst DUM_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Destination Address Update Mode(DUM)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsDum"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.DUM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst SUM_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Source Address Update Mode(SUM)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsSum"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.SUM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst PDTS_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Peripheral Device Transfer Srce(PDTS)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsPdts"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.PDTS_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst ESIZE_SETUP :: "32-bit" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit,16-bit,8-bit"
- prop Label :: "Element Size(ESIZE)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsEsize"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.ESIZE_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst PRI_SETUP :: "Urgent(64x)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Low,Medium,High,Urgent(64x)"
- prop Label :: "Priority Levels(PRI)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsPri"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (if (!CSL.C64_SUPPORT) {if ($1 == "Medium" || $1 == "Urgent(64x)") {self.error("Invalid Selection, For C64x only")} else {self.PRI_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"}} else {self.PRI_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst TCINT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Transfer Complete Interrupt(TCINT)"
- prop JSName :: "edmaOptionsTcint"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (self.TCINT_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TCC_SETUP :: "Host to DSP Interrupt" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Host to DSP Interrupt,Timer 0 Interrupt,Timer 1 Interrupt,EMIF Timer Interrupt,External Interrupt Pin 4,External Interrupt Pin 5,External Interrupt Pin 6,External Interrupt Pin 7,EDMA_TCC 1000b Interrupt,EDMA_TCC 1001b Interrupt,EDMA_TCC 1010b Interrupt,EDMA_TCC 1011b Interrupt,McBSP 0 Transmit Event,McBSP 0 Receive Event,McBSP 1 Transmit Event,McBSP 1 Receive Event"
- prop Label :: "Transfer Complete Code(TCC)"
- prop Visible :: 0
- prop Writable :: (if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (self.TCC_SETUP = $1, self.TCC_SETUP_NEW = self.TCC_OPTION_OLD(), self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TCC_SETUP_NEW :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: 0x01 | 0x02
- prop Label :: "Transfer Complete Code(TCC)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsTcc"
- prop Writable :: (if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" TCC value has to be set between 0 and 15")} else {self.TCC_SETUP_NEW = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst TCCM_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: 0x01 | 0x02
- prop Style :: 0x01
- prop Label :: "Most Significant Bits of Transfer Complete Code(TCCM)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable") && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsTccm"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (if ($1 > 3) {self.error("Invalid Number, Should be between 0 and 3")} else {self.TCCM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst ATCINT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Alternate Transfer Complete Interrupt(ATCINT)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsAtcint"