LPC_GPIO_PIN_INT->ISEL = (GPIO_PIN_INT_ISEL_PMODE0_Msk |
/* enable level interrupt */
LPC_GPIO_PIN_INT->IENR = (GPIO_PIN_INT_IENR_ENRL0_Msk |
LPC_GPIO_PIN_INT->SIENR = ( GPIO_PIN_INT_SIENR_SETENRL0_Msk |
LPC_GPIO_PIN_INT->IENF = 0x00UL;
LPC_GPIO_PIN_INT->CIENF = (GPIO_PIN_INT_CIENF_CENAF0_Msk |
when i set the values for SIENR, it immediately sets the IST register PSTAT0 and PSTAT1 flag. but it should not happen. my hardware pin state is HIGH in normal, upon interrupt it provides LOW.
Is that my way is correct of doing , any suggestions?