📄 _csl_ccdcfpcfail.c
字号:
/** @file _csl_ccdcFpcFail.c
*
* @brief File for functional layer of CSL API @a CSL_ccdcFpcFail()
*
* Description
* - The @a CSL_ccdcFpcFail() function definition & it's associated
* functions
*
* @date 4th May, 2005
* @author Jesse Villarreal.
*/
#include <csl_ccdc_aux.h>
#pragma CODE_SECTION (CSL_ccdcFpcFail, ".text:csl_section:ccdc");
/** @brief Checks the FPC fail status of the ccdc module
*
*/
CSL_Status CSL_ccdcFpcFail(
/** Pointer to the object that holds reference to the
* instance of CCDC requested after the call
*/
CSL_CcdcHandle hCcdc,
/** Checks the FPC fail status of the CCDC engine
*/
Uint8 *response
){
if(*response = CSL_FEXT(hCcdc->regs->FPC, CCDC_FPC_FPERR))
CSL_FINS(hCcdc->regs->FPC, CCDC_FPC_FPERR, 1); // Clear the error bit after read
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -