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

📄 firtest1cfg.s54

📁 使用在TI DSP c54xx系列的 xdaix
💻 S54
📖 第 1 页 / 共 4 页
字号:
        .asg KNL_tick_stub, _THOOKFXN

        PRD_config  _SCALAR, _THOOKFXN



;; ======== RTDX_config ========

        .asg 01H, _USERTDX

        .asg 00H, _USERTEXECUTION

        .asg IDATA, _DATAMEMSEG

        .asg 0102H, _BUFMEMSIZE

        RTDX_config  _USERTDX, _USERTEXECUTION, _DATAMEMSEG, _BUFMEMSIZE



;; ======== HST_config ========

        .asg 01H, _RTDX

        .asg 00H, _DSM

        .asg 00H, _NONE

        .asg 040H, _MAXFRAMESET

        .asg 0100H, _MAXFRAMEALLOWED

        .asg IDATA, _DSMBUFSEG

        .asg 0400H, _DSMMEMSIZE

        HST_config  _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE



;; ======== HWI_config ========

        HWI_config



;; ======== SWI_config ========

        .asg GBL_NULL, _EHOOKFXN

        .asg GBL_NULL, _IHOOKFXN

        .asg SWI_F_exec, _EXECFXN

        .asg SWI_F_run, _RUNFXN

        SWI_config  _EHOOKFXN, _IHOOKFXN, _EXECFXN, _RUNFXN



;; ======== TSK_config ========

        .asg 0100H, _STACKSIZE

        .asg MEM_NULL, _STACKSEG

        .asg 01H, _PRIORITY

        .asg _FXN_F_nop, _VCREATEFXN

        .asg _FXN_F_nop, _VDELETEFXN

        .asg _FXN_F_nop, _VEXITFXN

        .asg 00H, _SWITCHFXN

        .asg 00H, _READYFXN

        .asg 00H, _NUM_HOOKS

        TSK_config  _STACKSIZE, _STACKSEG, _PRIORITY, _VCREATEFXN, _VDELETEFXN, _VEXITFXN, _SWITCHFXN, _READYFXN, _NUM_HOOKS



;; ======== IDL_config ========

        .asg 01H, _USECLKIDLTIME

        .asg IDL_F_stub, _CALIBRFXN

        IDL_config  _USECLKIDLTIME, _CALIBRFXN



;; ======== LOG_config ========

        .asg 01H, _ENABLED

        LOG_config  _ENABLED



;; ======== PIP_config ========

        .asg 02H, _gNumEmbed

        .asg 00H, _gNextId

        PIP_config  _gNumEmbed, _gNextId



;; ======== SEM_config ========

        SEM_config



;; ======== MBX_config ========

        MBX_config



;; ======== QUE_config ========

        QUE_config



;; ======== LCK_config ========

        LCK_config



;; ======== SIO_config ========

        SIO_config



;; ======== STS_config ========

        STS_config



;; ======== SYS_config ========

        .asg _UTL_doAbort, _ABORTFXN

        .asg _UTL_doError, _ERRORFXN

        .asg _UTL_halt, _EXITFXN

        .asg _UTL_doPutc, _PUTCFXN

        SYS_config  _ABORTFXN, _ERRORFXN, _EXITFXN, _PUTCFXN



;; ======== GIO_config ========

        .asg _FXN_F_nop, _CREATEFXN

        .asg _FXN_F_nop, _DELETEFXN

        .asg _FXN_F_nop, _PENDFXN

        .asg _FXN_F_nop, _POSTFXN

        GIO_config  _CREATEFXN, _DELETEFXN, _PENDFXN, _POSTFXN



;; ======== DEV_config ========

        DEV_config



;; ======== UDEV_config ========

        UDEV_config



;; ======== DGN_config ========

        DGN_config



;; ======== DHL_config ========

        .asg 00H, _gChannelsAvailable

        DHL_config  _gChannelsAvailable



;; ======== DPI_config ========

        DPI_config



;; ======== HOOK_config ========

        .asg 00H, _KNLID

        HOOK_config  _KNLID



;; ======== DIO_config ========

        .asg 00H, _STATIC

        .asg 00H, _NUMTSKBASE

        .asg 00H, _NUMSWIBASE

        DIO_config  _STATIC, _NUMTSKBASE, _NUMSWIBASE



;; ======== MEM_Obj USERREGS ========

;; This object defines space for the DSP's memory mapped registers and can't be deleted

;;

;; MEM_Obj USERREGS (len, iAllocHeap, iSegZero, iHeapId)

        .global USERREGS

        .asg 01aH, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, USERREGS, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj BIOSREGS ========

;; This object defines space for the BIOS on-chip registers and can't be deleted

;;

;; MEM_Obj BIOSREGS (len, iAllocHeap, iSegZero, iHeapId)

        .global BIOSREGS

        .asg 04H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, BIOSREGS, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj CSLREGS ========

;; This object defines space for the CSL on-chip registers and can't be deleted

;;

;; MEM_Obj CSLREGS (len, iAllocHeap, iSegZero, iHeapId)

        .global CSLREGS

        .asg 02H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, CSLREGS, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj VECT ========

;; This object defines space for the DSP's interrupt vectors and can't be deleted

;;

;; MEM_Obj VECT (len, iAllocHeap, iSegZero, iHeapId)

        .global VECT

        .asg 080H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, VECT, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj IDATA ========

;; <add comments here>

