STM32F4_EXTI

所属分类:单片机开发
开发工具:C/C++
文件大小:1955KB
下载次数:26
上传日期:2012-08-12 00:01:02
上 传 者MOXUQIN
说明:  STM32F407例程,有C源代码,中断程序
(The STM32F407 routine, the C source code, interrupt routines)

文件列表:
EXTI\EWARM\Exti.ewd (24212, 2011-10-28)
EXTI\EWARM\Exti.ewp (26193, 2011-10-28)
EXTI\EWARM\Exti.eww (158, 2011-10-28)
EXTI\EWARM\stm32f4xx_flash.icf (1342, 2011-10-28)
EXTI\main.c (4654, 2011-10-28)
EXTI\MDK-ARM\Exti\ExtDll.iex (19, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.axf (277320, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.hex (7648, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.htm (41950, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.lnp (557, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.map (72391, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.plg (1647, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.sct (479, 2012-07-15)
EXTI\MDK-ARM\Exti\Exti.tra (1808, 2012-07-15)
EXTI\MDK-ARM\Exti\main.crf (395638, 2012-07-15)
EXTI\MDK-ARM\Exti\main.d (2910, 2012-07-15)
EXTI\MDK-ARM\Exti\main.o (437784, 2012-07-15)
EXTI\MDK-ARM\Exti\misc.crf (395060, 2012-07-15)
EXTI\MDK-ARM\Exti\misc.d (2960, 2012-07-15)
EXTI\MDK-ARM\Exti\misc.o (439972, 2012-07-15)
EXTI\MDK-ARM\Exti\startup_stm32f4xx.d (111, 2012-07-15)
EXTI\MDK-ARM\Exti\startup_stm32f4xx.lst (92204, 2012-07-15)
EXTI\MDK-ARM\Exti\startup_stm32f4xx.o (8012, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_adc.crf (409939, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_adc.d (3311, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_adc.o (501460, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_dma.crf (416607, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_dma.d (3311, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_dma.o (471480, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_exti.crf (396222, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_exti.d (3350, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_exti.o (445040, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_gpio.crf (403075, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_gpio.d (3350, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_gpio.o (458316, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_it.crf (395664, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_it.d (3256, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_it.o (446448, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_rcc.crf (407095, 2012-07-15)
EXTI\MDK-ARM\Exti\stm32f4xx_rcc.d (3311, 2012-07-15)
... ...

/** @page EXTI_Example EXTI Configuration Example @verbatim ******************** (C) COPYRIGHT 2011 STMicroelectronics ******************* * @file EXTI/readme.txt * @author MCD Application Team * @version V1.0.0 * @date 19-September-2011 * @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 external interrupt lines. In this example, the EXTI Line0 (connected to PA0 pin) is configured to generate an interrupt on each rising edge. In the interrupt routine a led connected to PD.12 pin is toggled. @note In this example, EXTILine0_Config() function can be substituted by STM_EVAL_PBInit(Button_USER, Mode_EXTI) provided in the STM32F4-Discovery driver. @par Directory contents - EXTI/stm32f4xx_conf.h Library Configuration file - EXTI/stm32f4xx_it.h Interrupt handlers header file - EXTI/stm32f4xx_it.c Interrupt handlers - EXTI/main.c Main program - EXTI/system_stm32f4xx.c STM32F4xx system source file @par Hardware and Software environment - This example runs on STM32F4xx Devices Revision A. - This example has been tested with STM32F4-Discovery (MB997) RevA and can be easily tailored to any other development board. - STM32F4-Discovery - Use the User push-button connected to pin PA0 (EXTI Line0) @par How to use it ? In order to make the program work, you must do the following : + EWARM - Open the Exti.eww workspace - Rebuild all files: Project->Rebuild all - Load project image: Project->Debug - Run program: Debug->Go(F5) + MDK-ARM - Open the Exti.uvproj project - Rebuild all files: Project->Rebuild all target files - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) + TASKING - Open TASKING toolchain. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to TASKING workspace directory and select the project "Exti" - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) + TrueSTUDIO - Open the TrueSTUDIO toolchain. - Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace directory. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to the TrueSTUDIO workspace directory and select the project "Exti" - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) *

© COPYRIGHT 2011 STMicroelectronics

*/

近期下载者

相关文件


收藏者