LELEC2811 - I&S / Mbed OS LELEC2811_IKS01A3_Multisensors

Dependencies:   X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers adc.h Source File

adc.h

00001 /**
00002   ******************************************************************************
00003   * File Name          : ADC.h
00004   * Description        : This file provides code for the configuration
00005   *                      of the ADC instances.
00006   ******************************************************************************
00007   ** This notice applies to any and all portions of this file
00008   * that are not between comment pairs USER CODE BEGIN and
00009   * USER CODE END. Other portions of this file, whether 
00010   * inserted by the user or by software development tools
00011   * are owned by their respective copyright owners.
00012   *
00013   * COPYRIGHT(c) 2019 STMicroelectronics
00014   *
00015   * Redistribution and use in source and binary forms, with or without modification,
00016   * are permitted provided that the following conditions are met:
00017   *   1. Redistributions of source code must retain the above copyright notice,
00018   *      this list of conditions and the following disclaimer.
00019   *   2. Redistributions in binary form must reproduce the above copyright notice,
00020   *      this list of conditions and the following disclaimer in the documentation
00021   *      and/or other materials provided with the distribution.
00022   *   3. Neither the name of STMicroelectronics nor the names of its contributors
00023   *      may be used to endorse or promote products derived from this software
00024   *      without specific prior written permission.
00025   *
00026   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00027   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00028   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00029   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00030   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00031   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00032   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00033   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00034   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00035   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00036   *
00037   ******************************************************************************
00038   */
00039 /* Define to prevent recursive inclusion -------------------------------------*/
00040 #ifndef __adc_H
00041 #define __adc_H
00042 
00043 /* Includes ------------------------------------------------------------------*/
00044 #include "stm32l0xx_hal.h"
00045 #include "main.h"
00046 
00047 extern ADC_HandleTypeDef hadc;
00048 
00049 extern void _Error_Handler(char *, int);
00050 
00051 void MX_ADC_Init(void);
00052 
00053 #endif /*__ adc_H */
00054 
00055 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/