_csl_prevsetinputbitwidth.c

来自「ccs下对dm6446的测试程序」· C语言 代码 · 共 35 行

C
35
字号
/** @file _csl_prevSetInputBitWidth.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_prevSetInputBitWidth()
 *
 *  Description
 *    - The @a CSL_prevSetInputBitWidth() function definition & it's associated
 *      functions
 *
 *  @date 18th October, 2004
 *  @author Vignesh LA.
 */

#include <csl_prev_aux.h>

#pragma CODE_SECTION (CSL_prevSetInputBitWidth, ".text:csl_section:prev");

/** @brief Sets the input bit width 
 *	
 */
CSL_Status  CSL_prevSetInputBitWidth(
    /** Pointer to the object that holds reference to the
     *  instance of PREV requested after the call 
	 */
    CSL_PrevHandle                         hPrev,
    /** Set input bit width
	 */
    Uint16 								   width
	){

    CSL_FINSFNR(hPrev->regs->PCR,PREV_PCR_WIDTH, PREV_PCR_DRK_FAIL, width);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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