我的GPIO配置代码:下降沿触发
void InitGPIO(void)
{
unsigned int temp;
*BINTEN=0x1; //enable all GPIO interrupt
// temp=*IN_DATA;
// temp=*DIR;
*DIR=0xffff; //configure all GPIO as input
// temp=*DIR;
// temp=*IN_DATA;
*SET_RIS_TRIG=0x0000; //GPINTn interrupt and EDMA event is triggered on falling edge of GPn signal
// temp=*IN_DATA;
*SET_FAL_TRIG=0x8000; //
}