Hey everyone,
I have always seen people using __bis_SR_register() to set interrupts and/or go to LPM. In users guide, I observed that this may also be done by setting Status Register (SR). For eg to set to LPM0 with interrupts on, I can write,
SR = LPM0 + GIE;
Is this acceptable? And where is the definition of __bis_SR_register() function? (I couldn't find it.)
Thanks