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

📄 democfg.s62

📁 使用於 TI dsk6711中的很多好用的例子可以看
💻 S62
📖 第 1 页 / 共 3 页
字号:
	.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 cancelSwi ========

;; <add comments here>

;;

;; SWI_Obj cancelSwi (function, pri, mailbox, arg0, arg1, dorta)

	.global cancelSwi

	.asg _cancelFxn, _function

	.asg 02H, _pri

	.asg 07H, _mailbox

	.asg 00H, _arg0

	.asg 00H, _arg1

	.asg 01H, _dorta

	SWI_Obj 1, cancelSwi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta



;; ======== SWI_Obj encodeSwi ========

;; <add comments here>

;;

;; SWI_Obj encodeSwi (function, pri, mailbox, arg0, arg1, dorta)

	.global encodeSwi

	.asg _encoderFxn, _function

	.asg 02H, _pri

	.asg 05H, _mailbox

	.asg 00H, _arg0

	.asg 00H, _arg1

	.asg 01H, _dorta

	SWI_Obj 1, encodeSwi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta



;; ======== SWI_Obj decodeSwi ========

;; <add comments here>

;;

;; SWI_Obj decodeSwi (function, pri, mailbox, arg0, arg1, dorta)

	.global decodeSwi

	.asg _decoderFxn, _function

	.asg 02H, _pri

	.asg 0dH, _mailbox

	.asg 00H, _arg0

	.asg 00H, _arg1

	.asg 01H, _dorta

	SWI_Obj 1, decodeSwi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta



;; ======== SWI_Obj PRD_swi ========

;; This Software ISR executes all configured PRD functions

;;

;; SWI_Obj PRD_swi (function, pri, mailbox, arg0, arg1, dorta)

	.global PRD_swi

	.asg PRD_F_swi, _function

	.asg 01H, _pri

	.asg 00H, _mailbox

	.asg 00H, _arg0

	.asg 00H, _arg1

	.asg 01H, _dorta

	SWI_Obj 1, PRD_swi, 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 IRAM, _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 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



;; ======== 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



;; ======== 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 IRAM, _bufseg

	.asg 0100H, _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 IRAM, _bufseg

	.asg 020H, _buflen

	.asg "circular", _logtype

	LOG_Obj 1, trace, 0, _bufseg, _buflen, _logtype



;; ======== PIP_Obj DSS_rxPipe ========

;; <add comments here>

;;

;; PIP_Obj DSS_rxPipe (buf, framesize, numframes, monitor, notifyWriter, nwarg0, nwarg1, notifyReader, nrarg0, nrarg1, bufFrameAlign)

	.global DSS_rxPipe

	.asg "<NULL>", _buf

	.asg 0f0H, _framesize

	.asg 02H, _numframes

	.asg "none", _monitor

	.asg _DSS_rxPrime, _notifyWriter

	.asg 00H, _nwarg0

	.asg 00H, _nwarg1

	.asg _SWI_andn, _notifyReader

	.asg _cancelSwi, _nrarg0

	.asg 01H, _nrarg1

	.asg 04H, _bufFrameAlign

	PIP_Obj 1, DSS_rxPipe, 0, _buf, _framesize, _numframes, _monitor, _notifyWriter, _nwarg0, _nwarg1, _notifyReader, _nrarg0, _nrarg1, _bufFrameAlign



;; ======== PIP_Obj farEnd ========

;; <add comments here>

;;

;; PIP_Obj farEnd (buf, framesize, numframes, monitor, notifyWriter, nwarg0, nwarg1, notifyReader, nrarg0, nrarg1, bufFrameAlign)

	.global farEnd

	.asg "<NULL>", _buf

	.asg 0f0H, _framesize

	.asg 01H, _numframes

	.asg "reader", _monitor

	.asg _SWI_andn, _notifyWriter

	.asg _decodeSwi, _nwarg0

	.asg 08H, _nwarg1

	.asg _SWI_andn, _notifyReader

	.asg _cancelSwi, _nrarg0

	.asg 02H, _nrarg1

	.asg 04H, _bufFrameAlign

	PIP_Obj 1, farEnd, 1, _buf, _framesize, _numframes, _monitor, _notifyWriter, _nwarg0, _nwarg1, _notifyReader, _nrarg0, _nrarg1, _bufFrameAlign



;; ======== PIP_Obj DSS_txPipe ========

;; <add comments here>

;;

;; PIP_Obj DSS_txPipe (buf, framesize, numframes, monitor, notifyWriter, nwarg0, nwarg1, notifyReader, nrarg0, nrarg1, bufFrameAlign)

	.global DSS_txPipe

	.asg "<NULL>", _buf

	.asg 0f0H, _framesize

	.asg 02H, _numframes

	.asg "none", _monitor

	.asg _SWI_andn, _notifyWriter

	.asg _decodeSwi, _nwarg0

	.asg 04H, _nwarg1

	.asg _DSS_txPrime, _notifyReader

	.asg 00H, _nrarg0

	.asg 00H, _nrarg1

	.asg 04H, _bufFrameAlign

	PIP_Obj 1, DSS_txPipe, 2, _buf, _framesize, _numframes, _monitor, _notifyWriter, _nwarg0, _nwarg1, _notifyReader, _nrarg0, _nrarg1, _bufFrameAlign



;; ======== PIP_Obj encoderIn ========

;; <add comments here>

;;

;; PIP_Obj encoderIn (buf, framesize, numframes, monitor, notifyWriter, nwarg0, nwarg1, notifyReader, nrarg0, nrarg1, bufFrameAlign)

	.global encoderIn

	.asg "<NULL>", _buf

	.asg 0f0H, _framesize

	.asg 01H, _numframes

	.asg "reader", _monitor

	.asg _SWI_andn, _notifyWriter

	.asg _cancelSwi, _nwarg0

	.asg 04H, _nwarg1

	.asg _SWI_andn, _notifyReader

	.asg _encodeSwi, _nrarg0

	.asg 01H, _nrarg1

	.asg 04H, _bufFrameAlign

	PIP_Obj 1, encoderIn, 3, _buf, _framesize, _numframes, _monitor, _notifyWriter, _nwarg0, _nwarg1, _notifyReader, _nrarg0, _nrarg1, _bufFrameAlign



;; ======== PIP_Obj decoderIn ========

;; <add comments here>

;;

;; PIP_Obj decoderIn (buf, framesize, numframes, monitor, notifyWriter, nwarg0, nwarg1, notifyReader, nrarg0, nrarg1, bufFrameAlign)

	.global decoderIn

	.asg "<NULL>", _buf

	.asg 0f0H, _framesize

	.asg 01H, _numframes

	.asg "reader", _monitor

	.asg _SWI_andn, _notifyWriter

	.asg _encodeSwi, _nwarg0

	.asg 04H, _nwarg1

	.asg _SWI_andn, _notifyReader

	.asg _decodeSwi, _nrarg0

	.asg 01H, _nrarg1

	.asg 04H, _bufFrameAlign

	PIP_Obj 1, decoderIn, 4, _buf, _framesize, _numframes, _monitor, _notifyWriter, _nwarg0, _nwarg1, _notifyReader, _nrarg0, _nrarg1, _bufFrameAlign



;; ======== 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



;; ======== STS_Obj encoderExecTime ========

;; <add comments here>

;;

;; STS_Obj encoderExecTime (prev, prevlow)

	.global encoderExecTime

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, encoderExecTime, 0, _prev, _prevlow



;; ======== STS_Obj decoderExecTime ========

;; <add comments here>

;;

;; STS_Obj decoderExecTime (prev, prevlow)

	.global decoderExecTime

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, decoderExecTime, 0, _prev, _prevlow



;; ======== STS_Obj echoCancellerExecTime ========

;; <add comments here>

;;

;; STS_Obj echoCancellerExecTime (prev, prevlow)

	.global echoCancellerExecTime

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, echoCancellerExecTime, 0, _prev, _prevlow



;; ======== STS_Obj encoderDataSize ========

;; <add comments here>

;;

;; STS_Obj encoderDataSize (prev, prevlow)

	.global encoderDataSize

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, encoderDataSize, 0, _prev, _prevlow



;; ======== STS_Obj decoderDataSize ========

;; <add comments here>

;;

;; STS_Obj decoderDataSize (prev, prevlow)

	.global decoderDataSize

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, decoderDataSize, 0, _prev, _prevlow



;; ======== STS_Obj echoCancellerDataSize ========

;; <add comments here>

;;

;; STS_Obj echoCancellerDataSize (prev, prevlow)

	.global echoCancellerDataSize

	.asg 00H, _prev

	.asg 00H, _prevlow

	STS_Obj 1, echoCancellerDataSize, 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 + -