Tool/software: Code Composer Studio
Hi,
So based off many examples I see that I need to use
__enable_irq();
__wfi();
in order to enter low power mode in the msp432. Now exit low power mode I have to use the following
SCB_SCR &= ~SCB_SCR_SLEEPONEXIT;
The problem is that code composer is giving the following error
Multiple markers at this line
- #20 identifier "SCB_SCR_SLEEPONEXIT" is
undefined
- #20 identifier "SCB_SCR" is undefined
- #20 identifier "SCB_SCR_SLEEPONEXIT" is
undefined
- #20 identifier "SCB_SCR" is undefined
I do not understand why it is giving me this error. If you guys have any input please let me know. Thank you
I am using CCS 6.2.0 if that makes a difference.
Thank you