This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSPM0L1306:About interrupt enable/disable

When writing code that generates an interrupt at the rising edge of pin 18,
DL_GPIO_disableInterrupt(GPIOA, GPIO_SWITCHES_PIN_18_PIN); (Disable 18pin interrupt)
If you set the 18pin input to High after making the above settings, no interrupt will occur, but
After disabling the 18pin interrupt and setting 18pin to High, DL_GPIO_enableInterrupt(GPIOA, GPIO_SWITCHES_PIN_18_PIN); (enables the 18pin interrupt) will execute "GROUP1_IRQHandle" (the code for the interrupt destination).
To summarize, if an interrupt edge is detected after interrupts are disabled, "GROUP1_IRQHandle" is executed at the same time as interrupts are enabled.
What should I do if I want to execute the code in "GROUP1_IRQHandle" when detecting an interrupt edge after enabling interrupts instead of executing it in the above case?