extint.h

来自「NXP LPC系列AMR7的开发程序源码(LCD」· C头文件 代码 · 共 37 行

H
37
字号
/*****************************************************************************
 *   extint.h:  Header file for NXP LPC23xx/24xx Family Microprocessors
 *
 *   Copyright(C) 2006, NXP Semiconductor
 *   All rights reserved.
 *
 *   History
 *   2006.07.13  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_FALLING 0x00000000
#define EINT0_RISING  0x00000001
#define EINT1_RISING  0x00000002
#define EINT2_RISING  0x00000004
#define EINT3_RISING  0x00000008

extern __irq __nested __arm void EINT3_Handler( void );
extern DWORD EINTInit( void );

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

⌨️ 快捷键说明

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