_csl_reszisbusy.c

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

C
35
字号
/** @file _csl_reszIsBusy.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_reszIsBusy()
 *
 *  Description
 *    - The @a CSL_reszIsBusy() function definition & it's associated
 *      functions
 *
 *  @date 10th May, 2005
 *  @author Jesse Villarreal.
 */

#include <csl_resz_aux.h>

#pragma CODE_SECTION (CSL_reszIsBusy, ".text:csl_section:resz");

/** @brief Checks the busy status of the resz module
 *	
 */
CSL_Status  CSL_reszIsBusy(
    /** Pointer to the object that holds reference to the
     *  instance of RESZ requested after the call 
	 */
    CSL_ReszHandle                         hResz,
    /** Checks the busy status of the RESZ module
	 */
    Uint8 								   *response
	){

	*response=CSL_FEXT(hResz->regs->PCR,RESZ_PCR_BUSY);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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