📄 csl_uartinit.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_uartInit.c
*
* @brief File for functional layer of CSL API @a CSL_uartInit()
*
* Path: \\(CSLPATH)\\ipmodules\\uart\\src
*
* Description
* - The @a CSL_uartInit() function definition & it's associated functions
*
* @date 27 April, 2004
* @author Pratheesh Gangadhar
*/
/* =============================================================================
* Revision History
* ===============
* 07-Sep-2004 brn Updated for the new CSL architecture
* 11-Oct-2004 brn Updated with the code review comments.
* =============================================================================
*/
#include <csl_uart.h>
/** ============================================================================
* @n@b CSL_uartInit
*
* @b Description
* @n This is the initialization function for the UART CSL. The
* function must be called before calling any other API from this CSL.
* This function is idem-potent. Currently, the function just return status
* CSL_SOK, without doing anything.
*
* @b Arguments
* @verbatim
pContext Pointer to module-context. As UART doesn't have
any context based information user is expected to pass NULL.
@endverbatim
*
* <b> Return Value </b> CSL_Status
* @li CSL_SOK - Always returns
*
* <b> Pre Condition </b>
* @n None
*
* <b> Post Condition </b>
* @n The CSL for UARTs is initialized
*
* @b Modifies
* @n None
*
* @b Example
* @verbatim
CSL_uartInit(NULL);
@endverbatim
* =============================================================================
*/
#pragma CODE_SECTION (CSL_uartInit, ".text:csl_section:uart");
CSL_Status CSL_uartInit (
CSL_UartContext * pContext
)
{
pContext = pContext;
return CSL_SOK;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -