Hi,
The microcontroller used is the iMX RT1064 using the MIMXRT1064-EVK board.
As you can see in the screenshot the pin named NXPNCI_IRQ has the property GPIO interrupt = "Rising Edge".

The code generated in this case as can be seen in the image is as follows:
/* GPIO configuration of NXPNCI_IRQ on GPIO_AD_B0_03 (pin G11) */
gpio_pin_config_t NXPNCI_IRQ_config = {
.direction = kGPIO_DigitalInput,
.outputLogic = 0U,
.interruptMode = kGPIO_IntRisingEdge
};
/* Initialize GPIO functionality on GPIO_AD_B0_03 (pin G11) */
GPIO_PinInit(GPIO1, 3U, &NXPNCI_IRQ_config);
/* Enable GPIO pin interrupt on GPIO_AD_B0_03 (pin G11) */
GPIO_PortEnableInterrupts(GPIO1, 1U << 3U);
A separate treatment of the two distinct properties is required, namely:
1. The way in which an interruption occurs refers to the registers; ICR1, ICR2 and EDGE_SEL
2. The masking of an interruption refers to the IMR register.
These two properties of a pin need to be set independently and this should be reflected in the generated code.
Thus the "GPIO interrupt" option needs to be replaced with two other options:
1. "Interrupt Config": Low / Hi Level / Rising / Falling Edge.....
generated code: GPIO_PinInit(GPIO1, 3U, &NXPNCI_IRQ_config);
2. "Interrupt Mask": Enable / Disable
generated code: GPIO_PortEnableInterrupts(GPIO1, 1U << 3U); // for "Enable"
// Clear mask bit for "Disable"
Best regards,
Neculai