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

📄 newechocfg.lst

📁 Using DSP/BIOS I/O in Multichannel Systems
💻 LST
📖 第 1 页 / 共 5 页
字号:
1                                   .else
1                           
1                                   .global _DGN_iconst
1                                   .global _DGN_irand
1                                   .global _DGN_isine
1                                   .global _DGN_user
1                           
1                                   .asg    _DGN_iconst, DGN_CONST
1                                   .asg    _DGN_irand,  DGN_RAND
1                                   .asg    _DGN_isine,  DGN_SINE
1                                   .asg    _DGN_user,   DGN_USER
1                           
1                                   .endif
1                           
     360                    
     361                    ;; ======== DHL_config ========
     362                            .asg 00H, _gChannelsAvailable
     363 00000074                   DHL_config  _gChannelsAvailable
1                           
1                                   .global _DHL_notify
1                           
1                                   .asg    0, DHL$count
1                           
     364                    
     365                    ;; ======== DPI_config ========
     366 00000074                   DPI_config
1                                   .asg    0, DPI$devid
     367                    
     368                    ;; ======== UDEV_Obj DSS ========
     369                    ;; <add comments here>
     370                    ;;
     371                    ;; UDEV_Obj DSS (iFxns, iParams, iDevId, iInit)
     372                            .global DSS
     373                            .asg _DSS_FXNS, _iFxns
     374                            .asg 00H, _iParams
     375                            .asg 00H, _iDevId
TMS320C6x COFF Assembler         Version 4.00     Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62                                                       PAGE   13

     376                            .asg _DSS_init, _iInit
     377 00000074                   UDEV_Obj 1, DSS, 0, _iFxns, _iParams, _iDevId, _iInit
1                           
1        00000000                   .sect   ".const"
1        00000000 0000002F  UDEV_DSS        .string "/DSS",0        ; Set up string "/<devName>"
         00000001 00000044 
         00000002 00000053 
         00000003 00000053 
         00000004 00000000 
1                           
1                                   ; This matches SIO_:_device:$params in sio.hti
1                                   .asg "00H", SIO_DSS$params
1                           
1                                   ;
1                                   ; This adds an entry to the device table, DEV_devtab, and the init
1                                   ; table, DEV_devinit.
1                                   ;
1        00000005                   DEV_addDevice UDEV_DSS, _DSS_FXNS, 00H, 00H, _DSS_init
2                           
2        00000074                   .sect   ".cinit"
2                                   .align  STD_TARGALIGN
2        00000078 00000010          .word  4 * STD_TARGWORDMAUS
2        0000007c 00000064-         .word  _DEV_devtab + 0 * 4 * STD_TARGWORDMAUS
2        00000080 00000000+         .word  UDEV_DSS
2        00000084 00000000!         .word  _DSS_FXNS
2        00000088 00000000          .word  00H
2        0000008c 00000000          .word  00H
2                           
2                                   ;
2                                   ; Prevent multiple appearances of a driver Dxx_init function in the
2                                   ; _DEV_devinit table even when there are  multiple occurrences of
2                                   ; different devices for the same driver. DXX_init should be only called
2                                   ; once!
2                                   ;
2                                   .if ($isdefed("DEV$_DSS_init") = 0)
2                 00000001  DEV$_DSS_init   .set    1
2                           
2                                     ; Only add to _DEV_devinit real functions. Do not add 0's.
2                                     .if ($isname("_DSS_init") = 1)
2                           
2                                       .global     _DSS_init
2                           
2        00000090                       .sect       ".cinit"
2                                       .align      STD_TARGALIGN
2        00000090 00000004              .word       STD_TARGWORDMAUS
2        00000094 00000078-             .word       _DEV_devinit + 0 * STD_TARGWORDMAUS
2        00000098 00000000!             .word       _DSS_init
2                           
2                                       ;
2                                       ; increment DEV$initCount for use by the next call of this macro and
2                                       ; DEV_end. DEV$initCount keep track of the size of _DEV_devinit.
2                                       ;
2                                       .eval       0+1,DEV$initCount
2                           
2                                     .endif        ;if ($isname("_DSS_init") = 1)
TMS320C6x COFF Assembler         Version 4.00     Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62                                                       PAGE   14

