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