KeyInterrupt
Go to file
xiaoyuluoke 4119030d67 第一次提交 2024-07-25 10:51:59 +08:00
.vscode 第一次提交 2024-07-25 10:51:59 +08:00
CMSIS 第一次提交 2024-07-25 10:51:59 +08:00
cmake 第一次提交 2024-07-25 10:51:59 +08:00
n32g430_std_periph_driver 第一次提交 2024-07-25 10:51:59 +08:00
source 第一次提交 2024-07-25 10:51:59 +08:00
.clang-format 第一次提交 2024-07-25 10:51:59 +08:00
.gitignore Initial commit 2024-07-25 10:50:47 +08:00
CMakeLists.txt 第一次提交 2024-07-25 10:51:59 +08:00
README.md 第一次提交 2024-07-25 10:51:59 +08:00
n32g430_flash.ld 第一次提交 2024-07-25 10:51:59 +08:00
project.cmake 第一次提交 2024-07-25 10:51:59 +08:00
startup_n32g430_gcc.s 第一次提交 2024-07-25 10:51:59 +08:00

README.md

1、功能说明

此例程展示通过外部触发中断,控制 LED 闪烁

2、使用环境

软件开发环境:
IDE工具KEIL MDK-ARM V5.34.0.0
         IAR EWARM 8.50.1
  
/* 硬件环境:工程对应的开发硬件平台 */
开发板N32G430C8L7-STB V1.0    

3、使用说明

/* 描述相关模块配置方法;例如:时钟I/O等 */
SystemClock128MHz
GPIOPA5 选择作为外部中断入口PA7 控制 LED(PD3) 闪烁


/* 描述Demo的测试步骤和现象 */
1.编译后下载程序复位运行;
2.按下松开 KEY2 按键LED 闪烁;

4、注意事项 无

  1. Function description This routine shows an external trigger interrupt to control the LED flashing

  2. Use environment Software development environment: KEIL MDK-ARM V5.34.0.0
    IAR EWARM 8.50.1 Hardware environment: Developed based on the evaluation board N32G430C8L7-STB V1.0

  3. Instructions for use

    /* Describe related module configuration methods; for example: clock, I/O, etc. */ SystemClock: 128MHz GPIO: PA5 is selected as external interrupt entry, PA7 controls LED(D3) to blink

    /* Describe the test steps and phenomena of the Demo */

    1. After compiling, download the program to reset and run;
    2. Press and release the KEY2 button, the LED flashes;
  4. Matters needing attention none