;;

;; MEM_Obj IDATA (len, iAllocHeap, iSegZero, iHeapId)

        .global IDATA

        .asg 01f80H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, IDATA, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj IPROG ========

;; <add comments here>

;;

;; MEM_Obj IPROG (len, iAllocHeap, iSegZero, iHeapId)

        .global IPROG

        .asg 02000H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, IPROG, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj EPROG ========

;; External Program Memory

;;

;; MEM_Obj EPROG (len, iAllocHeap, iSegZero, iHeapId)

        .global EPROG

        .asg 07f80H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, EPROG, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== MEM_Obj EDATA ========

;; External Data Memory

;;

;; MEM_Obj EDATA (len, iAllocHeap, iSegZero, iHeapId)

        .global EDATA

        .asg 08000H, _len

        .asg 00H, _iAllocHeap

        .asg MEM_NULL, _iSegZero

        .asg segment_name, _iHeapId

        MEM_Obj 1, EDATA, 0, _len, _iAllocHeap, _iSegZero, _iHeapId



;; ======== CLK_Obj PRD_clock ========

;; This clock function calls PRD_tick from within the on-chip timer ISR

;;

;; CLK_Obj PRD_clock (function)

        .global PRD_clock

        .asg PRD_F_tick, _function

        CLK_Obj 1, PRD_clock, 0, _function



;; ======== HST_Obj RTA_fromHost ========

;; Used to access LOG and STS data

;;

;; HST_Obj RTA_fromHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk, bufFrameAlign)

        .global RTA_fromHost

        .asg "input", _mode

        .asg "<NULL>", _buf

        .asg 04H, _framesize

        .asg 01H, _numframes

        .asg 00H, _stsflg

        .asg _FXN_F_nop, _notify

        .asg 00H, _arg0

        .asg 00H, _arg1

        .asg "RTDX", _lnk

        .asg 04H, _bufFrameAlign

        HST_Obj 1, RTA_fromHost, 1, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk, _bufFrameAlign



;; ======== HST_Obj RTA_toHost ========

;; Used to access LOG and STS data

;;

;; HST_Obj RTA_toHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk, bufFrameAlign)

        .global RTA_toHost

        .asg "output", _mode

        .asg "<NULL>", _buf

        .asg 040H, _framesize

        .asg 01H, _numframes

        .asg 00H, _stsflg

        .asg _FXN_F_nop, _notify

        .asg 00H, _arg0

        .asg 00H, _arg1

        .asg "RTDX", _lnk

        .asg 04H, _bufFrameAlign

        HST_Obj 1, RTA_toHost, 0, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk, _bufFrameAlign



;; ======== HWI_Obj HWI_RS ========

;; defines function for the RS ISR

;;

;; HWI_Obj HWI_RS (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask)

        .global HWI_RS

        .asg _c_int00, _function

        .asg "Nothing", _monitor

        .asg 00H, _addr

        .asg "signed", _dataType

        .asg "STS_add(*addr)", _operation

        .asg "USER", _client

        .asg 00H, _iUseDispatcher

        .asg 00H, _iArg

        .asg 00H, _IntrMask

        HWI_Obj 1, HWI_RS, 0, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask



;; ======== HWI_Obj HWI_NMI ========

;; defines function for the NMI ISR

;;

;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask)

        .global HWI_NMI

        .asg HWI_unused, _function

        .asg "Nothing", _monitor

        .asg 00H, _addr

        .asg "signed", _dataType

        .asg "STS_add(*addr)", _operation

        .asg "USER", _client

        .asg 00H, _iUseDispatcher

        .asg 00H, _iArg

        .asg 00H, _IntrMask

        HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask



;; ======== HWI_Obj HWI_SINT17 ========

;; defines function for the SINT17 ISR

;;

;; HWI_Obj HWI_SINT17 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask)

        .global HWI_SINT17

        .asg HWI_unused, _function

        .asg "Nothing", _monitor

        .asg 00H, _addr

        .asg "signed", _dataType

        .asg "STS_add(*addr)", _operation

        .asg "USER", _client

        .asg 00H, _iUseDispatcher

        .asg 00H, _iArg

        .asg 00H, _IntrMask

        HWI_Obj 1, HWI_SINT17, 2, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask



;; ======== HWI_Obj HWI_SINT18 ========

;; defines function for the SINT18 ISR

;;

;; HWI_Obj HWI_SINT18 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask)

        .global HWI_SINT18

        .asg HWI_unused, _function

        .asg "Nothing", _monitor

        .asg 00H, _addr

        .asg "signed", _dataType

        .asg "STS_add(*addr)", _operation

        .asg "USER", _client

        .asg 00H, _iUseDispatcher

        .asg 00H, _iArg

        .asg 00H, _IntrMask

        HWI_Obj 1, HWI_SINT18, 3, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask



;; ======== HWI_Obj HWI_SINT19 ========

;; defines function for the SINT19 ISR

;;

;; HWI_Obj HWI_SINT19 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask)

        .global HWI_SINT19

        .asg HWI_unused, _function

        .asg "Nothing", _monitor

        .asg 00H, _addr

        .asg "signed", _dataType

        .asg "STS_add(*addr)", _operation

        .asg "USER", _client

        .asg 00H, _iUseDispatcher

        .asg 00H, _iArg

        .asg 00H, _IntrMask

⌨️ 快捷键说明

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