Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Forever loop with detecting osc fault

$
0
0

Hi everyone,

I can not exit below loop, what is my problems?

Please help to give a solution.

// clear any oscillator faults
do {
       IFG1 &= ~OFIFG;
       __delay_cycles(800);
    } while (IFG1 & OFIFG);
Thanks in advanced!


Viewing all articles
Browse latest Browse all 2077

Trending Articles