📄 csl_gpioinit.c
字号:
/* ============================================================================
* 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_gpioInit.c
*
* @brief File for functional layer of CSL API @a CSL_gpioInit()
*
* Description
* - The @a CSL_gpioInit() function definition & it's associated functions
*
* Path: \\(CSLPATH)\\ipmodules\\gpio\\src
*
* @date 9 June, 2004
* @author Pratheesh Gangadhar (pratheesh@ti.com)
*/
/* ============================================================================
* Revision History
* ===============
* 11-oct-2004 Nsr updated the code to avoid compiler warning/remark.
* 04-Sep-2004 Nsr Updated the function and documentation for CSL_gpioInit.
*
* ============================================================================
*/
#include <csl_gpio.h>
/** ===========================================================================
* @n@b CSL_gpioInit
*
* @b Description
* @n This is the initialization function for the GPIO. 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_gpioInit();
* }
* @endverbatim
* ===========================================================================
*/
#pragma CODE_SECTION (CSL_gpioInit, ".text:csl_section:gpio");
CSL_Status CSL_gpioInit(
CSL_GpioContext * pContext
)
{
*pContext = *pContext;
return CSL_SOK;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -