Simple "hello world" style program for X-NUCLEO-IKS01A1 MEMS Inertial

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed

Fork of HelloWorld_IKS01A1 by ST

Committer:
n0tform3
Date:
Sun Nov 15 09:00:40 2015 +0000
Revision:
8:1c6281289d67
test with led

Who changed what in which revision?

UserRevisionLine numberNew contents of line
n0tform3 8:1c6281289d67 1 /**
n0tform3 8:1c6281289d67 2 ******************************************************************************
n0tform3 8:1c6281289d67 3 * @file Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_conf.h
n0tform3 8:1c6281289d67 4 * @author MCD Application Team
n0tform3 8:1c6281289d67 5 * @version V1.0.0
n0tform3 8:1c6281289d67 6 * @date 30-September-2011
n0tform3 8:1c6281289d67 7 * @brief Library configuration file.
n0tform3 8:1c6281289d67 8 ******************************************************************************
n0tform3 8:1c6281289d67 9 * @attention
n0tform3 8:1c6281289d67 10 *
n0tform3 8:1c6281289d67 11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
n0tform3 8:1c6281289d67 12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
n0tform3 8:1c6281289d67 13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
n0tform3 8:1c6281289d67 14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
n0tform3 8:1c6281289d67 15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
n0tform3 8:1c6281289d67 16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
n0tform3 8:1c6281289d67 17 *
n0tform3 8:1c6281289d67 18 * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
n0tform3 8:1c6281289d67 19 ******************************************************************************
n0tform3 8:1c6281289d67 20 */
n0tform3 8:1c6281289d67 21
n0tform3 8:1c6281289d67 22 /* Define to prevent recursive inclusion -------------------------------------*/
n0tform3 8:1c6281289d67 23 #ifndef __STM32F4xx_CONF_H
n0tform3 8:1c6281289d67 24 #define __STM32F4xx_CONF_H
n0tform3 8:1c6281289d67 25
n0tform3 8:1c6281289d67 26 /* Includes ------------------------------------------------------------------*/
n0tform3 8:1c6281289d67 27 /* Uncomment the line below to enable peripheral header file inclusion */
n0tform3 8:1c6281289d67 28 //#include "stm32f4xx_adc.h"
n0tform3 8:1c6281289d67 29 //#include "stm32f4xx_can.h"
n0tform3 8:1c6281289d67 30 //#include "stm32f4xx_crc.h"
n0tform3 8:1c6281289d67 31 //#include "stm32f4xx_cryp.h"
n0tform3 8:1c6281289d67 32 //#include "stm32f4xx_dac.h"
n0tform3 8:1c6281289d67 33 //#include "stm32f4xx_dbgmcu.h"
n0tform3 8:1c6281289d67 34 //#include "stm32f4xx_dcmi.h"
n0tform3 8:1c6281289d67 35 //#include "stm32f4xx_dma.h"
n0tform3 8:1c6281289d67 36 //#include "stm32f4xx_exti.h"
n0tform3 8:1c6281289d67 37 //#include "stm32f4xx_flash.h"
n0tform3 8:1c6281289d67 38 //#include "stm32f4xx_fsmc.h"
n0tform3 8:1c6281289d67 39 //#include "stm32f4xx_hash.h"
n0tform3 8:1c6281289d67 40 //#include "stm32f4xx_gpio.h"
n0tform3 8:1c6281289d67 41 //#include "stm32f4xx_i2c.h"
n0tform3 8:1c6281289d67 42 //#include "stm32f4xx_iwdg.h"
n0tform3 8:1c6281289d67 43 //#include "stm32f4xx_pwr.h"
n0tform3 8:1c6281289d67 44 #include "stm32f4xx_rcc.h"
n0tform3 8:1c6281289d67 45 //#include "stm32f4xx_rng.h"
n0tform3 8:1c6281289d67 46 //#include "stm32f4xx_rtc.h"
n0tform3 8:1c6281289d67 47 //#include "stm32f4xx_sdio.h"
n0tform3 8:1c6281289d67 48 //#include "stm32f4xx_spi.h"
n0tform3 8:1c6281289d67 49 //#include "stm32f4xx_syscfg.h"
n0tform3 8:1c6281289d67 50 #include "stm32f4xx_tim.h"
n0tform3 8:1c6281289d67 51 //#include "stm32f4xx_usart.h"
n0tform3 8:1c6281289d67 52 //#include "stm32f4xx_wwdg.h"
n0tform3 8:1c6281289d67 53 #include "misc.h"
n0tform3 8:1c6281289d67 54 /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
n0tform3 8:1c6281289d67 55
n0tform3 8:1c6281289d67 56 /* Exported types ------------------------------------------------------------*/
n0tform3 8:1c6281289d67 57 /* Exported constants --------------------------------------------------------*/
n0tform3 8:1c6281289d67 58
n0tform3 8:1c6281289d67 59 /* If an external clock source is used, then the value of the following define
n0tform3 8:1c6281289d67 60 should be set to the value of the external clock source, else, if no external
n0tform3 8:1c6281289d67 61 clock is used, keep this define commented */
n0tform3 8:1c6281289d67 62 /*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */ /* Value of the external clock in Hz */
n0tform3 8:1c6281289d67 63
n0tform3 8:1c6281289d67 64
n0tform3 8:1c6281289d67 65 /* Uncomment the line below to expanse the "assert_param" macro in the
n0tform3 8:1c6281289d67 66 Standard Peripheral Library drivers code */
n0tform3 8:1c6281289d67 67 /* #define USE_FULL_ASSERT 1 */
n0tform3 8:1c6281289d67 68
n0tform3 8:1c6281289d67 69 /* Exported macro ------------------------------------------------------------*/
n0tform3 8:1c6281289d67 70 #ifdef USE_FULL_ASSERT
n0tform3 8:1c6281289d67 71
n0tform3 8:1c6281289d67 72 /**
n0tform3 8:1c6281289d67 73 * @brief The assert_param macro is used for function's parameters check.
n0tform3 8:1c6281289d67 74 * @param expr: If expr is false, it calls assert_failed function
n0tform3 8:1c6281289d67 75 * which reports the name of the source file and the source
n0tform3 8:1c6281289d67 76 * line number of the call that failed.
n0tform3 8:1c6281289d67 77 * If expr is true, it returns no value.
n0tform3 8:1c6281289d67 78 * @retval None
n0tform3 8:1c6281289d67 79 */
n0tform3 8:1c6281289d67 80 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
n0tform3 8:1c6281289d67 81 /* Exported functions ------------------------------------------------------- */
n0tform3 8:1c6281289d67 82 void assert_failed(uint8_t* file, uint32_t line);
n0tform3 8:1c6281289d67 83 #else
n0tform3 8:1c6281289d67 84 #define assert_param(expr) ((void)0)
n0tform3 8:1c6281289d67 85 #endif /* USE_FULL_ASSERT */
n0tform3 8:1c6281289d67 86
n0tform3 8:1c6281289d67 87 #endif /* __STM32F4xx_CONF_H */
n0tform3 8:1c6281289d67 88
n0tform3 8:1c6281289d67 89 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
n0tform3 8:1c6281289d67 90