📄 csl_tmrinit.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_tmrInit.c * * @brief File for functional layer of CSL API @a CSL_tmrInit() * * Description * - The @a CSL_tmrInit() function definition & it's associated functions * * Path: \\(CSLPATH)\\ipmodules\\timer\\src *//* ============================================================================= * Revision History * =============== * 1-Sept-2004 HMM File Created. * ============================================================================= */#include <csl_tmr.h>/** ============================================================================ * @n@b CSL_tmrInit * * @b Description * @n This is the initialization function for the TIMER. 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_tmrInit(); * } * @endverbatim * ============================================================================ */#pragma CODE_SECTION (CSL_tmrInit, ".text:csl_section:tmr");CSL_Status CSL_tmrInit ( CSL_TmrContext *pContext){ pContext = pContext; return CSL_SOK;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -