closeqei.c
来自「Mplab C30编译器」· C语言 代码 · 共 22 行
C
22 行
#include <qei.h>
#ifdef _QEIIF
/**************************************************************************
* Function Name : CloseQEI()
* Description : This routine disables the QEI and its interrupt bits.
* Parameters : None
* Return Value : None
***************************************************************************/
void CloseQEI(void)
{
_QEIIE = 0; /* disable interrupt */
_QEIM = 0x0; /* QEI/Timer off */
_QEIIF = 0; /* clear IF flag */
}
#else
#warning "Does not build on this target"
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?