meh

Fork of mbed by mbed official

Committer:
ricardobtez
Date:
Tue Apr 05 23:51:21 2016 +0000
Revision:
118:16969dd821af
Parent:
92:4fc01daae5a5
Child:
96:487b796308b0
dgdgr

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 84:0b3ab51c8877 1 /**
bogdanm 84:0b3ab51c8877 2 ******************************************************************************
bogdanm 84:0b3ab51c8877 3 * @file stm32l0xx_hal.h
bogdanm 84:0b3ab51c8877 4 * @author MCD Application Team
bogdanm 92:4fc01daae5a5 5 * @version V1.1.0
bogdanm 92:4fc01daae5a5 6 * @date 18-June-2014
bogdanm 84:0b3ab51c8877 7 * @brief This file contains all the functions prototypes for the HAL
bogdanm 84:0b3ab51c8877 8 * module driver.
bogdanm 84:0b3ab51c8877 9 ******************************************************************************
bogdanm 84:0b3ab51c8877 10 * @attention
bogdanm 84:0b3ab51c8877 11 *
bogdanm 84:0b3ab51c8877 12 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
bogdanm 84:0b3ab51c8877 13 *
bogdanm 84:0b3ab51c8877 14 * Redistribution and use in source and binary forms, with or without modification,
bogdanm 84:0b3ab51c8877 15 * are permitted provided that the following conditions are met:
bogdanm 84:0b3ab51c8877 16 * 1. Redistributions of source code must retain the above copyright notice,
bogdanm 84:0b3ab51c8877 17 * this list of conditions and the following disclaimer.
bogdanm 84:0b3ab51c8877 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
bogdanm 84:0b3ab51c8877 19 * this list of conditions and the following disclaimer in the documentation
bogdanm 84:0b3ab51c8877 20 * and/or other materials provided with the distribution.
bogdanm 84:0b3ab51c8877 21 * 3. Neither the name of STMicroelectronics nor the names of its contributors
bogdanm 84:0b3ab51c8877 22 * may be used to endorse or promote products derived from this software
bogdanm 84:0b3ab51c8877 23 * without specific prior written permission.
bogdanm 84:0b3ab51c8877 24 *
bogdanm 84:0b3ab51c8877 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
bogdanm 84:0b3ab51c8877 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
bogdanm 84:0b3ab51c8877 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
bogdanm 84:0b3ab51c8877 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
bogdanm 84:0b3ab51c8877 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
bogdanm 84:0b3ab51c8877 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
bogdanm 84:0b3ab51c8877 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
bogdanm 84:0b3ab51c8877 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
bogdanm 84:0b3ab51c8877 33 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
bogdanm 84:0b3ab51c8877 34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bogdanm 84:0b3ab51c8877 35 *
bogdanm 84:0b3ab51c8877 36 ******************************************************************************
bogdanm 84:0b3ab51c8877 37 */
bogdanm 84:0b3ab51c8877 38
bogdanm 84:0b3ab51c8877 39 /* Define to prevent recursive inclusion -------------------------------------*/
bogdanm 84:0b3ab51c8877 40 #ifndef __STM32L0xx_HAL_H
bogdanm 84:0b3ab51c8877 41 #define __STM32L0xx_HAL_H
bogdanm 84:0b3ab51c8877 42
bogdanm 84:0b3ab51c8877 43 #ifdef __cplusplus
bogdanm 84:0b3ab51c8877 44 extern "C" {
bogdanm 84:0b3ab51c8877 45 #endif
bogdanm 84:0b3ab51c8877 46
bogdanm 84:0b3ab51c8877 47 /* Includes ------------------------------------------------------------------*/
bogdanm 84:0b3ab51c8877 48 #include "stm32l0xx_hal_conf.h"
bogdanm 84:0b3ab51c8877 49
bogdanm 84:0b3ab51c8877 50 /** @addtogroup STM32L0xx_HAL_Driver
bogdanm 84:0b3ab51c8877 51 * @{
bogdanm 84:0b3ab51c8877 52 */
bogdanm 84:0b3ab51c8877 53
bogdanm 84:0b3ab51c8877 54 /** @addtogroup HAL
bogdanm 84:0b3ab51c8877 55 * @{
bogdanm 84:0b3ab51c8877 56 */
bogdanm 84:0b3ab51c8877 57
bogdanm 84:0b3ab51c8877 58 /* Exported types ------------------------------------------------------------*/
bogdanm 84:0b3ab51c8877 59 /* Exported constants --------------------------------------------------------*/
bogdanm 84:0b3ab51c8877 60 /** @defgroup HAL_Exported_Constants
bogdanm 84:0b3ab51c8877 61 * @{
bogdanm 84:0b3ab51c8877 62 */
bogdanm 84:0b3ab51c8877 63
bogdanm 92:4fc01daae5a5 64 /** @defgroup HAL_DBGMCU_Low_Power_Config
bogdanm 84:0b3ab51c8877 65 * @{
bogdanm 84:0b3ab51c8877 66 */
bogdanm 84:0b3ab51c8877 67 #define DBGMCU_SLEEP DBGMCU_CR_DBG_SLEEP
bogdanm 84:0b3ab51c8877 68 #define DBGMCU_STOP DBGMCU_CR_DBG_STOP
bogdanm 84:0b3ab51c8877 69 #define DBGMCU_STANDBY DBGMCU_CR_DBG_STANDBY
bogdanm 84:0b3ab51c8877 70 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFF8) == 0x00) && ((PERIPH) != 0x00))
bogdanm 84:0b3ab51c8877 71
bogdanm 84:0b3ab51c8877 72 /**
bogdanm 84:0b3ab51c8877 73 * @}
bogdanm 84:0b3ab51c8877 74 */
bogdanm 84:0b3ab51c8877 75
bogdanm 84:0b3ab51c8877 76
bogdanm 92:4fc01daae5a5 77 /** @defgroup HAL_SYSCFG_I2C_FastModePlus_Config
bogdanm 84:0b3ab51c8877 78 * @{
bogdanm 84:0b3ab51c8877 79 */
bogdanm 84:0b3ab51c8877 80 #define SYSCFG_I2CFastModePlus_PB6 SYSCFG_CFGR2_I2C_PB6_FMP /* Enable Fast Mode Plus on PB6 */
bogdanm 84:0b3ab51c8877 81 #define SYSCFG_I2CFastModePlus_PB7 SYSCFG_CFGR2_I2C_PB7_FMP /* Enable Fast Mode Plus on PB7 */
bogdanm 84:0b3ab51c8877 82 #define SYSCFG_I2CFastModePlus_PB8 SYSCFG_CFGR2_I2C_PB8_FMP /* Enable Fast Mode Plus on PB8 */
bogdanm 84:0b3ab51c8877 83 #define SYSCFG_I2CFastModePlus_PB9 SYSCFG_CFGR2_I2C_PB9_FMP /* Enable Fast Mode Plus on PB9 */
bogdanm 84:0b3ab51c8877 84 #define SYSCFG_I2CFastModePlus_I2C1 SYSCFG_CFGR2_I2C1_FMP /*!< Enable Fast Mode Plus on I2C1 pins */
bogdanm 84:0b3ab51c8877 85 #define SYSCFG_I2CFastModePlus_I2C2 SYSCFG_CFGR2_I2C2_FMP /*!< Enable Fast Mode Plus on I2C2 pins */
bogdanm 84:0b3ab51c8877 86
bogdanm 84:0b3ab51c8877 87 #define IS_SYSCFG_I2C_FMP(PIN) (((PIN) == SYSCFG_I2CFastModePlus_PB6) || \
bogdanm 84:0b3ab51c8877 88 ((PIN) == SYSCFG_I2CFastModePlus_PB7) || \
bogdanm 84:0b3ab51c8877 89 ((PIN) == SYSCFG_I2CFastModePlus_PB8) || \
bogdanm 84:0b3ab51c8877 90 ((PIN) == SYSCFG_I2CFastModePlus_PB9) || \
bogdanm 84:0b3ab51c8877 91 ((PIN) == SYSCFG_I2CFastModePlus_I2C1) || \
bogdanm 84:0b3ab51c8877 92 ((PIN) == SYSCFG_I2CFastModePlus_I2C2))
bogdanm 84:0b3ab51c8877 93
bogdanm 84:0b3ab51c8877 94 /**
bogdanm 84:0b3ab51c8877 95 * @}
bogdanm 84:0b3ab51c8877 96 */
bogdanm 84:0b3ab51c8877 97
bogdanm 92:4fc01daae5a5 98 /** @defgroup HAL_SYSCFG_VREFINT_OUT_SELECT
bogdanm 84:0b3ab51c8877 99 * @{
bogdanm 84:0b3ab51c8877 100 */
bogdanm 84:0b3ab51c8877 101 #define SYSCFG_VREFINT_OUT_NONE ((uint32_t)0x00000000) /* no pad connected */
bogdanm 84:0b3ab51c8877 102 #define SYSCFG_VREFINT_OUT_PB0 SYSCFG_CFGR3_VREF_OUT_0 /* Selects PBO as output for the Vrefint */
bogdanm 84:0b3ab51c8877 103 #define SYSCFG_VREFINT_OUT_PB1 SYSCFG_CFGR3_VREF_OUT_1 /* Selects PB1 as output for the Vrefint */
bogdanm 84:0b3ab51c8877 104 #define SYSCFG_VREFINT_OUT_PB0_PB1 SYSCFG_CFGR3_VREF_OUT /* Selects PBO and PB1 as output for the Vrefint */
bogdanm 84:0b3ab51c8877 105
bogdanm 84:0b3ab51c8877 106 #define IS_SYSCFG_VREFINT_OUT_SELECT(OUTPUT) (((OUTPUT) == SYSCFG_VREFINT_OUT_PB0) || \
bogdanm 84:0b3ab51c8877 107 ((OUTPUT) == SYSCFG_VREFINT_OUT_PB1) || \
bogdanm 84:0b3ab51c8877 108 ((OUTPUT) == SYSCFG_VREFINT_OUT_PB0_PB1))
bogdanm 84:0b3ab51c8877 109
bogdanm 84:0b3ab51c8877 110 /**
bogdanm 84:0b3ab51c8877 111 * @}
bogdanm 84:0b3ab51c8877 112 */
bogdanm 84:0b3ab51c8877 113
bogdanm 92:4fc01daae5a5 114 /** @defgroup HAL_SYSCFG_flags_definition
bogdanm 84:0b3ab51c8877 115 * @{
bogdanm 84:0b3ab51c8877 116 */
bogdanm 84:0b3ab51c8877 117
bogdanm 84:0b3ab51c8877 118 #define SYSCFG_FLAG_RC48 SYSCFG_CFGR3_REF_HSI48_RDYF
bogdanm 84:0b3ab51c8877 119 #define SYSCFG_FLAG_SENSOR_ADC SYSCFG_CFGR3_SENSOR_ADC_RDYF
bogdanm 84:0b3ab51c8877 120 #define SYSCFG_FLAG_VREF_ADC SYSCFG_VREFINT_ADC_RDYF
bogdanm 84:0b3ab51c8877 121 #define SYSCFG_FLAG_VREF_COMP SYSCFG_CFGR3_VREFINT_COMP_RDYF
bogdanm 84:0b3ab51c8877 122 #define SYSCFG_FLAG_VREF_READY SYSCFG_CFGR3_VREFINT_RDYF
bogdanm 84:0b3ab51c8877 123
bogdanm 84:0b3ab51c8877 124 #define IS_SYSCFG_FLAG(FLAG) (((FLAG) == SYSCFG_FLAG_RC48) || \
bogdanm 84:0b3ab51c8877 125 ((FLAG) == SYSCFG_FLAG_SENSOR_ADC) || \
bogdanm 84:0b3ab51c8877 126 ((FLAG) == SYSCFG_FLAG_VREF_ADC) || \
bogdanm 84:0b3ab51c8877 127 ((FLAG) == SYSCFG_FLAG_VREF_COMP) || \
bogdanm 84:0b3ab51c8877 128 ((FLAG) == SYSCFG_FLAG_VREF_READY))
bogdanm 84:0b3ab51c8877 129
bogdanm 84:0b3ab51c8877 130 /**
bogdanm 84:0b3ab51c8877 131 * @}
bogdanm 84:0b3ab51c8877 132 */
bogdanm 84:0b3ab51c8877 133 /* Exported macro ------------------------------------------------------------*/
bogdanm 84:0b3ab51c8877 134
bogdanm 84:0b3ab51c8877 135 /** @brief Freeze/Unfreeze Peripherals in Debug mode
bogdanm 84:0b3ab51c8877 136 */
bogdanm 84:0b3ab51c8877 137 #define __HAL_FREEZE_TIM2_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP))
bogdanm 84:0b3ab51c8877 138 #define __HAL_FREEZE_TIM6_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM6_STOP))
bogdanm 84:0b3ab51c8877 139 #define __HAL_FREEZE_RTC_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_RTC_STOP))
bogdanm 84:0b3ab51c8877 140 #define __HAL_FREEZE_WWDG_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_WWDG_STOP))
bogdanm 84:0b3ab51c8877 141 #define __HAL_FREEZE_IWDG_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_IWDG_STOP))
bogdanm 84:0b3ab51c8877 142 #define __HAL_FREEZE_I2C1_TIMEOUT_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C1_STOP))
bogdanm 84:0b3ab51c8877 143 #define __HAL_FREEZE_I2C2_TIMEOUT_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C2_STOP))
bogdanm 84:0b3ab51c8877 144 #define __HAL_FREEZE_LPTIMER_DBGMCU() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_LPTIMER_STOP))
bogdanm 84:0b3ab51c8877 145 #define __HAL_FREEZE_TIM22_DBGMCU() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM22_STOP))
bogdanm 84:0b3ab51c8877 146 #define __HAL_FREEZE_TIM21_DBGMCU() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM21_STOP))
bogdanm 84:0b3ab51c8877 147
bogdanm 84:0b3ab51c8877 148 #define __HAL_UNFREEZE_TIM2_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM2_STOP))
bogdanm 84:0b3ab51c8877 149 #define __HAL_UNFREEZE_TIM6_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM6_STOP))
bogdanm 84:0b3ab51c8877 150 #define __HAL_UNFREEZE_RTC_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_RTC_STOP))
bogdanm 84:0b3ab51c8877 151 #define __HAL_UNFREEZE_WWDG_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_WWDG_STOP))
bogdanm 84:0b3ab51c8877 152 #define __HAL_UNFREEZE_IWDG_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_IWDG_STOP))
bogdanm 84:0b3ab51c8877 153 #define __HAL_UNFREEZE_I2C1_TIMEOUT_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C1_STOP))
bogdanm 84:0b3ab51c8877 154 #define __HAL_UNFREEZE_I2C2_TIMEOUT_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C2_STOP))
bogdanm 84:0b3ab51c8877 155 #define __HAL_UNFREEZE_LPTIMER_DBGMCU() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_LPTIMER_STOP))
bogdanm 84:0b3ab51c8877 156 #define __HAL_UNFREEZE_TIM22_DBGMCU() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM22_STOP))
bogdanm 84:0b3ab51c8877 157 #define __HAL_UNFREEZE_TIM21_DBGMCU() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM21_STOP))
bogdanm 84:0b3ab51c8877 158
bogdanm 84:0b3ab51c8877 159 /** @brief Main Flash memory mapped at 0x00000000
bogdanm 84:0b3ab51c8877 160 */
bogdanm 84:0b3ab51c8877 161 #define __HAL_REMAPMEMORY_FLASH (SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_MEM_MODE))
bogdanm 84:0b3ab51c8877 162
bogdanm 84:0b3ab51c8877 163 /** @brief System Flash memory mapped at 0x00000000
bogdanm 84:0b3ab51c8877 164 */
bogdanm 92:4fc01daae5a5 165 #define __HAL_REMAPMEMORY_SYSTEMFLASH do {SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_MEM_MODE);\
bogdanm 92:4fc01daae5a5 166 SYSCFG->CFGR1 |= SYSCFG_CFGR1_MEM_MODE_0;\
bogdanm 84:0b3ab51c8877 167 }while(0);
bogdanm 84:0b3ab51c8877 168
bogdanm 84:0b3ab51c8877 169 /** @brief Embedded SRAM mapped at 0x00000000
bogdanm 84:0b3ab51c8877 170 */
bogdanm 84:0b3ab51c8877 171 #define __HAL_REMAPMEMORY_SRAM do {SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_MEM_MODE);\
bogdanm 84:0b3ab51c8877 172 SYSCFG->CFGR1 |= (SYSCFG_CFGR1_MEM_MODE_0 | SYSCFG_CFGR1_MEM_MODE_1);\
bogdanm 84:0b3ab51c8877 173 }while(0);
bogdanm 84:0b3ab51c8877 174
bogdanm 84:0b3ab51c8877 175 /** @brief Check whether the specified SYSCFG flag is set or not.
bogdanm 84:0b3ab51c8877 176 * @param __FLAG__: specifies the flag to check.
bogdanm 84:0b3ab51c8877 177 * This parameter can be one of the following values:
bogdanm 84:0b3ab51c8877 178 * SYSCFG_FLAG_PE: SRAM parity error flag.
bogdanm 84:0b3ab51c8877 179 * @arg SYSCFG_FLAG_RC48
bogdanm 84:0b3ab51c8877 180 * @arg SYSCFG_FLAG_SENSOR_ADC
bogdanm 84:0b3ab51c8877 181 * @arg SYSCFG_FLAG_VREF_ADC
bogdanm 84:0b3ab51c8877 182 * @arg SYSCFG_FLAG_VREF_COMP
bogdanm 84:0b3ab51c8877 183 * @arg SYSCFG_FLAG_VREF_READY
bogdanm 84:0b3ab51c8877 184 * @retval The new state of __FLAG__ (TRUE or FALSE).
bogdanm 84:0b3ab51c8877 185 */
bogdanm 84:0b3ab51c8877 186 #define __HAL_SYSCFG_GET_FLAG(__FLAG__) (((SYSCFG->CFGR3) & (__FLAG__)) == (__FLAG__))
bogdanm 84:0b3ab51c8877 187
bogdanm 84:0b3ab51c8877 188 /**
bogdanm 84:0b3ab51c8877 189 * @}
bogdanm 84:0b3ab51c8877 190 */
bogdanm 84:0b3ab51c8877 191 /* Exported functions --------------------------------------------------------*/
bogdanm 84:0b3ab51c8877 192
bogdanm 84:0b3ab51c8877 193 /* Initialization and de-initialization functions ******************************/
bogdanm 84:0b3ab51c8877 194 HAL_StatusTypeDef HAL_Init(void);
bogdanm 84:0b3ab51c8877 195 HAL_StatusTypeDef HAL_DeInit(void);
bogdanm 84:0b3ab51c8877 196 void HAL_MspInit(void);
bogdanm 84:0b3ab51c8877 197 void HAL_MspDeInit(void);
bogdanm 84:0b3ab51c8877 198 HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority);
bogdanm 84:0b3ab51c8877 199
bogdanm 84:0b3ab51c8877 200 /* Peripheral Control functions ************************************************/
bogdanm 84:0b3ab51c8877 201 void HAL_IncTick(void);
bogdanm 84:0b3ab51c8877 202 void HAL_Delay(__IO uint32_t Delay);
bogdanm 84:0b3ab51c8877 203 uint32_t HAL_GetTick(void);
bogdanm 84:0b3ab51c8877 204 void HAL_SuspendTick(void);
bogdanm 84:0b3ab51c8877 205 void HAL_ResumeTick(void);
bogdanm 84:0b3ab51c8877 206 uint32_t HAL_GetHalVersion(void);
bogdanm 84:0b3ab51c8877 207 uint32_t HAL_GetREVID(void);
bogdanm 84:0b3ab51c8877 208 uint32_t HAL_GetDEVID(void);
bogdanm 92:4fc01daae5a5 209 void HAL_EnableDBGSleepMode(void);
bogdanm 92:4fc01daae5a5 210 void HAL_DisableDBGSleepMode(void);
bogdanm 92:4fc01daae5a5 211 void HAL_EnableDBGStopMode(void);
bogdanm 92:4fc01daae5a5 212 void HAL_DisableDBGStopMode(void);
bogdanm 92:4fc01daae5a5 213 void HAL_EnableDBGStandbyMode(void);
bogdanm 92:4fc01daae5a5 214 void HAL_DisableDBGStandbyMode(void);
bogdanm 84:0b3ab51c8877 215 void HAL_DBG_LowPowerConfig(uint32_t Periph, FunctionalState NewState);
bogdanm 84:0b3ab51c8877 216 uint32_t HAL_GetBootMode(void);
bogdanm 84:0b3ab51c8877 217 void HAL_I2CFastModePlusConfig(uint32_t SYSCFG_I2CFastModePlus, FunctionalState NewState);
bogdanm 84:0b3ab51c8877 218 void HAL_VREFINT_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 219 void HAL_VREFINT_OutputSelect(uint32_t SYSCFG_Vrefint_OUTPUT);
bogdanm 84:0b3ab51c8877 220 void HAL_ADC_EnableBuffer_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 221 void HAL_ADC_EnableBufferSensor_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 222 void HAL_COMP_EnableBuffer_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 223 void HAL_RC48_EnableBuffer_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 224 void HAL_Lock_Cmd(FunctionalState NewState);
bogdanm 84:0b3ab51c8877 225
bogdanm 84:0b3ab51c8877 226 /**
bogdanm 84:0b3ab51c8877 227 * @}
bogdanm 84:0b3ab51c8877 228 */
bogdanm 84:0b3ab51c8877 229
bogdanm 84:0b3ab51c8877 230 /**
bogdanm 84:0b3ab51c8877 231 * @}
bogdanm 84:0b3ab51c8877 232 */
bogdanm 84:0b3ab51c8877 233
bogdanm 84:0b3ab51c8877 234 #ifdef __cplusplus
bogdanm 84:0b3ab51c8877 235 }
bogdanm 84:0b3ab51c8877 236 #endif
bogdanm 84:0b3ab51c8877 237
bogdanm 84:0b3ab51c8877 238 #endif /* __STM32L0xx_HAL_H */
bogdanm 84:0b3ab51c8877 239
bogdanm 84:0b3ab51c8877 240 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/