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

📄 edmacfg.s64

📁 用c实现的dsp的edma功能
💻 S64
📖 第 1 页 / 共 3 页
字号:
;; HWI_Obj HWI_INT9 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT9
        .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 0200H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT9, 9, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT10 ========
;; defines the INT10 Interrupt
;;
;; HWI_Obj HWI_INT10 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT10
        .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 0400H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT10, 10, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT11 ========
;; defines the INT11 Interrupt
;;
;; HWI_Obj HWI_INT11 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT11
        .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 0800H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT11, 11, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT12 ========
;; defines the INT12 Interrupt
;;
;; HWI_Obj HWI_INT12 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT12
        .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 01000H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT12, 12, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT13 ========
;; defines the INT13 Interrupt
;;
;; HWI_Obj HWI_INT13 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT13
        .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 02000H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT13, 13, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT14 ========
;; defines the INT14 Interrupt
;;
;; HWI_Obj HWI_INT14 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT14
        .asg CLK_F_isr, _function
        .asg "Nothing", _monitor
        .asg 00H, _addr
        .asg "signed", _dataType
        .asg "STS_add(*addr)", _operation
        .asg "CLK", _client
        .asg 01H, _iUseDispatcher
        .asg CLK_A_TABBEG, _iArg
        .asg 04000H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT14, 14, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== HWI_Obj HWI_INT15 ========
;; defines the INT15 Interrupt
;;
;; HWI_Obj HWI_INT15 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask)
        .global HWI_INT15
        .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 08000H, _IntrMask
        .asg 01H, _iCCBitMask
        HWI_Obj 1, HWI_INT15, 15, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask

;; ======== SWI_Obj KNL_swi ========
;; This Software Interrupt calls the TSK scheduler
;;
;; SWI_Obj KNL_swi (function, pri, mailbox, arg0, arg1, dorta)
        .global KNL_swi
        .asg _KNL_run, _function
        .asg 00H, _pri
        .asg 00H, _mailbox
        .asg 00H, _arg0
        .asg 00H, _arg1
        .asg 01H, _dorta
        SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta

;; ======== SWI_Obj swiProcess ========
;; <add comments here>
;;
;; SWI_Obj swiProcess (function, pri, mailbox, arg0, arg1, dorta)
        .global swiProcess
        .asg _swiProcessFunc, _function
        .asg 01H, _pri
        .asg 00H, _mailbox
        .asg 00H, _arg0
        .asg 00H, _arg1
        .asg 01H, _dorta
        SWI_Obj 1, swiProcess, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta

;; ======== TSK_Obj TSK_idle ========
;; This is the idle task; it only runs when no other task is ready
;;
;; TSK_Obj TSK_idle (iFXN, iARG0, iARG1, iARG2, iARG3, iARG4, iARG5, iARG6, iARG7, iAUTOSTK, iMANSTK, iSTKSZ, iSTKSEG, iPRI, iENV, iEXITFLAG, iUSETSKNAME, iSTATREG)
        .global TSK_idle
        .asg IDL_F_loop, _iFXN
        .asg 00H, _iARG0
        .asg 00H, _iARG1
        .asg 00H, _iARG2
        .asg 00H, _iARG3
        .asg 00H, _iARG4
        .asg 00H, _iARG5
        .asg 00H, _iARG6
        .asg 00H, _iARG7
        .asg 01H, _iAUTOSTK
        .asg null, _iMANSTK
        .asg 0400H, _iSTKSZ
        .asg ISRAM, _iSTKSEG
        .asg 00H, _iPRI
        .asg 00H, _iENV
        .asg 01H, _iEXITFLAG
        .asg 00H, _iUSETSKNAME
        .asg 00H, _iSTATREG
        TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG

;; ======== IDL_Obj LNK_dataPump ========
;; This object cannot be deleted
;;
;; IDL_Obj LNK_dataPump (function, calibration)
        .global LNK_dataPump
        .asg LNK_F_dataPump, _function
        .asg 01H, _calibration
        IDL_Obj 1, LNK_dataPump, 0, _function, _calibration

