Mercurial > ~darius > hgwebdir.cgi > stm32temp
diff libs/STM32F10x_StdPeriph_Lib_V3.5.0/Utilities/STM32_EVAL/stm32_eval.c @ 0:c59513fd84fb
Initial commit of STM32 test code.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 03 Oct 2011 21:19:15 +1030 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libs/STM32F10x_StdPeriph_Lib_V3.5.0/Utilities/STM32_EVAL/stm32_eval.c Mon Oct 03 21:19:15 2011 +1030 @@ -0,0 +1,120 @@ +/** + ****************************************************************************** + * @file stm32_eval.c + * @author MCD Application Team + * @version V4.5.0 + * @date 07-March-2011 + * @brief STM32xx-EVAL abstraction layer. + * This file should be added to the main application to use the provided + * functions that manage Leds, push-buttons, COM ports and low level + * HW resources initialization of the different modules available on + * STM32 evaluation boards 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. + * + * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> + ****************************************************************************** + */ + +/* Includes ------------------------------------------------------------------*/ +#include "stm32_eval.h" + +/** @addtogroup Utilities + * @{ + */ + +/** @defgroup STM32_EVAL + * @brief This file provides firmware functions to manage Leds, push-buttons, + * COM ports and low level HW resources initialization of the different + * modules available on STM32 Evaluation Boards from STMicroelectronics. + * @{ + */ + +/** @defgroup STM32_EVAL_Abstraction_Layer + * @{ + */ + +#ifdef USE_STM32100B_EVAL + #include "stm32100b_eval/stm32100b_eval.c" +#elif defined USE_STM3210B_EVAL + #include "stm3210b_eval/stm3210b_eval.c" +#elif defined USE_STM3210E_EVAL + #include "stm3210e_eval/stm3210e_eval.c" +#elif defined USE_STM3210C_EVAL + #include "stm3210c_eval/stm3210c_eval.c" +#elif defined USE_STM32L152_EVAL + #include "stm32l152_eval/stm32l152_eval.c" +#elif defined USE_STM32100E_EVAL + #include "stm32100e_eval/stm32100e_eval.c" +#else + #error "Please select first the STM32 EVAL board to be used (in stm32_eval.h)" +#endif + +/** @defgroup STM32_EVAL_Private_TypesDefinitions + * @{ + */ +/** + * @} + */ + + +/** @defgroup STM32_EVAL_Private_Defines + * @{ + */ +/** + * @} + */ + + +/** @defgroup STM32_EVAL_Private_Macros + * @{ + */ +/** + * @} + */ + + +/** @defgroup STM32_EVAL_Private_Variables + * @{ + */ +/** + * @} + */ + + +/** @defgroup STM32_EVAL_Private_FunctionPrototypes + * @{ + */ +/** + * @} + */ + + +/** @defgroup STM32_EVAL_Private_Functions + * @{ + */ +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/