1˵

    չʾͨⲿжϣ LED ˸

2ʹû

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

3ʹ˵

    /* ģ÷:ʱӣI/O */
    SystemClock48MHz
    GPIOPA11 ѡΪⲿжڣPA6/PA7  LED

    /* DemoĲԲ */
    1.سλУ
    2.D1ɿ KEY1 D2 ˸


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.34.0.0
    
     /* Hardware environment: The development hardware platform corresponding to the project. */
        Development Board: N32G003F5S7-STB V1.0

3. Instructions for use

     /*Describe related module configuration methods; for example, clock, I/O, etc. */
     1. SystemClock: 48MHz
     2. GPIOPA11 is selected as the external interrupt input, PA6\PA7 controls the LED .

     /*Describe the test steps and phenomena of the Demo */
     1. Compile and download the code to reset and run.
     2. D1 keep on; Press and release the KEY2 button continuously, then the D2 will blink.

4. Matters needing attention
     None