mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.

Dependents:   HelloWorld_IKA01A1

Fork of X_NUCLEO_IKA01A1 by ST Expansion SW Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers x_nucleo_ika01a1_config.h Source File

x_nucleo_ika01a1_config.h

Go to the documentation of this file.
00001 /**
00002  ******************************************************************************
00003  * @file    x_nucleo_ika01a1_config.h
00004  * @author  AST / Software Platforms and Cloud
00005  * @version V1.0
00006  * @date    October 1st, 2015
00007  * @brief   Configuration header file for the X_NUCLEO_IKA01A1 expansion board.
00008  ******************************************************************************
00009  * @attention
00010  *
00011  * <h2><center>&copy; 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_IKA01A1_CONFIG_H
00045 #define __X_NUCLEO_IKA01A1_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  
00067 /* instrumentation amplifier configuration */
00068 #define X_NUCLEO_IKA01A1_PIN_INSTRUMENTATION_AMP (A1)
00069 
00070 /* Current sensing configuration */
00071 #define X_NUCLEO_IKA01A1_PIN_CURRENT_SENSING (A2)
00072   
00073 /* Photo sensor configuration output pin. */
00074 #define X_NUCLEO_IKA01A1_PIN_PHOTO_SENSOR (A3)
00075 
00076 /* Windows  */
00077 #define X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_1 (D2)
00078 #define X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_2 (D4)
00079 
00080 /* LED Driver Configuration PWM out pin. */
00081 #define X_NUCLEO_IKA01A1_PIN_PWM_LED_DRIVER_OUTPUT (D3)
00082 
00083 #endif /* __X_NUCLEO_IKA01A1_CONFIG_H */