readme.txt

来自「基于周立功arm开发板的实验程序」· 文本 代码 · 共 37 行

TXT
37
字号
===========================================================================================
 4.3 中断实验
===========================================================================================
    本实验参考例程包含两个源文件 main.c、int_test.c,详见4.3_int_test目录。
    新建工程后,添加公共库文件以及本工程的源文件,按照ReadMe目录下的ReadMeCommon.txt说
明文件配置目标板。

    本实验实现中断控制。
									   
===========================================================================================

 
 程序正确运行后,会在超级终端上输出如下信息:

boot success...

 External Interrupt Test Example
 1.L-LEVEL  2.H-LEVEL  3.F-EDGE(default here)  4.R-EDGE  5.B-EDGE
 Select number to change the external interrupt type:
Press the Buttons (SB1202/SB1203) to test...
 Press SPACE(PC) to exit...



在PC机键盘上输入3选择下降沿触发,并按下按钮SB1202 
3.F-EDGE
 EINT0 interrupt occurred.
 end.
按下SB1203键,超级终端主窗口中继续显示:
 External Interrupt Test Example
 1.L-LEVEL  2.H-LEVEL  3.F-EDGE(default here)  4.R-EDGE  5.B-EDGE
 Select number to change the external interrupt type:
Press the Buttons (SB1202/SB1203) to test...
 Press SPACE(PC) to exit...
 EINT11 interrupt occurred.
 end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?