Hello,
I have two questions :
1- I am writing an interrupt code using C but I need to enable global interrupt using an assembly instruction CPSIE , how can I write this instruction within the C program , I am using Code Composer Studio.
2- To clear interrupt flag , I use the GPIOICR , but in its description " writing a 1 to the IC bit in the GPIOICR register clears the corresponding bit in the GPIORIS and GPIOMIS registers "
so , when clearing the corresponding bit in GPIORIS and GPIOMIS , the interrupt will be disabled ,hence , the interrupt will be executed only once .