STM Imu acquisition setup using ethernet

Dependencies:   F7_Ethernet mbed HTS221 LPS22HB LSM303AGR LSM6DSL

Fork of Nucleo_F746ZG_Ethernet by Dieter Graef

Committer:
nirnakern
Date:
Fri Jan 26 09:53:08 2018 +0000
Revision:
3:758e8ed30819
First commit of IMU acquisition program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nirnakern 3:758e8ed30819 1 /**
nirnakern 3:758e8ed30819 2 ******************************************************************************
nirnakern 3:758e8ed30819 3 * @file x_nucleo_iks01a2_targets.h
nirnakern 3:758e8ed30819 4 * @author CLab
nirnakern 3:758e8ed30819 5 * @version V1.0.0
nirnakern 3:758e8ed30819 6 * @date 9-August-2016
nirnakern 3:758e8ed30819 7 * @brief This header file is intended to manage the differences between
nirnakern 3:758e8ed30819 8 * the different supported base-boards which might mount the
nirnakern 3:758e8ed30819 9 * X_NUCLEO_IKS01A2 MEMS Inertial & Environmental Nucleo Expansion Board.
nirnakern 3:758e8ed30819 10 ******************************************************************************
nirnakern 3:758e8ed30819 11 * @attention
nirnakern 3:758e8ed30819 12 *
nirnakern 3:758e8ed30819 13 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
nirnakern 3:758e8ed30819 14 *
nirnakern 3:758e8ed30819 15 * Redistribution and use in source and binary forms, with or without modification,
nirnakern 3:758e8ed30819 16 * are permitted provided that the following conditions are met:
nirnakern 3:758e8ed30819 17 * 1. Redistributions of source code must retain the above copyright notice,
nirnakern 3:758e8ed30819 18 * this list of conditions and the following disclaimer.
nirnakern 3:758e8ed30819 19 * 2. Redistributions in binary form must reproduce the above copyright notice,
nirnakern 3:758e8ed30819 20 * this list of conditions and the following disclaimer in the documentation
nirnakern 3:758e8ed30819 21 * and/or other materials provided with the distribution.
nirnakern 3:758e8ed30819 22 * 3. Neither the name of STMicroelectronics nor the names of its contributors
nirnakern 3:758e8ed30819 23 * may be used to endorse or promote products derived from this software
nirnakern 3:758e8ed30819 24 * without specific prior written permission.
nirnakern 3:758e8ed30819 25 *
nirnakern 3:758e8ed30819 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
nirnakern 3:758e8ed30819 27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
nirnakern 3:758e8ed30819 28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
nirnakern 3:758e8ed30819 29 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
nirnakern 3:758e8ed30819 30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
nirnakern 3:758e8ed30819 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
nirnakern 3:758e8ed30819 32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
nirnakern 3:758e8ed30819 33 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
nirnakern 3:758e8ed30819 34 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
nirnakern 3:758e8ed30819 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
nirnakern 3:758e8ed30819 36 *
nirnakern 3:758e8ed30819 37 ******************************************************************************
nirnakern 3:758e8ed30819 38 */
nirnakern 3:758e8ed30819 39
nirnakern 3:758e8ed30819 40 /* Define to prevent from recursive inclusion --------------------------------*/
nirnakern 3:758e8ed30819 41 #ifndef _X_NUCLEO_IKS01A2_TARGETS_H_
nirnakern 3:758e8ed30819 42 #define _X_NUCLEO_IKS01A2_TARGETS_H_
nirnakern 3:758e8ed30819 43
nirnakern 3:758e8ed30819 44 /*** I2C ***/
nirnakern 3:758e8ed30819 45 /* Use Arduino I2C Connectors */
nirnakern 3:758e8ed30819 46 #define IKS01A2_PIN_I2C_SDA (D14)
nirnakern 3:758e8ed30819 47 #define IKS01A2_PIN_I2C_SCL (D15)
nirnakern 3:758e8ed30819 48
nirnakern 3:758e8ed30819 49 /* LSM6DSL INT1 */
nirnakern 3:758e8ed30819 50 #define IKS01A2_PIN_LSM6DSL_INT1 (D4)
nirnakern 3:758e8ed30819 51 /* LSM6DSL INT2 */
nirnakern 3:758e8ed30819 52 #define IKS01A2_PIN_LSM6DSL_INT2 (D5)
nirnakern 3:758e8ed30819 53
nirnakern 3:758e8ed30819 54 #endif // _X_NUCLEO_IKS01A2_TARGETS_H_