opensmpscmp2.c

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

C
27
字号
#if defined(__dsPIC30F__) 
#include <p30fxxxx.h>
#elif defined(__dsPIC33F__)
#include <p33Fxxxx.h>
#endif

#include "smpscmp.h"
#ifdef _AC2IF


/*************************************************************************
* Function Name     : OpenSmpsCMP2
* Description       : This function configures the Comparator 2 Module                      
* Parameters        : unsigned int config1
* Return Value      : None 
**************************************************************************/

void OpenSmpsCMP2(unsigned int config1)
{
    CMPCON2   = config1 ; 
	
}
#else
#warning "Does not build on this target"
#endif
 

⌨️ 快捷键说明

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