📄 closeint2.c
字号:
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <ports.h>
/****************************************************************************
Function Prototype : void CloseINT2(void)
Include : ports.h
Description : This function disables the external interrupt on INT pin.
Arguments : None
Return Value : None
Remarks : This function disables the interrupt on INT pin and
clears the corresponding Interrupt flag.
*******************************************************************************/
#ifdef _INT2
void CloseINT2(void)
{
/* Disables external interrupt INT2 */
IEC1bits.INT2IE = 0;
IFS1bits.INT2IF = 0;
}
/* end of function CloseINT2 */
#else
#warning "Does not build on this target"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -