📄 postcfg.s55
字号:
;; ======== 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 DARAM ========;; Dual Access RAM for efficient data access;;;; MEM_Obj DARAM (len, iAllocHeap, iSegZero, iHeapId) .global DARAM .asg 07f00H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, DARAM, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj SARAM ========;; SARAM split into blocks for instruction cycle efficiency;;;; MEM_Obj SARAM (len, iAllocHeap, iSegZero, iHeapId) .global SARAM .asg 010000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, SARAM, 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 SARAM_A ========;; 32K block to insure next 64K block is aligned on 64K boundary;;;; MEM_Obj SARAM_A (len, iAllocHeap, iSegZero, iHeapId) .global SARAM_A .asg 08000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, SARAM_A, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj SARAM_B ========;; 32K block to finish allocating balance of internal memory;;;; MEM_Obj SARAM_B (len, iAllocHeap, iSegZero, iHeapId) .global SARAM_B .asg 08000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, SARAM_B, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj SDRAM ========;; Synch DRAM MT48LC2M32B2-7, CE0 space limits size to 2M words;;;; MEM_Obj SDRAM (len, iAllocHeap, iSegZero, iHeapId) .global SDRAM .asg 01d8000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, SDRAM, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj FLASH ========;; Flash Re-programable EEPROM 29LV400;;;; MEM_Obj FLASH (len, iAllocHeap, iSegZero, iHeapId) .global FLASH .asg 040000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, FLASH, 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;; ======== HWI_Obj HWI_RESET ========;; defines function for the RESET ISR;;;; HWI_Obj HWI_RESET (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_RESET, 0, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_NMI ========;; defines function for the NMI ISR;;;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT2 ========;; defines the INT2 Interrupt;;;; HWI_Obj HWI_INT2 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .global HWI_INT2 .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 04H, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT2, 2, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT3 ========;; defines the INT3 Interrupt;;;; HWI_Obj HWI_INT3 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .global HWI_INT3 .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 08H, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT3, 3, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT4 ========;; defines the INT4 Interrupt;;;; HWI_Obj HWI_INT4 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .global HWI_INT4 .asg CLK_F_isr, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "CLK", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 010H, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT4, 4, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT5 ========;; defines the INT5 Interrupt;;;; HWI_Obj HWI_INT5 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT5, 5, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT6 ========;; defines the INT6 Interrupt;;;; HWI_Obj HWI_INT6 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT6, 6, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT7 ========;; defines the INT7 Interrupt;;;; HWI_Obj HWI_INT7 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT7, 7, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT8 ========;; defines the INT8 Interrupt;;;; HWI_Obj HWI_INT8 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT8, 8, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT9 ========;; defines the INT9 Interrupt;;;; HWI_Obj HWI_INT9 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT9, 9, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT10 ========;; defines the INT10 Interrupt;;;; HWI_Obj HWI_INT10 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT10, 10, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT11 ========;; defines the INT11 Interrupt;;;; HWI_Obj HWI_INT11 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT11, 11, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT12 ========;; defines the INT12 Interrupt;;;; HWI_Obj HWI_INT12 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT12, 12, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT13 ========;; defines the INT13 Interrupt;;;; HWI_Obj HWI_INT13 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT13, 13, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT14 ========;; defines the INT14 Interrupt;;;; HWI_Obj HWI_INT14 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .global HWI_INT14 .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 04000H, _Ier0Mask .asg 00H, _Ier1Mask HWI_Obj 1, HWI_INT14, 14, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _Ier0Mask, _Ier1Mask;; ======== HWI_Obj HWI_INT15 ========;; defines the INT15 Interrupt;;;; HWI_Obj HWI_INT15 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, Ier0Mask, Ier1Mask) .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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -