Hi,
1.What are the factors for setting the interrupt flag?
2. I'm trying to configure the GPIO interrupt to only happen from high to low [Falling Edge], but the flag is set to 1 at the time the pin goes from low to high. What causes this problem?
My configuration is mentioned below.
P1DIR &= ~BIT2;
P1REN |= BIT2;
P1IE |= BIT2;
P1IES |= BIT2;
P1IFG &= ~BIT2;
Thank You...!