Using the following calls:
gpioResult = adi_gpio_SetDirection(HI3220_INT_PORT, HI3220_INT_PIN,
ADI_GPIO_DIRECTION_INPUT);
checkResult(gpioResult, ADI_GPIO_SUCCESS, __func__, __LINE__);
/* set edge sense mode (PORT A is connected to Pin Interrupt 0)*/
gpioResult = adi_gpio_SetPinIntEdgeSense(ADI_GPIO_PIN_INTERRUPT_0,
HI3220_INT_PIN,
ADI_GPIO_SENSE_FALLING_EDGE);
checkResult(gpioResult, ADI_GPIO_SUCCESS, __func__, __LINE__);
/* register Pin Interrupt 0 callback */
gpioResult = adi_gpio_RegisterCallback(ADI_GPIO_PIN_INTERRUPT_0,
HI3220_INT_PIN,
HI3220InterruptCallback, (void*)0);
checkResult(gpioResult, ADI_GPIO_SUCCESS, __func__, __LINE__);
/* set Pin Interrupt 0 mask */
gpioResult = adi_gpio_EnablePinInterruptMask(ADI_GPIO_PIN_INTERRUPT_0,
HI3220_INT_PIN, true);
checkResult(gpioResult, ADI_GPIO_SUCCESS, __func__, __LINE__);
I am unable to trigger an interrupt on PA_01. I modified the Button_LED_GPIO example to use PA_01 as an interrupt source rather than PE_08. On the 408F_EZ-KIT, PA_01 will not trigger an interrupt.
What am I missing??????