Complete the code to enter sleep mode using the WFI instruction.
asm volatile ("[1]" );
The WFI instruction tells the processor to enter sleep mode and wait for an interrupt.
Complete the code to enable sleep mode by setting the SLEEPDEEP bit before WFI.
SCB->SCR |= [1]; asm volatile ("WFI");
The SLEEPDEEP bit in the System Control Register (SCR) must be set to enter deep sleep mode before executing WFI.
Fix the error in the code to correctly enter sleep mode with WFI.
SCB->SCR &= ~[1]; asm volatile ("WFI");
The SLEEPDEEP bit in the System Control Register (SCR) must be cleared to enter normal sleep mode (not deep sleep) before executing WFI.
Fill both blanks to set the processor to deep sleep mode and then enter sleep.
SCB->SCR [1]= [2]; asm volatile ("WFI");
Use bitwise OR (|) to set the SLEEPDEEP bit before executing WFI to enter deep sleep mode.
Fill all three blanks to clear the deep sleep bit, set the sleep on exit bit, and then enter sleep mode.
SCB->SCR [1]= [2]; SCB->SCR [3]= SCB_SCR_SLEEPONEXIT_Msk; asm volatile ("WFI");
Clear the SLEEPDEEP bit using AND with its complement, then set SLEEPONEXIT using OR before WFI.