📄 evmdm642cfg.s62
字号:
.asg 00H, _DSM
.asg 00H, _NONE
.asg 040H, _MAXFRAMESET
.asg 0ffH, _MAXFRAMEALLOWED
.asg SDRAM, _DSMBUFSEG
.asg 0400H, _DSMMEMSIZE
HST_config _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE
;; ======== HWI_config ========
.asg 00H, _ZEROTAB
.asg 00H, _GENERATE_RESET_VEC
.asg 00H, _POLARITYMASK
.asg 0250718a4H, _INTRMULTLOW
.asg 082039b3H, _INTRMULTHIGH
HWI_config _ZEROTAB, _GENERATE_RESET_VEC, _POLARITYMASK, _INTRMULTLOW, _INTRMULTHIGH
;; ======== 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 0400H, _STACKSIZE
.asg SDRAM, _STACKSEG
.asg 01H, _PRIORITY
.asg __HOOK_doCreate, _VCREATEFXN
.asg __HOOK_doDelete, _VDELETEFXN
.asg __HOOK_doExit, _VEXITFXN
.asg 00H, _SWITCHFXN
.asg 00H, _READYFXN
.asg 02H, _NUM_HOOKS
TSK_config _STACKSIZE, _STACKSEG, _PRIORITY, _VCREATEFXN, _VDELETEFXN, _VEXITFXN, _SWITCHFXN, _READYFXN, _NUM_HOOKS
;; ======== IDL_config ========
.asg 01H, _USECLKIDLTIME
.asg IDL_F_stub, _CALIBRFXN
.asg 06H, _CALIBRERROR
IDL_config _USECLKIDLTIME, _CALIBRFXN, _CALIBRERROR
;; ======== ISRC_config ========
ISRC_config
;; ======== LOG_config ========
.asg 01H, _ENABLED
LOG_config _ENABLED
;; ======== PIP_config ========
.asg 02H, _gNumEmbed
.asg 00H, _gNextId
.asg 064H, _OBJSIZE
PIP_config _gNumEmbed, _gNextId, _OBJSIZE
;; ======== SEM_config ========
SEM_config
;; ======== MBX_config ========
MBX_config
;; ======== QUE_config ========
QUE_config
;; ======== LCK_config ========
LCK_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
;; ======== SIO_config ========
SIO_config
;; ======== 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
;; ======== DIO_config ========
.asg 00H, _STATIC
.asg 00H, _NUMTSKBASE
.asg 00H, _NUMSWIBASE
DIO_config _STATIC, _NUMTSKBASE, _NUMSWIBASE
;; ======== DGN_config ========
DGN_config
;; ======== DHL_config ========
.asg 00H, _gChannelsAvailable
DHL_config _gChannelsAvailable
;; ======== DPI_config ========
DPI_config
;; ======== MSGQ_config ========
.asg 00H, _USEMSGQ
MSGQ_config _USEMSGQ
;; ======== HOOK_config ========
.asg 00H, _KNLID
HOOK_config _KNLID
;; ======== MEM_Obj CACHE_L2 ========
;; Do not delete, in use by cache
;;
;; MEM_Obj CACHE_L2 (len, iAllocHeap, iSegZero, iHeapId)
.global CACHE_L2
.asg 020000H, _len
.asg 00H, _iAllocHeap
.asg SDRAM, _iSegZero
.asg segment_name, _iHeapId
MEM_Obj 1, CACHE_L2, 0, _len, _iAllocHeap, _iSegZero, _iHeapId
;; ======== MEM_Obj SDRAM ========
;; 32 MBytes off-chip memory
;;
;; MEM_Obj SDRAM (len, iAllocHeap, iSegZero, iHeapId)
.global SDRAM
.asg 02000000H, _len
.asg 01H, _iAllocHeap
.asg SDRAM, _iSegZero
.asg segment_name, _iHeapId
MEM_Obj 1, SDRAM, 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
;; ======== PRD_Obj prdNdk ========
;; <add comments here>
;;
;; PRD_Obj prdNdk (period, mode, function, arg0, arg1, Order, filter, maxformat, sumformat, avgformat, unittype)
.global prdNdk
.asg 064H, _period
.asg "continuous", _mode
.asg _llTimerTick, _function
.asg 00H, _arg0
.asg 00H, _arg1
.asg 00H, _Order
.asg 00H, _filter
.asg "%g ticks", _maxformat
.asg "%g ticks", _sumformat
.asg "%.2f ticks", _avgformat
.asg 02H, _unittype
PRD_Obj 1, prdNdk, 0, _period, _mode, _function, _arg0, _arg1, _Order, _filter, _maxformat, _sumformat, _avgformat, _unittype
;; ======== 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_RESET ========
;; defines function for the RESET ISR
;;
;; HWI_Obj HWI_RESET (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_RESET
.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 01H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_RESET, 0, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_NMI ========
;; defines function for the NMI ISR
;;
;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.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 02H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_RESERVED0 ========
;; RESERVED for RTDX
;;
;; HWI_Obj HWI_RESERVED0 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_RESERVED0
.asg RESERVED, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "RTDX", _client
.asg 00H, _iUseDispatcher
.asg 00H, _iArg
.asg 04H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_RESERVED0, 2, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_RESERVED1 ========
;; RESERVED for RTDX
;;
;; HWI_Obj HWI_RESERVED1 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_RESERVED1
.asg _RTDX_Poll, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "RTDX", _client
.asg 01H, _iUseDispatcher
.asg 00H, _iArg
.asg 08H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_RESERVED1, 3, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT4 ========
;; defines the INT4 Interrupt
;;
;; HWI_Obj HWI_INT4 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT4
.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 010H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT4, 4, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT5 ========
;; defines the INT5 Interrupt
;;
;; HWI_Obj HWI_INT5 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT5
.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 020H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT5, 5, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT6 ========
;; defines the INT6 Interrupt
;;
;; HWI_Obj HWI_INT6 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT6
.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 040H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT6, 6, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT7 ========
;; defines the INT7 Interrupt
;;
;; HWI_Obj HWI_INT7 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT7
.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 080H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT7, 7, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT8 ========
;; defines the INT8 Interrupt
;;
;; HWI_Obj HWI_INT8 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT8
.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 0100H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT8, 8, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT9 ========
;; defines the INT9 Interrupt
;;
;; HWI_Obj HWI_INT9 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT9
.asg _RTDX_Poll, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "RTDX", _client
.asg 01H, _iUseDispatcher
.asg 00H, _iArg
.asg 0208H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT9, 9, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT10 ========
;; defines the INT10 Interrupt
;;
;; HWI_Obj HWI_INT10 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.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
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT10, 10, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT11 ========
;; defines the INT11 Interrupt
;;
;; HWI_Obj HWI_INT11 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT11
.asg HWI_unused, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -