工具/软件:
你(们)好
我在 TMS320C6000芯片支持库 API 参考指南中找不到有关 SRIO 的章节。 在哪里可以找到 TMS320C6678的 SRIO CSL API 参考指南?
谢谢!
郭伟
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:
你(们)好
我在 TMS320C6000芯片支持库 API 参考指南中找不到有关 SRIO 的章节。 在哪里可以找到 TMS320C6678的 SRIO CSL API 参考指南?
谢谢!
郭伟
检查此--> www.ti.com/.../sprugw1c.pdf
嗨、Praveen
感谢您的答复。 www.ti.com/.../sprugw1c.pdf 没有 SRIO 的芯片支持库 API 参考。 我正在寻找一些 SRIO 芯片支持库 API 函数的 API 参考、如 CSL_SRIO_IsLSUfull、CSL_SRIO_GetLSUCompletionCode 、...
谢谢
郭伟
最新的 PROCESSOR-SDK-RTOS 位于以下位置:https://www.ti.com/tool/download/SDK-C667X/06.03.00.106。 您能检查一下吗?
它必须位于路径中: /pdk_c667x_2_0_16/packages/ti/csl/csl_srioAux.h
CSL_SRIO_GetLSUCompletionCode -->行号5774
CSL_SRIO_IsLSUFull -->行号5011
谢谢。
我可以访问头文件、但没有足够详细的输出参数。
例如、以下函数标头不指定中的每个位 CompCode 和 上下文 表示。
/** ============================================================================ * @n@b CSL_SRIO_GetLSUCompletionCode * * @b Description * @n The function gets the completion code for a previous executed transfer. * * @b Arguments @verbatim hSrio Handle of the SRIO device lsu LSU Number which is to checked transId Transaction ID for which the completion code is required. compCode Completion Code populated by this API contextBit Context Bit populated by this API @endverbatim * * <b> Return Value </b> * @n None * * <b> Pre Condition </b> * @n None * * <b> Post Condition </b> * @n None * * @b Reads * @n SRIO_LSU_STAT_REG * @b Example * @verbatim CSL_SrioHandle hSrio; Uint8 context; Uint8 transID; SRIO_LSU_TRANSFER lsuTransfer; Uint8 compCode; Uint8 contextBit; // Open the CSL SRIO Module 0 hSrio = CSL_SRIO_Open (0); ... // Get the LSU Context and Transaction Information. CSL_SRIO_GetLSUContextTransaction (hSrio, &context, &transID); ... // Send the transfer on LSU 1 CSL_SRIO_SetLSUTransfer (hSrio, 1, &lsuTransfer); // Wait around till the transfer is completed. while (1) { if (CSL_SRIO_IsLSUBusy (hSrio, 1) == FALSE) break; } // Get the completion code. CSL_SRIO_GetLSUCompletionCode (hSrio, 1, transID, &compCode, &contextBit); ... @endverbatim * ============================================================================= */
我确实可以访问头文件、但它没有关于输出参数的足够详细信息。 [/报价]请注意、这是一个 内联 测量输出。