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.

CCS/MSP430F2252: MSP430F2252 Software Coding.

Part Number: MSP430F2252

Tool/software: Code Composer Studio

Dear Sir/Madam,

Regarding Port 2 interrupt.

Q1) Port 2.7 as interrupt :-

At initialization, 

P2IE |= 0x80; // P2.7 interrupt enabled
P2IES |= 0x80; // High to Low transition
P2IFG &= ~0x80; // P2.7 IFG cleared

At interrupt, 

#pragma vector=PORT2_VECTOR
__interrupt void Port_2(void)
{
    Flag = 1......
    P2IFG &= ~0x80; // P2.7 IFG cleared
}

But not work....Please help.

Thanks & Regards,

Vijay Shinde

**Attention** This is a public forum