csl_msinit.c

来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 76 行

C
76
字号
/*  ============================================================================ *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * *   Use of this software is controlled by the terms and conditions found in the *   license agreement under which this software has been supplied. *   =========================================================================== *//** @file csl_msInit.c * *  @brief    File for functional layer of CSL API @a CSL_msInit() * *  Path: \\(CSLPATH)\\ipmodules\\memstick\\src * *  Description *    - The @a CSL_msInit() function definition & it's associated functions * *  Date 3 June, 2004 *  Author Santosh Narayanan *//* ============================================================================= *  Revision History *  ================ *  14-Dec-2004 kpn  Updated the function and documentation for CSL_msInit. * ============================================================================= */#include <csl_ms.h>/** ============================================================================ *   @n@b CSL_msInit * *   @b Description *   @n This is the initialization function for the MS. This function is *      idempotent in that calling it many times is same as calling it once. *      This function initializes the CSL data structures, and doesn't affect *      the H/W. * *   @b Arguments *   @verbatim            pContext   Context information for the instance. Should be NULL     @endverbatim * *   <b> Return Value </b>  CSL_Status *   @li                    CSL_SOK - Always returns * *   <b> Pre Condition </b> *   @n  None * *   <b> Post Condition </b> *   @n  None * *   @b Modifies *   @n  None * *   @b Example *   @verbatim      ...      if (CSL_sysInit() == CSL_SOK) {         CSL_msInit(NULL);      }     @endverbatim *  ============================================================================ */#pragma CODE_SECTION (CSL_msInit, ".text:csl_section:ms");CSL_Status CSL_msInit (    CSL_MsContext       *pContext){    pContext = pContext;	return CSL_SOK;}

⌨️ 快捷键说明

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