2                           
2                                   .endif  ; if($isdefed(DEV$_DSS_init) = 0)
2                           
2                                   ; increment DEV$devCount for use by the next call of this macro
2                                   .eval   0+1,DEV$devCount
2                           
1                           
     378                    
     379                    ;; ======== CLK_Obj PRD_clock ========
     380                    ;; This clock function calls PRD_tick from within the on-chip timer ISR
     381                    ;;
     382                    ;; CLK_Obj PRD_clock (function)
     383                            .global PRD_clock
     384                            .asg PRD_F_tick, _function
     385 0000009c                   CLK_Obj 1, PRD_clock, 0, _function
1        0000009c                   CHK_nargs "CLK_Obj", fxn
1                                   .if ($symcmp("", "error") = 0)
1                                       .emsg "CLK_OBJ parameter error."
1                                   .endif
1                           
1                                   .var fxnlen
1                                   .eval $symlen("PRD_F_tick"),fxnlen
1                           
1                                   .if (1 = 0)
1                                       .mexit
1                                   .endif
1                           
1                                   .global PRD_clock
1                           
1                                   .if ($symcmp("PRD_F_tick", "0") != 0)
1                                   .global PRD_F_tick
1                                   .endif
1                           
1                           PRD_clock  .tag    CLK_Obj         ; declare name as having type CLK_Obj
1                           
1                           ; allocate all CLK objs contiguously in ".clk"
1        00000000           PRD_clock       .usect ".clk", STD_TARGWORDMAUS * 1, STD_TARGWORDMAUS
1                           
1        0000009c                   .sect ".cinit"
1                           
1                                   .align  8
1                           
1        000000a0 00000004          .field  STD_TARGWORDMAUS * 1
1                           
1        000000a4 00000000-         .field  PRD_clock    
1                           
1        000000a8 00000000!         .field  PRD_F_tick           ; fxn
1                           
     386                    
     387                    ;; ======== HST_Obj RTA_fromHost ========
     388                    ;; Used to access LOG and STS data
     389                    ;;
     390                    ;; HST_Obj RTA_fromHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk)
     391                            .global RTA_fromHost
     392                            .asg "input", _mode
TMS320C6x COFF Assembler         Version 4.00     Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62                                                       PAGE   15

     393                            .asg "<NULL>", _buf
     394                            .asg 04H, _framesize
     395                            .asg 01H, _numframes
     396                            .asg 00H, _stsflg
     397                            .asg _FXN_F_nop, _notify
     398                            .asg 00H, _arg0
     399                            .asg 00H, _arg1
     400                            .asg "RTDX", _lnk
     401 000000ac                   HST_Obj 1, RTA_fromHost, 1, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg
1                           
1                                   .if (1 = 0)
1                                       .mexit
1                                   .endif
1                            
1        000000ac                   CHK_nargs "HST_Obj", lnktype 
1                                   .if ($symcmp("", "error") = 0)
1                                       .emsg "HST_Obj lnktype error"
1                                   .endif
1                            
1        000000ac                   CHK_domain HST_Obj, mode, "output,input", "output"
2                           
1                                   .asg "input", mode
1                                   .if ($symcmp("input", "error") = 0)
1                                       .emsg "HST_Obj mode error"
1                                   .endif
1                            
1                                   .global RTA_fromHost, RTA_fromHost$buf, RTA_fromHost$rtdx
1                            
1                                   .if ($symcmp("<NULL>", "<NULL>") = 0)
1        000000ac                       GBL_Obj     RTA_fromHost$buf, 04H*01H, .hst1
2        000000ac                   CHK_domain "GBL_Obj", alignFlag, "noalign,align", "noalign"
3                                       .mexit
3                                           
3                           
3                           
2                                   .if ($symcmp("noalign", "error") = 0)
2                                       .emsg "GBL_Obj align parameter error."
2                                   .endif
2                                   .asg "noalign", alignFlag
2                           
2        000000ac                   CHK_nargs "GBL_Obj", size
2                                   .if ($symcmp("", "error") = 0)
2                                       .emsg "GBL_Obj size parameter error."
2                                   .endif
2                           
2                                   .if ($symlen(section) = 0)
2                                       .asg ".bss", section
2                                   .endif
2                           
2                                   .if ($symlen(fillValue) != 0)
2                                       .sect ".gblinit"
2                                       .word :size:
2                                       .word :name:
2                                       .word :fillValue:
2                                   .endif
TMS320C6x COFF Assembler         Version 4.00     Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62                                                       PAGE   16

2                           
2                                   .if (($symcmp(section, ".data") = 0) | ($symcmp(alignFlag, "align") = 0))
2                                       .sect ":section:"
2                                       .if ($symcmp(alignFlag, "align") = 0)
2                                           .align
2                                       .endif
2                           :name::

⌨️ 快捷键说明

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