extint.h

来自「LPC2102的keil vendor code」· C头文件 代码 · 共 41 行

H
41
字号
/*****************************************************************************
 *   extint.h:  Header file for NXP LPC210x Family Microprocessors
 *
 *   Copyright(C) 2006, NXP Semiconductors
 *   All rights reserved.
 *
 *   History
 *   2005.10.01  ver 1.00    Prelimnary version, first Release
 *
******************************************************************************/
#ifndef __EXTINT_H 
#define __EXTINT_H

#define EINT0			0x00000001
#define EINT1			0x00000002
#define EINT2			0x00000004
#define EINT3			0x00000008

#define EINT0_EDGE		0x00000001
#define EINT1_EDGE		0x00000002
#define EINT2_EDGE		0x00000004
#define EINT3_EDGE		0x00000008

#define EINT0_RISING	0x00000001
#define EINT1_RISING	0x00000002
#define EINT2_RISING	0x00000004
#define EINT3_RISING	0x00000008

#define EINT_FALLING	0x00000000

extern void EINT0_Handler(void) __irq;
extern void EINT1_Handler(void) __irq;
extern void EINT2_Handler(void) __irq;
extern DWORD EINTInit( BYTE interruptID );

#endif /* end __EXTINT_H */
/****************************************************************************
**                            End Of File
*****************************************************************************/

⌨️ 快捷键说明

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