STM32F0xx Standard Peripherals Firmware Library
|
STM32F0xx_StdPeriph_Examples/PWR/PWR_CurrentConsumption/stm32f0xx_conf.h
Go to the documentation of this file.
00001 /** 00002 ****************************************************************************** 00003 * @file PWR/PWR_CurrentConsumption/stm32f0xx_conf.h 00004 * @author MCD Application Team 00005 * @version V1.4.0 00006 * @date 24-July-2014 00007 * @brief Library configuration file. 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> 00012 * 00013 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); 00014 * You may not use this file except in compliance with the License. 00015 * You may obtain a copy of the License at: 00016 * 00017 * http://www.st.com/software_license_agreement_liberty_v2 00018 * 00019 * Unless required by applicable law or agreed to in writing, software 00020 * distributed under the License is distributed on an "AS IS" BASIS, 00021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00022 * See the License for the specific language governing permissions and 00023 * limitations under the License. 00024 * 00025 ****************************************************************************** 00026 */ 00027 00028 /* Define to prevent recursive inclusion -------------------------------------*/ 00029 #ifndef __STM32F0XX_CONF_H 00030 #define __STM32F0XX_CONF_H 00031 00032 /* Includes ------------------------------------------------------------------*/ 00033 /* Comment the line below to disable peripheral header file inclusion */ 00034 #include "stm32f0xx_adc.h" 00035 #include "stm32f0xx_can.h" 00036 #include "stm32f0xx_cec.h" 00037 #include "stm32f0xx_crc.h" 00038 #include "stm32f0xx_crs.h" 00039 #include "stm32f0xx_comp.h" 00040 #include "stm32f0xx_dac.h" 00041 #include "stm32f0xx_dbgmcu.h" 00042 #include "stm32f0xx_dma.h" 00043 #include "stm32f0xx_exti.h" 00044 #include "stm32f0xx_flash.h" 00045 #include "stm32f0xx_gpio.h" 00046 #include "stm32f0xx_syscfg.h" 00047 #include "stm32f0xx_i2c.h" 00048 #include "stm32f0xx_iwdg.h" 00049 #include "stm32f0xx_pwr.h" 00050 #include "stm32f0xx_rcc.h" 00051 #include "stm32f0xx_rtc.h" 00052 #include "stm32f0xx_spi.h" 00053 #include "stm32f0xx_tim.h" 00054 #include "stm32f0xx_usart.h" 00055 #include "stm32f0xx_wwdg.h" 00056 #include "stm32f0xx_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 00057 00058 /* Exported types ------------------------------------------------------------*/ 00059 /* Exported constants --------------------------------------------------------*/ 00060 /* Uncomment the line below to expanse the "assert_param" macro in the 00061 Standard Peripheral Library drivers code */ 00062 /* #define USE_FULL_ASSERT 1 */ 00063 00064 /* Exported macro ------------------------------------------------------------*/ 00065 #ifdef USE_FULL_ASSERT 00066 00067 /** 00068 * @brief The assert_param macro is used for function's parameters check. 00069 * @param expr: If expr is false, it calls assert_failed function which reports 00070 * the name of the source file and the source line number of the call 00071 * that failed. If expr is true, it returns no value. 00072 * @retval None 00073 */ 00074 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 00075 /* Exported functions ------------------------------------------------------- */ 00076 void assert_failed(uint8_t* file, uint32_t line); 00077 #else 00078 #define assert_param(expr) ((void)0) 00079 #endif /* USE_FULL_ASSERT */ 00080 00081 #endif /* __STM32F0XX_CONF_H */ 00082 00083 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/