Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed
Fork of HelloWorld_IKS01A1 by
stm32f4xx_conf.h
00001 /** 00002 ****************************************************************************** 00003 * @file Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_conf.h 00004 * @author MCD Application Team 00005 * @version V1.0.0 00006 * @date 30-September-2011 00007 * @brief Library configuration file. 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00012 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 00013 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 00014 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 00015 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 00016 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00017 * 00018 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> 00019 ****************************************************************************** 00020 */ 00021 00022 /* Define to prevent recursive inclusion -------------------------------------*/ 00023 #ifndef __STM32F4xx_CONF_H 00024 #define __STM32F4xx_CONF_H 00025 00026 /* Includes ------------------------------------------------------------------*/ 00027 /* Uncomment the line below to enable peripheral header file inclusion */ 00028 //#include "stm32f4xx_adc.h" 00029 //#include "stm32f4xx_can.h" 00030 //#include "stm32f4xx_crc.h" 00031 //#include "stm32f4xx_cryp.h" 00032 //#include "stm32f4xx_dac.h" 00033 //#include "stm32f4xx_dbgmcu.h" 00034 //#include "stm32f4xx_dcmi.h" 00035 //#include "stm32f4xx_dma.h" 00036 //#include "stm32f4xx_exti.h" 00037 //#include "stm32f4xx_flash.h" 00038 //#include "stm32f4xx_fsmc.h" 00039 //#include "stm32f4xx_hash.h" 00040 //#include "stm32f4xx_gpio.h" 00041 //#include "stm32f4xx_i2c.h" 00042 //#include "stm32f4xx_iwdg.h" 00043 //#include "stm32f4xx_pwr.h" 00044 #include "stm32f4xx_rcc.h" 00045 //#include "stm32f4xx_rng.h" 00046 //#include "stm32f4xx_rtc.h" 00047 //#include "stm32f4xx_sdio.h" 00048 //#include "stm32f4xx_spi.h" 00049 //#include "stm32f4xx_syscfg.h" 00050 #include "stm32f4xx_tim.h" 00051 //#include "stm32f4xx_usart.h" 00052 //#include "stm32f4xx_wwdg.h" 00053 #include "misc.h" 00054 /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 00055 00056 /* Exported types ------------------------------------------------------------*/ 00057 /* Exported constants --------------------------------------------------------*/ 00058 00059 /* If an external clock source is used, then the value of the following define 00060 should be set to the value of the external clock source, else, if no external 00061 clock is used, keep this define commented */ 00062 /*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */ /* Value of the external clock in Hz */ 00063 00064 00065 /* Uncomment the line below to expanse the "assert_param" macro in the 00066 Standard Peripheral Library drivers code */ 00067 /* #define USE_FULL_ASSERT 1 */ 00068 00069 /* Exported macro ------------------------------------------------------------*/ 00070 #ifdef USE_FULL_ASSERT 00071 00072 /** 00073 * @brief The assert_param macro is used for function's parameters check. 00074 * @param expr: If expr is false, it calls assert_failed function 00075 * which reports the name of the source file and the source 00076 * line number of the call that failed. 00077 * If expr is true, it returns no value. 00078 * @retval None 00079 */ 00080 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 00081 /* Exported functions ------------------------------------------------------- */ 00082 void assert_failed(uint8_t* file, uint32_t line); 00083 #else 00084 #define assert_param(expr) ((void)0) 00085 #endif /* USE_FULL_ASSERT */ 00086 00087 #endif /* __STM32F4xx_CONF_H */ 00088 00089 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 00090
Generated on Tue Jul 12 2022 19:53:13 by
