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/MSP432P401R: MSP432P401R - Not being able to put design into low power mode

Part Number: MSP432P401R


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
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

**Attention** This is a public forum