文件名称:GPIO_KeyInterrupt
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 154kb
- 下载次数:
- 0次
- 提 供 者:
- zhan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
按键进入GPIO中断服务函数,并采用延时函数来控制LED的亮灭。开发环境:TKStudio。使用中断函数需在vector_cfg.h中修改对应的中断,例如:#define PIOINT1_IRQ_Handle GPIOIsr0,还需要在vector_table.c中写外部函数定义,例如:extern void GPIOIsr0 (void) -Press the button to enter the GPIO interrupt service function, and use delay function to control the LED on and off. Development environment is TKStudio.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GPIO_KeyInterrupt\.crf
.................\cfg_file\Startup\InChip.sct
.................\........\.......\LPC1100PinCfg.h
.................\........\.......\rt_sys_c.c
.................\........\.......\rt_sys_s.s
.................\........\.......\vector_cfg.h
.................\........\target_cfg.h
.................\........\zy_if\zy_if_cfg.h
.................\config.h
.................\DebugInFlash\LPC1100.axf
.................\............\LPC1100.bin
.................\............\LPC1100.htm
.................\............\LPC1100.map
.................\............\LPC1100PinCfg.d
.................\............\LPC1100PinCfg.o
.................\............\main.d
.................\............\main.o
.................\............\rt_sys_c.d
.................\............\rt_sys_c.o
.................\............\rt_sys_s.lst
.................\............\rt_sys_s.o
.................\............\target.d
.................\............\target.o
.................\............\vector_table.d
.................\............\vector_table.o
.................\............\zy_if.d
.................\............\zy_if.o
.................\GPIO_KeyInterrupt.tuo
.................\GPIO_KeyInterrupt.xmp
.................\GPIO_KEY_IN.muo
.................\GPIO_KEY_IN.tuo
.................\TKScope.cfg
.................\USER_CODE\main.c
.................\ZY_CODE\firmware.h
.................\.......\Startup\lpc1100.h
.................\.......\.......\LPC1100PinCfg.c
.................\.......\.......\target.c
.................\.......\.......\target.h
.................\.......\.......\vector_table.c
.................\.......\zy_if\zy_if.c
.................\.......\.....\zy_if.h
.................\cfg_file\Startup
.................\........\zy_if
.................\ZY_CODE\Startup
.................\.......\zy_if
.................\cfg_file
.................\DebugInFlash
.................\USER_CODE
.................\ZY_CODE
GPIO_KeyInterrupt
.................\cfg_file\Startup\InChip.sct
.................\........\.......\LPC1100PinCfg.h
.................\........\.......\rt_sys_c.c
.................\........\.......\rt_sys_s.s
.................\........\.......\vector_cfg.h
.................\........\target_cfg.h
.................\........\zy_if\zy_if_cfg.h
.................\config.h
.................\DebugInFlash\LPC1100.axf
.................\............\LPC1100.bin
.................\............\LPC1100.htm
.................\............\LPC1100.map
.................\............\LPC1100PinCfg.d
.................\............\LPC1100PinCfg.o
.................\............\main.d
.................\............\main.o
.................\............\rt_sys_c.d
.................\............\rt_sys_c.o
.................\............\rt_sys_s.lst
.................\............\rt_sys_s.o
.................\............\target.d
.................\............\target.o
.................\............\vector_table.d
.................\............\vector_table.o
.................\............\zy_if.d
.................\............\zy_if.o
.................\GPIO_KeyInterrupt.tuo
.................\GPIO_KeyInterrupt.xmp
.................\GPIO_KEY_IN.muo
.................\GPIO_KEY_IN.tuo
.................\TKScope.cfg
.................\USER_CODE\main.c
.................\ZY_CODE\firmware.h
.................\.......\Startup\lpc1100.h
.................\.......\.......\LPC1100PinCfg.c
.................\.......\.......\target.c
.................\.......\.......\target.h
.................\.......\.......\vector_table.c
.................\.......\zy_if\zy_if.c
.................\.......\.....\zy_if.h
.................\cfg_file\Startup
.................\........\zy_if
.................\ZY_CODE\Startup
.................\.......\zy_if
.................\cfg_file
.................\DebugInFlash
.................\USER_CODE
.................\ZY_CODE
GPIO_KeyInterrupt