;; ======== IDL_Obj RTA_dispatcher ========
;; This object cannot be deleted
;;
;; IDL_Obj RTA_dispatcher (function, calibration)
        .global RTA_dispatcher
        .asg RTA_F_dispatch, _function
        .asg 01H, _calibration
        IDL_Obj 1, RTA_dispatcher, 0, _function, _calibration

;; ======== IDL_Obj IDL_cpuLoad ========
;; This object is required by the system to acquire CPU load data
;;
;; IDL_Obj IDL_cpuLoad (function, calibration)
        .global IDL_cpuLoad
        .asg IDL_F_busy, _function
        .asg 01H, _calibration
        IDL_Obj 1, IDL_cpuLoad, 0, _function, _calibration

;; ======== LOG_Obj LOG_system ========
;; This object is required by the system to accumulate execution trace information
;;
;; LOG_Obj LOG_system (bufseg, buflen, logtype)
        .global LOG_system
        .asg ISRAM, _bufseg
        .asg 020H, _buflen
        .asg "circular", _logtype
        LOG_Obj 1, LOG_system, 0, _bufseg, _buflen, _logtype

;; ======== LOG_Obj trace ========
;; <add comments here>
;;
;; LOG_Obj trace (bufseg, buflen, logtype)
        .global trace
        .asg ISRAM, _bufseg
        .asg 0200H, _buflen
        .asg "circular", _logtype
        LOG_Obj 1, trace, 0, _bufseg, _buflen, _logtype

;; ======== STS_Obj IDL_busyObj ========
;; This object is required by the system to accumulate CPU load statistics
;;
;; STS_Obj IDL_busyObj (prev, prevlow)
        .global IDL_busyObj
        .asg 00H, _prev
        .asg 00H, _prevlow
        STS_Obj 1, IDL_busyObj, 0, _prev, _prevlow

;; MODULE INITIALIZATION
        .sect ".sysinit"
        .global BIOS_init, _BIOS_init
BIOS_init:
_BIOS_init:
        GBL_preamble
        GBL_init
        SEM_init
        MEM_init
        OBJ_init
        BUF_init
        CLK_init
        PRD_init
        RTDX_init
        IDL_init
        LCK_init
        LOG_init
        MBX_init
        PIP_init
        QUE_init
        STS_init
        SYS_init
        HWI_init
        HST_init
        DEV_init
        UDEV_init
        DGN_init
        DHL_init
        DPI_init
        SIO_init
        SWI_init
        HOOK_init
        TSK_init
        ISRC_init
        GIO_init
        DIO_init
        GBL_postamble

;; MODULE STARTUP
        .sect ".sysinit"
        .global BIOS_start, _BIOS_start
BIOS_start:
_BIOS_start:
        GBL_preamble
        GBL_startup
        SEM_startup
        MEM_startup
        OBJ_startup
        BUF_startup
        CLK_startup
        PRD_startup
        RTDX_startup
        IDL_startup
        LCK_startup
        LOG_startup
        MBX_startup
        PIP_startup
        QUE_startup
        STS_startup
        SYS_startup
        HWI_startup
        HST_startup
        DEV_startup
        UDEV_startup
        DGN_startup
        DHL_startup
        DPI_startup
        SIO_startup
        SWI_startup
        HOOK_startup
        TSK_startup
        ISRC_startup
        GIO_startup
        DIO_startup
        GBL_postamble

;; EPILOGUE
        GBL_end
        MEM_end
        OBJ_end
        BUF_end
        CLK_end
        PRD_end
        RTDX_end
        HST_end
        HWI_end
        SWI_end
        TSK_end
        IDL_end
        ISRC_end
        LOG_end
        PIP_end
        SEM_end
        MBX_end
        QUE_end
        LCK_end
        SIO_end
        STS_end
        SYS_end
        GIO_end
        DEV_end
        UDEV_end
        DGN_end
        DHL_end
        DPI_end
        HOOK_end
        DIO_end

        .copy confend.s62

⌨️ 快捷键说明

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