uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpc17xx_exti.h File Reference

Contains all macro definitions and function prototypes support for External interrupt firmware library on LPC17xx. More...

#include "LPC17xx.h"
#include "lpc_types.h"

Go to the source code of this file.

Classes

struct  EXTI_InitTypeDef
 EXTI Initialize structure. More...
 

Macros

#define EXTI_EINT0_BIT_MARK   0x01
 
#define EXTI_EINT1_BIT_MARK   0x02
 
#define EXTI_EINT2_BIT_MARK   0x04
 
#define EXTI_EINT3_BIT_MARK   0x08
 

Enumerations

enum  EXTI_LINE_ENUM { EXTI_EINT0, EXTI_EINT1, EXTI_EINT2, EXTI_EINT3 }
 EXTI external interrupt line option. More...
 
enum  EXTI_MODE_ENUM { EXTI_MODE_LEVEL_SENSITIVE, EXTI_MODE_EDGE_SENSITIVE }
 EXTI mode option. More...
 
enum  EXTI_POLARITY_ENUM { EXTI_POLARITY_LOW_ACTIVE_OR_FALLING_EDGE, EXTI_POLARITY_HIGH_ACTIVE_OR_RISING_EDGE }
 EXTI polarity option. More...
 

Functions

void EXTI_Init (void)
 
void EXTI_DeInit (void)
 Deinitializes the EXTI peripheral registers to their default reset values. More...
 
void EXTI_Config (EXTI_InitTypeDef *EXTICfg)
 
void EXTI_SetMode (EXTI_LINE_ENUM EXTILine, EXTI_MODE_ENUM mode)
 
void EXTI_SetPolarity (EXTI_LINE_ENUM EXTILine, EXTI_POLARITY_ENUM polarity)
 
void EXTI_ClearEXTIFlag (EXTI_LINE_ENUM EXTILine)
 

Detailed Description

Contains all macro definitions and function prototypes support for External interrupt firmware library on LPC17xx.

Version
2.0
Date
21. May. 2010
Author
NXP MCU SW Application Team

Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file lpc17xx_exti.h.