⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app.tcf

📁 TI公司的算法标准 Framework5的源代码
💻 TCF
📖 第 1 页 / 共 2 页
字号:
prog.module("TSK").instance("tskCapture").priority = 2// value changed://    old  tskCapture.Task function = prog.decl("FXN_F_nop")//    new  tskCapture.Task function = prog.decl("thrCaptureRun")prog.module("TSK").instance("tskCapture").fxn = prog.decl("thrCaptureRun")// value changed://    old  tskCapture.comment = "<add comments here>"//    new  tskCapture.comment = "Capture Task"prog.module("TSK").instance("tskCapture").comment = "Capture Task"// value changed://    old  tskDisplay.Priority = 1//    new  tskDisplay.Priority = 2prog.module("TSK").instance("tskDisplay").priority = 2// value changed://    old  tskDisplay.Task function = prog.decl("FXN_F_nop")//    new  tskDisplay.Task function = prog.decl("thrDisplayRun")prog.module("TSK").instance("tskDisplay").fxn = prog.decl("thrDisplayRun")// value changed://    old  tskDisplay.comment = "<add comments here>"//    new  tskDisplay.comment = "Display Task"prog.module("TSK").instance("tskDisplay").comment = "Display Task"// value changed://    old  tskProcess.Priority = 1//    new  tskProcess.Priority = 2prog.module("TSK").instance("tskProcess").priority = 2// value changed://    old  tskProcess.Stack size (MAUs) = 1024//    new  tskProcess.Stack size (MAUs) = 4096prog.module("TSK").instance("tskProcess").stackSize = 4096// value changed://    old  tskProcess.Task function = prog.decl("FXN_F_nop")//    new  tskProcess.Task function = prog.decl("thrProcessRun")prog.module("TSK").instance("tskProcess").fxn = prog.decl("thrProcessRun")// value changed://    old  tskProcess.comment = "<add comments here>"//    new  tskProcess.comment = "Data Processing Task"prog.module("TSK").instance("tskProcess").comment = "Data Processing Task"// value changed://    old  tskControl.Priority = 1//    new  tskControl.Priority = 2prog.module("TSK").instance("tskControl").priority = 2// value changed://    old  tskControl.Task function = prog.decl("FXN_F_nop")//    new  tskControl.Task function = prog.decl("thrControlRun")prog.module("TSK").instance("tskControl").fxn = prog.decl("thrControlRun")// value changed://    old  tskControl.comment = "<add comments here>"//    new  tskControl.comment = "Control Task"prog.module("TSK").instance("tskControl").comment = "Control Task"// value changed://    old  LOG_system.buflen (words) = 64//    new  LOG_system.buflen (words) = 256prog.module("LOG").instance("LOG_system").bufLen = 256// value changed://    old  logTrace.buflen (words) = 64//    new  logTrace.buflen (words) = 256prog.module("LOG").instance("logTrace").bufLen = 256// value changed://    old  logTrace.comment = "<add comments here>"//    new  logTrace.comment = "default LOG object for application messages"prog.module("LOG").instance("logTrace").comment = "default LOG object for application messages"// value changed://    old  mbxProcess.Mailbox Length = 1//    new  mbxProcess.Mailbox Length = 5prog.module("MBX").instance("mbxProcess").length = 5// value changed://    old  mbxProcess.Message Size = 1//    new  mbxProcess.Message Size = 12prog.module("MBX").instance("mbxProcess").messageSize = 12// value changed://    old  mbxProcess.comment = "<add comments here>"//    new  mbxProcess.comment = "Mailbox for messages from the Control thread"prog.module("MBX").instance("mbxProcess").comment = "Mailbox for messages from the Control thread"// value changed://    old  stsCycleTime.host operation = "Nothing"//    new  stsCycleTime.host operation = "A * x"prog.module("STS").instance("stsCycleTime").operation = "A * x"// value changed://    old  stsCycleTime.unit type = "Not time based"//    new  stsCycleTime.unit type = "High resolution time based"prog.module("STS").instance("stsCycleTime").unitType = "High resolution time based"// value changed://    old  stsCycleTime.comment = "<add comments here>"//    new  stsCycleTime.comment = "Cycle time between frames"prog.module("STS").instance("stsCycleTime").comment = "Cycle time between frames"// value changed://    old  stsExeTimeChPass.host operation = "Nothing"//    new  stsExeTimeChPass.host operation = "A * x"prog.module("STS").instance("stsExeTimeChPass").operation = "A * x"// value changed://    old  stsExeTimeChPass.unit type = "Not time based"//    new  stsExeTimeChPass.unit type = "High resolution time based"prog.module("STS").instance("stsExeTimeChPass").unitType = "High resolution time based"// value changed://    old  stsExeTimeChPass.comment = "<add comments here>"//    new  stsExeTimeChPass.comment = "Execution time for passthrough channel"prog.module("STS").instance("stsExeTimeChPass").comment = "Execution time for passthrough channel"// value changed://    old  stsExeTimeChCombo.host operation = "Nothing"//    new  stsExeTimeChCombo.host operation = "A * x"prog.module("STS").instance("stsExeTimeChCombo").operation = "A * x"// value changed://    old  stsExeTimeChCombo.unit type = "Not time based"//    new  stsExeTimeChCombo.unit type = "High resolution time based"prog.module("STS").instance("stsExeTimeChCombo").unitType = "High resolution time based"// value changed://    old  stsExeTimeChCombo.comment = "<add comments here>"//    new  stsExeTimeChCombo.comment = "Execution time for combo channel"prog.module("STS").instance("stsExeTimeChCombo").comment = "Execution time for combo channel"// value changed://    old  stsExeTimeChRotate.host operation = "Nothing"//    new  stsExeTimeChRotate.host operation = "A * x"prog.module("STS").instance("stsExeTimeChRotate").operation = "A * x"// value changed://    old  stsExeTimeChRotate.unit type = "Not time based"//    new  stsExeTimeChRotate.unit type = "High resolution time based"prog.module("STS").instance("stsExeTimeChRotate").unitType = "High resolution time based"// value changed://    old  stsExeTimeChRotate.comment = "<add comments here>"//    new  stsExeTimeChRotate.comment = "Execution time for rotate channel"prog.module("STS").instance("stsExeTimeChRotate").comment = "Execution time for rotate channel"// value changed://    old  stsWaitTime.host operation = "Nothing"//    new  stsWaitTime.host operation = "A * x"prog.module("STS").instance("stsWaitTime").operation = "A * x"// value changed://    old  stsWaitTime.unit type = "Not time based"//    new  stsWaitTime.unit type = "High resolution time based"prog.module("STS").instance("stsWaitTime").unitType = "High resolution time based"// value changed://    old  stsWaitTime.comment = "<add comments here>"//    new  stsWaitTime.comment = "Amount of wait time in capture driver"prog.module("STS").instance("stsWaitTime").comment = "Amount of wait time in capture driver"// value changed://    old  stsExeTimeChDiff.host operation = "Nothing"//    new  stsExeTimeChDiff.host operation = "A * x"prog.module("STS").instance("stsExeTimeChDiff").operation = "A * x"// value changed://    old  stsExeTimeChDiff.unit type = "Not time based"//    new  stsExeTimeChDiff.unit type = "High resolution time based"prog.module("STS").instance("stsExeTimeChDiff").unitType = "High resolution time based"// value changed://    old  stsExeTimeChDiff.comment = "<add comments here>"//    new  stsExeTimeChDiff.comment = "Execution time for diff channel"prog.module("STS").instance("stsExeTimeChDiff").comment = "Execution time for diff channel"// value changed://    old  SYS.Putc Function = prog.decl("UTL_doPutc")//    new  SYS.Putc Function = prog.decl("FXN_F_nop")prog.module("SYS").PUTCFXN = prog.decl("FXN_F_nop")// value changed://    old  HWI_INT7.Use Dispatcher = 0//    new  HWI_INT7.Use Dispatcher = 1prog.module("HWI").instance("HWI_INT7").useDispatcher = 1// value changed://    old  HWI_INT7.function = prog.decl("HWI_unused", "asm")//    new  HWI_INT7.function = prog.decl("INTR_dispatchExtInt")prog.module("HWI").instance("HWI_INT7").fxn = prog.decl("INTR_dispatchExtInt")// value changed://    old  HWI_INT8.Use Dispatcher = 0//    new  HWI_INT8.Use Dispatcher = 1prog.module("HWI").instance("HWI_INT8").useDispatcher = 1// value changed://    old  HWI_INT8.function = prog.decl("HWI_unused", "asm")//    new  HWI_INT8.function = prog.decl("INTR_dispatchEdma")prog.module("HWI").instance("HWI_INT8").fxn = prog.decl("INTR_dispatchEdma")assert.add('prog.module("HWI").instance("HWI_INT9").useDispatcher == 1')assert.add('prog.module("HWI").instance("HWI_INT9").fxn == prog.decl("RTDX_Poll")')assert.add('prog.module("HWI").instance("HWI_INT9").interruptSource == prog.get("JTAGRTDX9")')assert.add('prog.module("HWI").instance("HWI_INT14").interruptSource == prog.get("Timer_0")')// check any and all asserts added in the script aboveassert.check();prog.gen("app");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -