2019-2020 Multisensor project using the X_NUCLEO_IKS01A3 sensor platform

Dependencies:   X_NUCLEO_IKS01A3

Committer:
martlefebvre94
Date:
Tue Nov 26 11:45:01 2019 +0000
Revision:
19:35f7b17d4bb5
Parent:
18:17f5509ac69b
Code cleaned

Who changed what in which revision?

UserRevisionLine numberNew contents of line
martlefebvre94 18:17f5509ac69b 1 /**
martlefebvre94 18:17f5509ac69b 2 ******************************************************************************
martlefebvre94 18:17f5509ac69b 3 * File Name : ADC.h
martlefebvre94 18:17f5509ac69b 4 * Description : This file provides code for the configuration
martlefebvre94 18:17f5509ac69b 5 * of the ADC instances.
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 /* Define to prevent recursive inclusion -------------------------------------*/
martlefebvre94 18:17f5509ac69b 40 #ifndef __adc_H
martlefebvre94 18:17f5509ac69b 41 #define __adc_H
martlefebvre94 18:17f5509ac69b 42
martlefebvre94 18:17f5509ac69b 43 /* Includes ------------------------------------------------------------------*/
martlefebvre94 18:17f5509ac69b 44 #include "stm32l0xx_hal.h"
martlefebvre94 18:17f5509ac69b 45 #include "main.h"
martlefebvre94 18:17f5509ac69b 46
martlefebvre94 18:17f5509ac69b 47 extern ADC_HandleTypeDef hadc;
martlefebvre94 18:17f5509ac69b 48
martlefebvre94 18:17f5509ac69b 49 extern void _Error_Handler(char *, int);
martlefebvre94 18:17f5509ac69b 50
martlefebvre94 18:17f5509ac69b 51 void MX_ADC_Init(void);
martlefebvre94 18:17f5509ac69b 52
martlefebvre94 18:17f5509ac69b 53 #endif /*__ adc_H */
martlefebvre94 18:17f5509ac69b 54
martlefebvre94 18:17f5509ac69b 55 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/