Lab2_EXTI

所属分类:LabView编程
开发工具:C/C++
文件大小:75KB
下载次数:0
上传日期:2018-11-24 19:37:06
上 传 者metastock
说明:  Encode the following programs in C, execute it and define what do they perform

文件列表:
Lab2_EXTI\EWARMv5\EXTI\Exe\Project.out (83808, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Exe\Project.sim (1635, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\core_cm3.o (20036, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\EXTI.pbd (931, 2011-02-20)
Lab2_EXTI\EWARMv5\EXTI\Obj\main.o (10316, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\misc.o (12724, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\startup_stm32f10x_md_vl.o (36464, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\stm32f10x_exti.o (18180, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\stm32f10x_gpio.o (35744, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\stm32f10x_it.o (18164, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\stm32f10x_rcc.o (62076, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI\Obj\system_stm32f10x.o (10136, 2011-02-18)
Lab2_EXTI\EWARMv5\EXTI.dep (9652, 2011-02-20)
Lab2_EXTI\EWARMv5\EXTI.ewd (22911, 2011-02-19)
Lab2_EXTI\EWARMv5\EXTI.ewp (25326, 2011-02-19)
Lab2_EXTI\EWARMv5\EXTI.eww (158, 2010-09-13)
Lab2_EXTI\EWARMv5\settings\EXTI.cspy.bat (1276, 2011-02-20)
Lab2_EXTI\EWARMv5\settings\EXTI.dbgdt (4307, 2011-02-20)
Lab2_EXTI\EWARMv5\settings\EXTI.dni (762, 2011-02-20)
Lab2_EXTI\EWARMv5\settings\EXTI.wsdt (3664, 2011-02-20)
Lab2_EXTI\EWARMv5\stm32f10x_flash.icf (1354, 2010-09-13)
Lab2_EXTI\main.c (4039, 2011-02-19)
Lab2_EXTI\stm32f10x_conf.h (3225, 2010-09-13)
Lab2_EXTI\stm32f10x_it.c (4947, 2011-02-19)
Lab2_EXTI\stm32f10x_it.h (1917, 2010-09-13)
Lab2_EXTI\EWARMv5\EXTI\Exe (0, 2014-05-09)
Lab2_EXTI\EWARMv5\EXTI\List (0, 2013-09-01)
Lab2_EXTI\EWARMv5\EXTI\Obj (0, 2014-05-09)
Lab2_EXTI\EWARMv5\EXTI (0, 2014-05-09)
Lab2_EXTI\EWARMv5\settings (0, 2014-05-09)
Lab2_EXTI\EWARMv5 (0, 2014-05-09)
Lab2_EXTI (0, 2014-05-09)

/** @page EXTI_Example EXTI @verbatim ******************** (C) COPYRIGHT 2010 STMicroelectronics ******************* * @file EXTI/readme.txt * @author MCD Application Team * @version V1.0.0 * @date 09/13/2010 * @brief Description of the EXTI Example. ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example shows how to configure an external interrupt line. In this example, an EXTI line is configured to generate an interrupt on each falling edge. In the interrupt routine a led connected to a specific GPIO pin is toggled. This led will be toggled at each rising edge. @par Directory contents - EXTI/stm32f10x_conf.h Library Configuration file - EXTI/stm32f10x_it.h Interrupt handlers header file - EXTI/stm32f10x_it.c Interrupt handlers - EXTI/main.c Main program @par Hardware and Software environment - This example has been tested with STM32VLDISCOVERY board. - STM32VLDISCOVERY board - Use LD3 led connected to PC.09 pin - Use the User button connected to pin PA.0 (EXTI Line0). @par How to use it ? In order to make the program work, you must do the following: - Create a project and setup all project configuration - Add the required Library files: - stm32f10x_gpio.c - stm32f10x_rcc.c - stm32f10x_exti.c - misc.c - system_stm32f10x.c (under Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x) - Link all compiled files and load your image into target memory - Run the example *

© COPYRIGHT 2010 STMicroelectronics

*/

近期下载者

相关文件


收藏者