cancel
Showing results for 
Search instead for 
Did you mean: 

using external interrupt in STR912

dk_vhd
Associate II
Posted on January 11, 2009 at 03:40

using external interrupt in STR912

2 REPLIES 2
dk_vhd
Associate II
Posted on January 11, 2009 at 03:40

I am a newbie am working on a STR912 development board. I want to use external interrupt for IR interface (such as remote). I am using the following configuration in main function :

GPIO_DeInit(GPIO3);

GPIO_Struct.GPIO_Pin= GPIO_Pin_2;

GPIO_Struct.GPIO_Direction=GPIO_PinInput;

GPIO_Struct.GPIO_Type=GPIO_Type_PushPull;

// GPIO_Struct.GPIO_Alternate = GPIO_InputAlt1;

GPIO_Struct.GPIO_IPConnected = GPIO_IPConnected_Enable;

SCU_WakeUpLineConfig(2);

GPIO_Init(GPIO3,&GPIO_Struct);

I am trying to use EXTIT2() handler function provided in 91x_it.c. However I cannot make it work. How do I setup the code to access this handler ?

Can somebody help please...

Thanks in Advance

Nickname12655_O
Associate II
Posted on February 05, 2010 at 20:09

.