_csl_histsetbitshift.c
来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 35 行
C
35 行
/** @file _csl_histSetBitShift.c
*
* @brief File for functional layer of CSL API @a CSL_histSetBitShift()
*
* Description
* - The @a CSL_histSetBitShift() function definition & it's associated
* functions
*
* @date 31st May, 2005
* @author Jesse Villarreal
*/
#include <csl_hist_aux.h>
#pragma CODE_SECTION (CSL_histSetBitShift, ".text:csl_section:hist");
/** @brief Sets the number of bits to shift right
*
*/
CSL_Status CSL_histSetBitShift(
/** Pointer to the object that holds reference to the
* instance of HIST requested after the call
*/
CSL_HistHandle hHist,
/** Sets the number of bits to shift right
*/
Uint16 shift
){
CSL_FINS(hHist->regs->HIST_CNT,HIST_HIST_CNT_SHIFT,shift);
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?