STM32F4IAR工程模版
STM32F4DiscoveryIAR工程例程模版,直接拷贝,修改即可用的
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-10-15 19:29 DEMO
目录 0 2012-10-15 19:29 DEMODebug
目录 0 2012-10-15 19:29 DEMODebugExe
文件 58556 2012-10-11 12:49 DEMODebugExeproject.out
目录 0 2012-10-14 19:56 DEMODebugList
目录 0 2012-10-15 19:29 DEMODebugObj
文件 5620 2012-10-11 12:49 DEMODebugObjmain.o
文件 4423450 2012-10-11 12:49 DEMODebugObjmain.pbi
文件 10002 2012-10-11 12:49 DEMODebugObjmain.pbi.cout
文件 13640 2012-10-11 12:44 DEMODebugObjmisc.o
文件 2688329 2012-10-11 12:43 DEMODebugObjmisc.pbi
文件 10032 2012-10-11 12:43 DEMODebugObjmisc.pbi.cout
文件 5206037 2012-10-11 12:48 DEMODebugObjproject.pbd
文件 5206037 2012-10-11 12:49 DEMODebugObjproject.pbd.browse
文件 59504 2012-10-07 11:41 DEMODebugObjstartup_stm32f4xx.o
文件 30432 2012-10-11 12:44 DEMODebugObjstm32f4xx_gpio.o
文件 3833471 2012-10-11 12:43 DEMODebugObjstm32f4xx_gpio.pbi
文件 10042 2012-10-11 12:43 DEMODebugObjstm32f4xx_gpio.pbi.cout
文件 81796 2012-10-11 12:44 DEMODebugObjstm32f4xx_rcc.o
文件 3885575 2012-10-11 12:43 DEMODebugObjstm32f4xx_rcc.pbi
文件 10041 2012-10-11 12:43 DEMODebugObjstm32f4xx_rcc.pbi.cout
文件 6400 2012-10-11 12:48 DEMODebugObjsysinit.o
文件 49904 2012-10-11 12:46 DEMODebugObjsysinit.pbi
文件 10005 2012-10-11 12:46 DEMODebugObjsysinit.pbi.cout
文件 12868 2012-10-11 12:44 DEMODebugObjsystem_stm32f4xx.o
文件 2721041 2012-10-11 12:43 DEMODebugObjsystem_stm32f4xx.pbi
文件 10014 2012-10-11 12:43 DEMODebugObjsystem_stm32f4xx.pbi.cout
文件 161 2012-10-07 11:39 DEMODemoProject.eww
目录 0 2012-10-15 19:29 DEMOinc
文件 79281 2011-10-28 10:31 DEMOinccore_cm4.h
文件 23979 2011-10-28 10:31 DEMOinccore_cm4_simd.h
............此处省略88个文件信息
/**
******************************************************************************
* @file stm32f4_discovery.c
* @author MCD Application Team
* @version V1.1.0
* @date 28-October-2011
* @brief This file provides set of firmware functions to manage Leds and
* push-button available on STM32F4-Discovery Kit from STMicroelectronics.
******************************************************************************
* @attention
*
* 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.
*
* © COPYRIGHT 2011 STMicroelectronics
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm32f4_discovery.h“
/** @addtogroup Utilities
* @{
*/
/** @addtogroup STM32F4_DISCOVERY
* @{
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL
* @brief This file provides set of firmware functions to manage Leds and push-button
* available on STM32F4-Discovery Kit from STMicroelectronics.
* @{
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL_Private_Defines
* @{
*/
/**
* @}
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL_Private_Variables
* @{
*/
GPIO_TypeDef* GPIO_PORT[LEDn] = {LED4_GPIO_PORT LED3_GPIO_PORT LED5_GPIO_PORT
LED6_GPIO_PORT};
const uint16_t GPIO_PIN[LEDn] = {LED4_PIN LED3_PIN LED5_PIN
LED6_PIN};
const uint32_t GPIO_CLK[LEDn] = {LED4_GPIO_CLK LED3_GPIO_CLK LED5_GPIO_CLK
LED6_GPIO_CLK};
GPIO_TypeDef* BUTTON_PORT[BUTTONn] = {USER_BUTTON_GPIO_PORT };
const uint16_t BUTTON_PIN[BUTTONn] = {USER_BUTTON_PIN };
const uint32_t BUTTON_CLK[BUTTONn] = {USER_BUTTON_GPIO_CLK };
const uint16_t BUTTON_EXTI_LINE[BUTTONn] = {USER_BUTTON_EXTI_LINE };
const uint8_t BUTTON_PORT_SOURCE[BUTTONn] = {USER_BUTTON_EXTI_PORT_SOURCE};
const uint8_t BUTTON_PIN_SOURCE[BUTTONn] = {USER_BUTTON_EXTI_PIN_SOURCE };
const uint8_t BUTTON_IRQn[BUTTONn] = {USER_BUTTON_EXTI_IRQn };
NVIC_InitTypeDef NVIC_InitStructure;
/**
* @}
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup STM32F4
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-10-15 19:29 DEMO
目录 0 2012-10-15 19:29 DEMODebug
目录 0 2012-10-15 19:29 DEMODebugExe
文件 58556 2012-10-11 12:49 DEMODebugExeproject.out
目录 0 2012-10-14 19:56 DEMODebugList
目录 0 2012-10-15 19:29 DEMODebugObj
文件 5620 2012-10-11 12:49 DEMODebugObjmain.o
文件 4423450 2012-10-11 12:49 DEMODebugObjmain.pbi
文件 10002 2012-10-11 12:49 DEMODebugObjmain.pbi.cout
文件 13640 2012-10-11 12:44 DEMODebugObjmisc.o
文件 2688329 2012-10-11 12:43 DEMODebugObjmisc.pbi
文件 10032 2012-10-11 12:43 DEMODebugObjmisc.pbi.cout
文件 5206037 2012-10-11 12:48 DEMODebugObjproject.pbd
文件 5206037 2012-10-11 12:49 DEMODebugObjproject.pbd.browse
文件 59504 2012-10-07 11:41 DEMODebugObjstartup_stm32f4xx.o
文件 30432 2012-10-11 12:44 DEMODebugObjstm32f4xx_gpio.o
文件 3833471 2012-10-11 12:43 DEMODebugObjstm32f4xx_gpio.pbi
文件 10042 2012-10-11 12:43 DEMODebugObjstm32f4xx_gpio.pbi.cout
文件 81796 2012-10-11 12:44 DEMODebugObjstm32f4xx_rcc.o
文件 3885575 2012-10-11 12:43 DEMODebugObjstm32f4xx_rcc.pbi
文件 10041 2012-10-11 12:43 DEMODebugObjstm32f4xx_rcc.pbi.cout
文件 6400 2012-10-11 12:48 DEMODebugObjsysinit.o
文件 49904 2012-10-11 12:46 DEMODebugObjsysinit.pbi
文件 10005 2012-10-11 12:46 DEMODebugObjsysinit.pbi.cout
文件 12868 2012-10-11 12:44 DEMODebugObjsystem_stm32f4xx.o
文件 2721041 2012-10-11 12:43 DEMODebugObjsystem_stm32f4xx.pbi
文件 10014 2012-10-11 12:43 DEMODebugObjsystem_stm32f4xx.pbi.cout
文件 161 2012-10-07 11:39 DEMODemoProject.eww
目录 0 2012-10-15 19:29 DEMOinc
文件 79281 2011-10-28 10:31 DEMOinccore_cm4.h
文件 23979 2011-10-28 10:31 DEMOinccore_cm4_simd.h
............此处省略88个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)