资源简介
STM32F4DiscoveryIAR工程例程模版,直接拷贝,修改即可用的
代码片段和文件信息
/**
******************************************************************************
* @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 DEMO\Debug\
目录 0 2012-10-15 19:29 DEMO\Debug\Exe\
文件 58556 2012-10-11 12:49 DEMO\Debug\Exe\project.out
目录 0 2012-10-14 19:56 DEMO\Debug\List\
目录 0 2012-10-15 19:29 DEMO\Debug\Obj\
文件 5620 2012-10-11 12:49 DEMO\Debug\Obj\main.o
文件 4423450 2012-10-11 12:49 DEMO\Debug\Obj\main.pbi
文件 10002 2012-10-11 12:49 DEMO\Debug\Obj\main.pbi.cout
文件 13640 2012-10-11 12:44 DEMO\Debug\Obj\misc.o
文件 2688329 2012-10-11 12:43 DEMO\Debug\Obj\misc.pbi
文件 10032 2012-10-11 12:43 DEMO\Debug\Obj\misc.pbi.cout
文件 5206037 2012-10-11 12:48 DEMO\Debug\Obj\project.pbd
文件 5206037 2012-10-11 12:49 DEMO\Debug\Obj\project.pbd.browse
文件 59504 2012-10-07 11:41 DEMO\Debug\Obj\startup_stm32f4xx.o
文件 30432 2012-10-11 12:44 DEMO\Debug\Obj\stm32f4xx_gpio.o
文件 3833471 2012-10-11 12:43 DEMO\Debug\Obj\stm32f4xx_gpio.pbi
文件 10042 2012-10-11 12:43 DEMO\Debug\Obj\stm32f4xx_gpio.pbi.cout
文件 81796 2012-10-11 12:44 DEMO\Debug\Obj\stm32f4xx_rcc.o
文件 3885575 2012-10-11 12:43 DEMO\Debug\Obj\stm32f4xx_rcc.pbi
文件 10041 2012-10-11 12:43 DEMO\Debug\Obj\stm32f4xx_rcc.pbi.cout
文件 6400 2012-10-11 12:48 DEMO\Debug\Obj\sysinit.o
文件 49904 2012-10-11 12:46 DEMO\Debug\Obj\sysinit.pbi
文件 10005 2012-10-11 12:46 DEMO\Debug\Obj\sysinit.pbi.cout
文件 12868 2012-10-11 12:44 DEMO\Debug\Obj\system_stm32f4xx.o
文件 2721041 2012-10-11 12:43 DEMO\Debug\Obj\system_stm32f4xx.pbi
文件 10014 2012-10-11 12:43 DEMO\Debug\Obj\system_stm32f4xx.pbi.cout
文件 161 2012-10-07 11:39 DEMO\DemoProject.eww
目录 0 2012-10-15 19:29 DEMO\inc\
文件 79281 2011-10-28 10:31 DEMO\inc\core_cm4.h
文件 23979 2011-10-28 10:31 DEMO\inc\core_cm4_simd.h
............此处省略88个文件信息
相关资源
- 三天入门Cortex-M4-Kinetis系列
- STM32F407音频处理代码-Cortex-M4 DSP数字音
- 《嵌入式系统原理与实践--ARM Cortex-
- 嵌入式系统教程 基于Tiva C系列ARM Co
- 安富莱STM32-V5开发板资料
- 轻松玩转ARM Cortex-M4微控制器-基于Ki
- 《嵌入式系统原理与实践--ARM Cortex-
- The Definitive Guide to ARM Cortex-M3 and Cort
- ARM Cortex-M4+Wi-Fi MCU应用指南 CC3200 IAR基
- ARM Cortex-M3与Cortex-M4权威指南(第3版)
- ARM Cortex-M3与Cortex-M4权威指南第3版高清
- ARM Cortex-M3与Cortex-M4权威指南 高清PD
- ARMCortexM4中文手册.rar
- Cortex-M4技术参考手册
- TI Cortex-M4 TM4C123GH6PM例程
评论
共有 条评论