Changed default pin defines to match those available on MTS boards

Dependencies:   HTS221 LPS22HB LSM303AGR LSM6DSL

Dependents:   mDot-IKS01A2

Fork of X_NUCLEO_IKS01A2 by ST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers x_nucleo_iks01a2_targets.h Source File

x_nucleo_iks01a2_targets.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    x_nucleo_iks01a2_targets.h
00004   * @author  CLab
00005   * @version V1.0.0
00006   * @date    9-August-2016
00007   * @brief   This header file is intended to manage the differences between 
00008   *          the different supported base-boards which might mount the
00009   *          X_NUCLEO_IKS01A2 MEMS Inertial & Environmental Nucleo Expansion Board.
00010   ******************************************************************************
00011   * @attention
00012   *
00013   * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
00014   *
00015   * Redistribution and use in source and binary forms, with or without modification,
00016   * are permitted provided that the following conditions are met:
00017   *   1. Redistributions of source code must retain the above copyright notice,
00018   *      this list of conditions and the following disclaimer.
00019   *   2. Redistributions in binary form must reproduce the above copyright notice,
00020   *      this list of conditions and the following disclaimer in the documentation
00021   *      and/or other materials provided with the distribution.
00022   *   3. Neither the name of STMicroelectronics nor the names of its contributors
00023   *      may be used to endorse or promote products derived from this software
00024   *      without specific prior written permission.
00025   *
00026   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00027   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00028   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00029   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00030   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00031   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00032   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00033   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00034   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00035   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00036   *
00037   ******************************************************************************
00038   */ 
00039 
00040 /* Define to prevent from recursive inclusion --------------------------------*/
00041 #ifndef _X_NUCLEO_IKS01A2_TARGETS_H_
00042 #define _X_NUCLEO_IKS01A2_TARGETS_H_
00043 
00044 /*** I2C ***/
00045 /* Use Arduino I2C Connectors */
00046 #define IKS01A2_PIN_I2C_SDA         (D14)
00047 #define IKS01A2_PIN_I2C_SCL         (D15)
00048 
00049 /* LSM6DSL INT1 */
00050 #define IKS01A2_PIN_LSM6DSL_INT1     (PB_0)
00051 /* LSM6DSL INT2 */
00052 #define IKS01A2_PIN_LSM6DSL_INT2     (PB_2)
00053 
00054 #endif // _X_NUCLEO_IKS01A2_TARGETS_H_