1˵

    չʾͨⲿжϣ LED ˸


2ʹû

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

3ʹ˵

    /* ģ÷:ʱӣI/O */
    SystemClock48MHz
    GPIOPA5 ѡΪⲿжڣPB7  LED(PD3) ˸


    /* DemoĲԲ */
    1.سλУ
    2.ɿ KEY2 LED ˸


4ע
    

1. Function description

    This example shows how to control LED blinking by externally triggering an interrupt.
    

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: N32G031CL-STB V1.0


3. Instructions for use

     //Describe related module configuration methods; for example, clock, I/O, etc.
     1. SystemClock: 48MHz
     2. GPIOPA5 is selected as the external interrupt entry, PB7 controls the LED (PD3) to flash.

     //Describe the test steps and phenomena of the Demo
     1. Compile and download the code to reset and run.
     2. Press and release the KEY2 button,then the LED will flash.

4. Matters needing attention
     None