1˵
    SLEEPͻ˳ʾ


2ʹû

    /* ǰʹõƼ汾 */
    IDEߣKEIL MDK-ARM 5.34.0.0
      
    /* Ӳ̶ӦĿӲƽ̨ */
     N32G05xϵУ
            N32G05xRBQ7_STB V1.0
       N32G05xϵУ
            N32G05xRBL7_STB V1.0
     


3ʹ˵

    ϵͳã
        1ʱԴHSI+PLL
        2ʱƵʣ64M
        3ţPA2
        4ӡPA9-115200

    ʹ÷
        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.34.0.0
      
    /* Hardware environment: the development hardware platform corresponding to the project */
     N32G05x series:
            Developed based on the evaluation board N32G05xRBQ7_STB V1.0
      N32G05x series:
            Developed based on the evaluation board N32G05xRBL7_STB V1.0



3. Instructions for use

    System Configuration;
        1. Clock source: HSI+PLL
        2. Clock frequency: 64M
        3. Wakeup pin: PA2
        4. Log: PA9-115200

    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
