📄 demo5402cfg.s54
字号:
;; Do *not* directly modify this file. It was ;; generated by the Configuration Tool; any ;; changes risk being overwritten. ;; INPUT demo5402.cdb;; CONFIGURATION/VERSION INFORMATION .asg "Thu Oct 25 08:59:14 2001", VERS$DATE;; PROLOGUE .include demo5402cfg.h54 .copy confbeg.s54;; TYPE HEADERS .include gbl.h54 .include obj.h54 .include clk.h54 .include hst.h54 .include hwi.h54 .include idl.h54 .include lck.h54 .include log.h54 .include mbx.h54 .include mem.h54 .include pip.h54 .include prd.h54 .include que.h54 .include rtdx.h54 .include sem.h54 .include sio.h54 .include sts.h54 .include swi.h54 .include sys.h54 .include tsk.h54 .include dev.h54 .include udev.h54 .include dgn.h54 .include dhl.h54 .include dpi.h54;; TYPE ATTRIBUTESOBJ$NUMOF .set 0OBJ$SETOF .set 00HCLK$NUMOF .set 1CLK$SETOF .set 00HHST$NUMOF .set 2HST$SETOF .set 03HHWI$NUMOF .set 32HWI$SETOF .set 0ffffHIDL$NUMOF .set 4IDL$SETOF .set 00HLCK$NUMOF .set 0LCK$SETOF .set 00HLOG$NUMOF .set 1LOG$SETOF .set 00HMBX$NUMOF .set 0MBX$SETOF .set 00HMEM$NUMOF .set 7MEM$SETOF .set 00HPIP$NUMOF .set 0PIP$SETOF .set 00HPRD$NUMOF .set 1PRD$SETOF .set 00HQUE$NUMOF .set 0QUE$SETOF .set 00HRTDX$NUMOF .set 0RTDX$SETOF .set 00HSEM$NUMOF .set 0SEM$SETOF .set 00HSIO$NUMOF .set 0SIO$SETOF .set 00HSTS$NUMOF .set 1STS$SETOF .set 00HSWI$NUMOF .set 1SWI$SETOF .set 00HTSK$NUMOF .set 0TSK$SETOF .set 00HDEV$NUMOF .set 0DEV$SETOF .set 00HUDEV$NUMOF .set 0UDEV$SETOF .set 00HDGN$NUMOF .set 0DGN$SETOF .set 00HDHL$NUMOF .set 0DHL$SETOF .set 00HDPI$NUMOF .set 0DPI$SETOF .set 00H;; module GBL (ROM, PMST, SWWSR, BSCR, MODIFYCLKMD, CLKMD, USERINIT, USERINITFXN, ENABLEINST, FARMODE) .global GBL$ ; == 0 .global GBL_ROM ; demo5402cfg.h54 .global GBL_PMST ; demo5402cfg.h54 .global GBL_SWWSR ; demo5402cfg.h54 .global GBL_BSCR ; demo5402cfg.h54 .global GBL_MODIFYCLKMD ; demo5402cfg.h54 .global GBL_CLKMD ; demo5402cfg.h54 .global GBL_USERINIT ; demo5402cfg.h54 .global GBL_USERINITFXN ; demo5402cfg.cmd .global GBL_ENABLEINST ; demo5402cfg.h54 .global GBL_FARMODE ; demo5402cfg.h54;; module OBJ () .global OBJ$ ; == 0;; module CLK (REGS, USETIMER, TCR, PRD, COUNTSPMS, TIMEFXN, HOOKFXN) .global CLK$ ; == 1 .global CLK_REGS ; demo5402cfg.h54 .global CLK_USETIMER ; demo5402cfg.h54 .global CLK_TCR ; demo5402cfg.h54 .global CLK_PRD ; demo5402cfg.h54 .global CLK_COUNTSPMS ; demo5402cfg.h54 .global CLK_TIMEFXN ; demo5402cfg.cmd .global CLK_HOOKFXN ; demo5402cfg.cmd;; module HST (RTDX, DSM, NONE, MAXFRAMESET, MAXFRAMEALLOWED, DSMBUFSEG, DSMMEMSIZE) .global HST$ ; == 1 .global HST_RTDX ; demo5402cfg.h54 .global HST_DSM ; demo5402cfg.h54 .global HST_NONE ; demo5402cfg.h54 .global HST_MAXFRAMESET ; demo5402cfg.h54 .global HST_MAXFRAMEALLOWED ; demo5402cfg.h54 .global HST_DSMBUFSEG ; demo5402cfg.cmd .global HST_DSMMEMSIZE ; demo5402cfg.h54;; module HWI () .global HWI$ ; == 1;; module IDL (USECLKIDLTIME, CALIBRFXN) .global IDL$ ; == 1 .global IDL_USECLKIDLTIME ; demo5402cfg.h54 .global IDL_CALIBRFXN ; demo5402cfg.cmd;; module LCK () .global LCK$ ; == 1;; module LOG (ENABLED) .global LOG$ ; == 1 .global LOG_ENABLED ; demo5402cfg.h54;; module MBX () .global MBX$ ; == 0;; module MEM (gNumHeap, NOHEAPS, MALLOCSEG) .global MEM$ ; == 1 .global MEM_gNumHeap ; demo5402cfg.h54 .global MEM_NOHEAPS ; demo5402cfg.h54 .global MEM_MALLOCSEG ; demo5402cfg.cmd;; module PIP (gNumEmbed, gNextId) .global PIP$ ; == 0 .global PIP_gNumEmbed ; demo5402cfg.h54 .global PIP_gNextId ; demo5402cfg.h54;; module PRD (SCALAR, THOOKFXN) .global PRD$ ; == 1 .global PRD_SCALAR ; demo5402cfg.h54 .global PRD_THOOKFXN ; demo5402cfg.cmd;; module QUE () .global QUE$ ; == 1;; module RTDX (USERTDX, USERTEXECUTION, DATAMEMSEG, BUFMEMSIZE) .global RTDX$ ; == 0 .global RTDX_USERTDX ; demo5402cfg.h54 .global RTDX_USERTEXECUTION ; demo5402cfg.h54 .global RTDX_DATAMEMSEG ; demo5402cfg.cmd .global RTDX_BUFMEMSIZE ; demo5402cfg.h54;; module SEM () .global SEM$ ; == 0;; module SIO () .global SIO$ ; == 0;; module STS () .global STS$ ; == 1;; module SWI (EHOOKFXN, IHOOKFXN, EXECFXN) .global SWI$ ; == 1 .global SWI_EHOOKFXN ; demo5402cfg.cmd .global SWI_IHOOKFXN ; demo5402cfg.cmd .global SWI_EXECFXN ; demo5402cfg.cmd;; module SYS (ABORTFXN, ERRORFXN, EXITFXN, PUTCFXN) .global SYS$ ; == 1 .global SYS_ABORTFXN ; demo5402cfg.cmd .global SYS_ERRORFXN ; demo5402cfg.cmd .global SYS_EXITFXN ; demo5402cfg.cmd .global SYS_PUTCFXN ; demo5402cfg.cmd;; module TSK (STACKSIZE, STACKSEG, PRIORITY, CREATEFXN, DELETEFXN, EXITFXN, SWITCHFXN, READYFXN) .global TSK$ ; == 0 .global TSK_STACKSIZE ; demo5402cfg.h54 .global TSK_STACKSEG ; demo5402cfg.cmd .global TSK_PRIORITY ; demo5402cfg.h54 .global TSK_CREATEFXN ; demo5402cfg.cmd .global TSK_DELETEFXN ; demo5402cfg.cmd .global TSK_EXITFXN ; demo5402cfg.cmd .global TSK_SWITCHFXN ; demo5402cfg.h54 .global TSK_READYFXN ; demo5402cfg.h54;; module DEV () .global DEV$ ; == 0;; module UDEV () .global UDEV$ ; == 0;; module DGN () .global DGN$ ; == 0;; module DHL (gChannelsAvailable) .global DHL$ ; == 0 .global DHL_gChannelsAvailable ; demo5402cfg.h54;; module DPI () .global DPI$ ; == 0;; MODULE CONFIGURATION;; ======== GBL_config ======== .asg 00H, _ROM .asg 03020H, _PMST .asg 02492H, _SWWSR .asg 02H, _BSCR .asg 01H, _MODIFYCLKMD .asg 09007H, _CLKMD .asg 00H, _USERINIT .asg _FXN_F_nop, _USERINITFXN .asg 01H, _ENABLEINST .asg 00H, _FARMODE GBL_config _ROM, _PMST, _SWWSR, _BSCR, _MODIFYCLKMD, _CLKMD, _USERINIT, _USERINITFXN, _ENABLEINST, _FARMODE;; ======== OBJ_config ======== OBJ_config;; ======== CLK_config ======== .asg 00H, _REGS .asg 01H, _USETIMER .asg 021H, _TCR .asg 0c34fH, _PRD .asg 0c350H, _COUNTSPMS .asg CLK_F_getshtime, _TIMEFXN .asg CLK_F_run, _HOOKFXN CLK_config _REGS, _USETIMER, _TCR, _PRD, _COUNTSPMS, _TIMEFXN, _HOOKFXN;; ======== 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;; ======== IDL_config ======== .asg 01H, _USECLKIDLTIME .asg IDL_F_calibrate, _CALIBRFXN IDL_config _USECLKIDLTIME, _CALIBRFXN;; ======== LCK_config ======== LCK_config;; ======== LOG_config ======== .asg 01H, _ENABLED LOG_config _ENABLED;; ======== MBX_config ======== MBX_config;; ======== MEM_config ======== .asg 01H, _gNumHeap .asg 01H, _NOHEAPS .asg EDATA, _MALLOCSEG MEM_config _gNumHeap, _NOHEAPS, _MALLOCSEG;; ======== PIP_config ======== .asg 02H, _gNumEmbed .asg 00H, _gNextId PIP_config _gNumEmbed, _gNextId;; ======== PRD_config ======== .asg 01H, _SCALAR .asg FXN_F_nop, _THOOKFXN PRD_config _SCALAR, _THOOKFXN;; ======== QUE_config ======== QUE_config;; ======== RTDX_config ======== .asg 01H, _USERTDX .asg 00H, _USERTEXECUTION .asg IDATA, _DATAMEMSEG .asg 0102H, _BUFMEMSIZE RTDX_config _USERTDX, _USERTEXECUTION, _DATAMEMSEG, _BUFMEMSIZE;; ======== SEM_config ======== SEM_config;; ======== SIO_config ======== SIO_config;; ======== STS_config ======== STS_config;; ======== SWI_config ======== .asg GBL_NULL, _EHOOKFXN .asg GBL_NULL, _IHOOKFXN .asg SWI_F_exec, _EXECFXN SWI_config _EHOOKFXN, _IHOOKFXN, _EXECFXN;; ======== SYS_config ======== .asg _FXN_F_nop, _ABORTFXN .asg _FXN_F_nop, _ERRORFXN .asg _FXN_F_nop, _EXITFXN .asg _FXN_F_nop, _PUTCFXN SYS_config _ABORTFXN, _ERRORFXN, _EXITFXN, _PUTCFXN;; ======== TSK_config ======== .asg 0100H, _STACKSIZE .asg EDATA, _STACKSEG .asg 01H, _PRIORITY .asg _FXN_F_nop, _CREATEFXN .asg _FXN_F_nop, _DELETEFXN .asg _FXN_F_nop, _EXITFXN .asg 00H, _SWITCHFXN .asg 00H, _READYFXN TSK_config _STACKSIZE, _STACKSEG, _PRIORITY, _CREATEFXN, _DELETEFXN, _EXITFXN, _SWITCHFXN, _READYFXN;; ======== DEV_config ======== DEV_config;; ======== UDEV_config ======== UDEV_config;; ======== DGN_config ======== DGN_config;; ======== DHL_config ======== .asg 00H, _gChannelsAvailable DHL_config _gChannelsAvailable;; ======== DPI_config ======== DPI_config;; ======== 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) .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 HST_Obj 1, RTA_fromHost, 1, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk;; ======== HST_Obj RTA_toHost ========;; Used to access LOG and STS data;;;; HST_Obj RTA_toHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk) .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 HST_Obj 1, RTA_toHost, 0, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk;; ======== HWI_Obj HWI_RS ========;; defines function for the RS ISR;;;; HWI_Obj HWI_RS (function, monitor, addr, dataType, operation, client) .global HWI_RS .asg BIOS_reset, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_RS, 0, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_NMI ========;; defines function for the NMI ISR;;;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client) .global HWI_NMI .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT17 ========;; defines function for the SINT17 ISR;;;; HWI_Obj HWI_SINT17 (function, monitor, addr, dataType, operation, client) .global HWI_SINT17 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT17, 2, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT18 ========;; defines function for the SINT18 ISR;;;; HWI_Obj HWI_SINT18 (function, monitor, addr, dataType, operation, client) .global HWI_SINT18 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT18, 3, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT19 ========;; defines function for the SINT19 ISR;;;; HWI_Obj HWI_SINT19 (function, monitor, addr, dataType, operation, client) .global HWI_SINT19 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT19, 4, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT20 ========;; defines function for the SINT20 ISR;;;; HWI_Obj HWI_SINT20 (function, monitor, addr, dataType, operation, client) .global HWI_SINT20 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT20, 5, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT21 ========;; defines function for the SINT21 ISR;;;; HWI_Obj HWI_SINT21 (function, monitor, addr, dataType, operation, client) .global HWI_SINT21 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT21, 6, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT22 ========;; defines function for the SINT22 ISR;;;; HWI_Obj HWI_SINT22 (function, monitor, addr, dataType, operation, client) .global HWI_SINT22 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT22, 7, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT23 ========;; defines function for the SINT23 ISR;;;; HWI_Obj HWI_SINT23 (function, monitor, addr, dataType, operation, client) .global HWI_SINT23 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT23, 8, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT24 ========;; defines function for the SINT24 ISR;;;; HWI_Obj HWI_SINT24 (function, monitor, addr, dataType, operation, client) .global HWI_SINT24 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client HWI_Obj 1, HWI_SINT24, 9, _function, _monitor, _addr, _dataType, _operation, _client;; ======== HWI_Obj HWI_SINT25 ========;; defines function for the SINT25 ISR;;;; HWI_Obj HWI_SINT25 (function, monitor, addr, dataType, operation, client) .global HWI_SINT25 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -