2019-2020 Multisensor project using the X_NUCLEO_IKS01A3 sensor platform
Dependencies: X_NUCLEO_IKS01A3
gpio.h@18:17f5509ac69b, 2019-11-26 (annotated)
- Committer:
- martlefebvre94
- Date:
- Tue Nov 26 11:33:10 2019 +0000
- Revision:
- 18:17f5509ac69b
Addition of GPIOs for controlling the LEDs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
martlefebvre94 | 18:17f5509ac69b | 1 | /** |
martlefebvre94 | 18:17f5509ac69b | 2 | ****************************************************************************** |
martlefebvre94 | 18:17f5509ac69b | 3 | * File Name : gpio.h |
martlefebvre94 | 18:17f5509ac69b | 4 | * Description : This file contains all the functions prototypes for |
martlefebvre94 | 18:17f5509ac69b | 5 | * the gpio |
martlefebvre94 | 18:17f5509ac69b | 6 | ****************************************************************************** |
martlefebvre94 | 18:17f5509ac69b | 7 | ** This notice applies to any and all portions of this file |
martlefebvre94 | 18:17f5509ac69b | 8 | * that are not between comment pairs USER CODE BEGIN and |
martlefebvre94 | 18:17f5509ac69b | 9 | * USER CODE END. Other portions of this file, whether |
martlefebvre94 | 18:17f5509ac69b | 10 | * inserted by the user or by software development tools |
martlefebvre94 | 18:17f5509ac69b | 11 | * are owned by their respective copyright owners. |
martlefebvre94 | 18:17f5509ac69b | 12 | * |
martlefebvre94 | 18:17f5509ac69b | 13 | * COPYRIGHT(c) 2019 STMicroelectronics |
martlefebvre94 | 18:17f5509ac69b | 14 | * |
martlefebvre94 | 18:17f5509ac69b | 15 | * Redistribution and use in source and binary forms, with or without modification, |
martlefebvre94 | 18:17f5509ac69b | 16 | * are permitted provided that the following conditions are met: |
martlefebvre94 | 18:17f5509ac69b | 17 | * 1. Redistributions of source code must retain the above copyright notice, |
martlefebvre94 | 18:17f5509ac69b | 18 | * this list of conditions and the following disclaimer. |
martlefebvre94 | 18:17f5509ac69b | 19 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
martlefebvre94 | 18:17f5509ac69b | 20 | * this list of conditions and the following disclaimer in the documentation |
martlefebvre94 | 18:17f5509ac69b | 21 | * and/or other materials provided with the distribution. |
martlefebvre94 | 18:17f5509ac69b | 22 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
martlefebvre94 | 18:17f5509ac69b | 23 | * may be used to endorse or promote products derived from this software |
martlefebvre94 | 18:17f5509ac69b | 24 | * without specific prior written permission. |
martlefebvre94 | 18:17f5509ac69b | 25 | * |
martlefebvre94 | 18:17f5509ac69b | 26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
martlefebvre94 | 18:17f5509ac69b | 27 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
martlefebvre94 | 18:17f5509ac69b | 28 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
martlefebvre94 | 18:17f5509ac69b | 29 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
martlefebvre94 | 18:17f5509ac69b | 30 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
martlefebvre94 | 18:17f5509ac69b | 31 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
martlefebvre94 | 18:17f5509ac69b | 32 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
martlefebvre94 | 18:17f5509ac69b | 33 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
martlefebvre94 | 18:17f5509ac69b | 34 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
martlefebvre94 | 18:17f5509ac69b | 35 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
martlefebvre94 | 18:17f5509ac69b | 36 | * |
martlefebvre94 | 18:17f5509ac69b | 37 | ****************************************************************************** |
martlefebvre94 | 18:17f5509ac69b | 38 | */ |
martlefebvre94 | 18:17f5509ac69b | 39 | |
martlefebvre94 | 18:17f5509ac69b | 40 | /* Define to prevent recursive inclusion -------------------------------------*/ |
martlefebvre94 | 18:17f5509ac69b | 41 | #ifndef __gpio_H |
martlefebvre94 | 18:17f5509ac69b | 42 | #define __gpio_H |
martlefebvre94 | 18:17f5509ac69b | 43 | |
martlefebvre94 | 18:17f5509ac69b | 44 | /* Includes ------------------------------------------------------------------*/ |
martlefebvre94 | 18:17f5509ac69b | 45 | #include "stm32l0xx_hal.h" |
martlefebvre94 | 18:17f5509ac69b | 46 | #include "main.h" |
martlefebvre94 | 18:17f5509ac69b | 47 | |
martlefebvre94 | 18:17f5509ac69b | 48 | void MX_GPIO_Init(void); |
martlefebvre94 | 18:17f5509ac69b | 49 | |
martlefebvre94 | 18:17f5509ac69b | 50 | #endif /*__ pinoutConfig_H */ |
martlefebvre94 | 18:17f5509ac69b | 51 | |
martlefebvre94 | 18:17f5509ac69b | 52 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |