writeqei.c

来自「Mplab C30编译器」· C语言 代码 · 共 20 行

C
20 行
字号
#include <qei.h>

#ifdef _QEIIF

/*********************************************************************
* Function Name   : WriteQEI()
* Description     : This function sets the MAXCNT value.
* Parameters      : unsigned int
* Return Value    : None
*********************************************************************/

void WriteQEI(unsigned int position)
{
    MAXCNT = position;  /* set the Maxium Count */
}

#else
#warning "Does not build on this target"
#endif

⌨️ 快捷键说明

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