_csl_reszselectinputtype.c

来自「TI的DM6446的硬件平台搭建的相关例子」· C语言 代码 · 共 35 行

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

#include <csl_resz_aux.h>

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

/** @brief Selects the input Type to the Resizer
 *	
 */
CSL_Status  CSL_reszSelectInputType(
    /** Pointer to the object that holds reference to the
     *  instance of RESZ requested after the call 
	 */
    CSL_ReszHandle                         hResz,
    /** Selects the input Type to the Resizer
	 */
    Uint8 								   type
	){

	CSL_FINS(hResz->regs->RSZ_CNT,RESZ_RSZ_CNT_INPTYP,type);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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