csl_tmrinit.c

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

C
72
字号
/*  ============================================================================ *   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 + =
减小字号Ctrl + -
显示快捷键?