Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWorld_PLC01A1
x_nucleo_plc01a1_config.h
00001 /** 00002 ****************************************************************************** 00003 * @file x_nucleo_plc01a1_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_PLC01A1 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_PLC01A1_CONFIG_H 00045 #define __X_NUCLEO_PLC01A1_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_PLC01A1_PIN_I2C_SCL (D15) 00068 #define X_NUCLEO_PLC01A1_PIN_I2C_SDA (D14) 00069 00070 /* Output channels enable pin. */ 00071 #define X_NUCLEO_PLC01A1_PIN_OUT_EN (D6) 00072 00073 /* SPI. */ 00074 #define X_NUCLEO_PLC01A1_PIN_SPI_CS1 (D9) 00075 #define X_NUCLEO_PLC01A1_PIN_SPI_CS2 (D10) 00076 00077 #define X_NUCLEO_PLC01A1_PIN_SPI_MOSI (D11) 00078 #define X_NUCLEO_PLC01A1_PIN_SPI_MISO (D12) 00079 #define X_NUCLEO_PLC01A1_PIN_SPI_SCLK (D13) 00080 00081 #define X_NUCLEO_PLC01A1_PIN_SPI_BITS (16) 00082 00083 /* Interrupts. */ 00084 #define X_NUCLEO_PLC01A1_PIN_INT_1 (A2) 00085 00086 /* Maximum number of mounted "X-NUCLEO-PLC01A1" Expansion Boards. */ 00087 #define EXPBRD_MOUNTED_NR_MAX (4) 00088 00089 #endif /* __X_NUCLEO_PLC01A1_CONFIG_H */
Generated on Fri Jul 15 2022 00:11:30 by
