1˵
    SLEEPͻ˳ʾ


2ʹû

    /* ǰʹõƼ汾 */
    IDEߣKEIL MDK-ARM 5.21.1.0
      
    /* Ӳ̶ӦĿӲƽ̨ */
    壺N32G031C8L7-STB V1.0     



3ʹ˵

    ϵͳã
        1ʱԴHSE+PLL

    ʹ÷
        KEIL±¼壬ϵӡPWR_SLEEP INITһӡLower Power EntrySLEEPˡ
        WAKEUP󣬴Lower Power EntryMCUֿ֮ʼSLEEPģʽ


4ע
    


1. Function description
    Example of SLEEP entry and wake-up exit.


2. Use environment

    /* Software development environment: the name and version number of the software tool used in the current project */
    IDE tool: KEIL MDK-ARM 5.21.1.0
      
    /* Hardware environment: the development hardware platform corresponding to the project */
    Development board: N32G031C8L7-STB V1.0



3. Instructions for use

    System Configuration;
        1. Clock source: HSE+PLL

    Instructions:
        After compiling under KEIL and burning it to the evaluation board, the output prints "PWR_SLEEP INIT" after power-on. After a while, the output prints "Lower Power Entry", indicating that it has entered SLEEP.
        After pressing the WAKEUP button, the serial port outputs "Lower Power Entry" again, indicating that the MCU starts to enter the SLEEP mode after waking up.


4. Matters needing attention
    none
