Library to handle the X_NUCLEO_IHM02A1 Motor Control Expansion Board based on the L6470 component.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: HelloWorld_IHM02A1 ConcorsoFinal HelloWorld_IHM02A1_mbedOS HelloWorld_IHM02A1-Serialinterpreter ... more
Fork of X_NUCLEO_IHM02A1 by
x_nucleo_ihm02a1_config.h
00001 /** 00002 ****************************************************************************** 00003 * @file x_nucleo_ihm02a1_config.h 00004 * @author AST / Software Platforms and Cloud 00005 * @version V1.0 00006 * @date November 3rd, 2015 00007 * @brief Configuration header file for the X_NUCLEO_IHM02A1 expansion board. 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> 00012 * 00013 * Redistribution and use in source and binary forms, with or without modification, 00014 * are permitted provided that the following conditions are met: 00015 * 1. Redistributions of source code must retain the above copyright notice, 00016 * this list of conditions and the following disclaimer. 00017 * 2. Redistributions in binary form must reproduce the above copyright notice, 00018 * this list of conditions and the following disclaimer in the documentation 00019 * and/or other materials provided with the distribution. 00020 * 3. Neither the name of STMicroelectronics nor the names of its contributors 00021 * may be used to endorse or promote products derived from this software 00022 * without specific prior written permission. 00023 * 00024 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00025 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00026 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00027 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 00028 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00029 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00030 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00031 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00032 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00033 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00034 * 00035 ****************************************************************************** 00036 */ 00037 00038 00039 /* Generated with STM32CubeTOO -----------------------------------------------*/ 00040 00041 00042 /* Define to prevent recursive inclusion -------------------------------------*/ 00043 00044 #ifndef __X_NUCLEO_IHM02A1_CONFIG_H 00045 #define __X_NUCLEO_IHM02A1_CONFIG_H 00046 00047 00048 /* Definitions ---------------------------------------------------------------*/ 00049 00050 /* ACTION --------------------------------------------------------------------* 00051 * Specify here a configuration for I/O and interrupts' pins. * 00052 * * 00053 * Example: * 00054 * // I2C. * 00055 * #define EXPANSION_BOARD_PIN_I2C_SCL (D15) * 00056 * #define EXPANSION_BOARD_PIN_I2C_SDA (D14) * 00057 * * 00058 * // SPI. * 00059 * #define EXPANSION_BOARD_PIN_SPI_MOSI (D11) * 00060 * #define EXPANSION_BOARD_PIN_SPI_MISO (D12) * 00061 * #define EXPANSION_BOARD_PIN_SPI_SCLK (D13) * 00062 * * 00063 * // Interrupts. * 00064 * #define EXPANSION_BOARD_PIN_INT_1 (A2) * 00065 *----------------------------------------------------------------------------*/ 00066 /* I2C. */ 00067 #define X_NUCLEO_IHM02A1_PIN_I2C_SCL (D15) 00068 #define X_NUCLEO_IHM02A1_PIN_I2C_SDA (D14) 00069 00070 /* SPI. */ 00071 #define X_NUCLEO_IHM02A1_PIN_SPI_MOSI (D11) 00072 #define X_NUCLEO_IHM02A1_PIN_SPI_MISO (D12) 00073 #define X_NUCLEO_IHM02A1_PIN_SPI_SCLK (D13) 00074 00075 /* Interrupts. */ 00076 #define X_NUCLEO_IHM02A1_PIN_INT_1 (A2) 00077 00078 /* Maximum number of mounted "X-NUCLEO-IHM02A1" Expansion Boards. */ 00079 #define EXPBRD_MOUNTED_NR_MAX (4) 00080 00081 #endif /* __X_NUCLEO_IHM02A1_CONFIG_H */
Generated on Tue Jul 12 2022 22:48:07 by 1.7.2