opencapture4.c

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

C
23
字号
#include <incap.h>

#ifdef _IC4IF

/********************************************************************
*    Function Name:  OpenCapture4                                   *
*    Description:    This routine include configuring clock ,       *
*                    number of capture per interrupt ,capture mode  *
*    Parameters:     unsigned int config                            *
*    Return Value:   None                                           *
********************************************************************/

void OpenCapture4( unsigned int config)
{
    /* Config contains Clock source, number of Captures per interuppt
                                    and Capture Mode */
    IC4CON = config;  
}

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

⌨️ 快捷键说明

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