文件名称:1752_Pulse_Measure
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 375kb
- 下载次数:
- 0次
- 提 供 者:
- wang*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
LPC1752以P2.10口为输入口测量脉冲低电平宽度
在P2.10下降沿时进入GPIO中断,开启定时器0匹配中断,定时2秒,在2秒以内的上升沿到来时停止计时,取出定时值,得脉冲宽度,若2秒以内没来上升沿,则2秒时触发匹配中断,关掉定时器。-LPC 1752 Pulse Measure P2.10
在P2.10下降沿时进入GPIO中断,开启定时器0匹配中断,定时2秒,在2秒以内的上升沿到来时停止计时,取出定时值,得脉冲宽度,若2秒以内没来上升沿,则2秒时触发匹配中断,关掉定时器。-LPC 1752 Pulse Measure P2.10
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GPIO_Pulse_Measure
..................\cfg_file
..................\........\Startup
..................\........\.......\InChip.sct
..................\........\.......\LPC1700PinCfg.h
..................\........\.......\rt_sys_c.c
..................\........\.......\rt_sys_s.s
..................\........\.......\vector_cfg.h
..................\........\target_cfg.h
..................\........\zy_if
..................\........\.....\zy_if_cfg.h
..................\config.h
..................\Cortex-M3 Execute for lpc1700.map
..................\Cortex-M3_Execute_for_lpc1700.Uv2.bak
..................\Cortex-M3_Execute_for_lpc1700.uvgui.wangfukai
..................\Cortex-M3_Execute_for_lpc1700.uvgui_wangfukai.bak
..................\Cortex-M3_Execute_for_lpc1700.uvopt
..................\Cortex-M3_Execute_for_lpc1700.uvproj
..................\Cortex-M3_Execute_for_lpc1700_DebugInFlash.dep
..................\Cortex-M3_Execute_for_lpc1700_uvopt.bak
..................\Cortex-M3_Execute_for_lpc1700_uvproj.bak
..................\JLinkArm_DebugInFlash.ini
..................\JLinkLog.txt
..................\out
..................\...\Cortex-M3 Execute for lpc1700.axf
..................\...\Cortex-M3 Execute for lpc1700.htm
..................\...\Cortex-M3 Execute for lpc1700.lnp
..................\...\Cortex-M3 Execute for lpc1700.plg
..................\...\Cortex-M3 Execute for lpc1700.tra
..................\...\lpc1700pincfg.crf
..................\...\lpc1700pincfg.d
..................\...\lpc1700pincfg.o
..................\...\main.crf
..................\...\main.d
..................\...\main.o
..................\...\rt_sys_c.crf
..................\...\rt_sys_c.d
..................\...\rt_sys_c.o
..................\...\rt_sys_s.o
..................\...\target.crf
..................\...\target.d
..................\...\target.o
..................\...\vector_table.crf
..................\...\vector_table.d
..................\...\vector_table.o
..................\...\zy_if.crf
..................\...\zy_if.d
..................\...\zy_if.o
..................\README.txt
..................\USER_CODE
..................\.........\main.c
..................\ZY_CODE
..................\.......\firmware.h
..................\.......\Startup
..................\.......\.......\lpc1700.h
..................\.......\.......\LPC1700PinCfg.c
..................\.......\.......\target.c
..................\.......\.......\target.h
..................\.......\.......\vector_table.c
..................\.......\zy_if
..................\.......\.....\zy_if.c
..................\.......\.....\zy_if.h
..................\cfg_file
..................\........\Startup
..................\........\.......\InChip.sct
..................\........\.......\LPC1700PinCfg.h
..................\........\.......\rt_sys_c.c
..................\........\.......\rt_sys_s.s
..................\........\.......\vector_cfg.h
..................\........\target_cfg.h
..................\........\zy_if
..................\........\.....\zy_if_cfg.h
..................\config.h
..................\Cortex-M3 Execute for lpc1700.map
..................\Cortex-M3_Execute_for_lpc1700.Uv2.bak
..................\Cortex-M3_Execute_for_lpc1700.uvgui.wangfukai
..................\Cortex-M3_Execute_for_lpc1700.uvgui_wangfukai.bak
..................\Cortex-M3_Execute_for_lpc1700.uvopt
..................\Cortex-M3_Execute_for_lpc1700.uvproj
..................\Cortex-M3_Execute_for_lpc1700_DebugInFlash.dep
..................\Cortex-M3_Execute_for_lpc1700_uvopt.bak
..................\Cortex-M3_Execute_for_lpc1700_uvproj.bak
..................\JLinkArm_DebugInFlash.ini
..................\JLinkLog.txt
..................\out
..................\...\Cortex-M3 Execute for lpc1700.axf
..................\...\Cortex-M3 Execute for lpc1700.htm
..................\...\Cortex-M3 Execute for lpc1700.lnp
..................\...\Cortex-M3 Execute for lpc1700.plg
..................\...\Cortex-M3 Execute for lpc1700.tra
..................\...\lpc1700pincfg.crf
..................\...\lpc1700pincfg.d
..................\...\lpc1700pincfg.o
..................\...\main.crf
..................\...\main.d
..................\...\main.o
..................\...\rt_sys_c.crf
..................\...\rt_sys_c.d
..................\...\rt_sys_c.o
..................\...\rt_sys_s.o
..................\...\target.crf
..................\...\target.d
..................\...\target.o
..................\...\vector_table.crf
..................\...\vector_table.d
..................\...\vector_table.o
..................\...\zy_if.crf
..................\...\zy_if.d
..................\...\zy_if.o
..................\README.txt
..................\USER_CODE
..................\.........\main.c
..................\ZY_CODE
..................\.......\firmware.h
..................\.......\Startup
..................\.......\.......\lpc1700.h
..................\.......\.......\LPC1700PinCfg.c
..................\.......\.......\target.c
..................\.......\.......\target.h
..................\.......\.......\vector_table.c
..................\.......\zy_if
..................\.......\.....\zy_if.c
..................\.......\.....\zy_if.h