csl_atainit.c

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

C
80
字号
/*  ============================================================================ *   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_ataInit.c * *  @brief    File for functional layer of CSL API @a CSL_ataInit() * *  Description *    - The @a CSL_ataInit() function definition & it's associated functions * *  Path: \\(CSLPATH)\\ipmodules\\ata\\src * *  Modification 1 *    - modified on: 2004/03/08 *    - reason: created the sources * *  Date 2004/03/08 *  Author RG Kiran *//* ============================================================================= *  Revision History *  =============== *  11-Oct-2004 kpn  Added code to avoid compiler warning for pContext *  24-Sep-2004 kpn  Updated according to CSL Upgradation guidelines *  ============================================================================ */#include <csl_ata.h>/** ============================================================================ *   @n@b CSL_ataInit * *   @b Description *   @n This is the initialization function for the ATA. 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_ataInit();      }     @endverbatim *  ============================================================================ */#pragma CODE_SECTION (CSL_ataInit, ".text:csl_section:ata");CSL_Status  CSL_ataInit (    CSL_AtaContext        *pContext){    pContext = pContext;    return CSL_SOK;}

⌨️ 快捷键说明

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