Firmware Library for X-NUCLEO-IKS01A2 (MEMS Inertial & Environmental Sensors) Expansion Board
Dependencies: LPS22HB LSM6DSL LSM303AGR HTS221
Dependents: Giroscopio_main HelloWorld_IKS01A2 DuckieTownCar HelloWorld_IKS01A2 ... more
Fork of X_NUCLEO_IKS01A2 by
x_nucleo_iks01a2_targets.h
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>© 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 (D4) 00051 /* LSM6DSL INT2 */ 00052 #define IKS01A2_PIN_LSM6DSL_INT2 (D5) 00053 00054 #endif // _X_NUCLEO_IKS01A2_TARGETS_H_
Generated on Tue Jul 12 2022 11:38:50 by 1.7.2