You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

457 lines
16 KiB

  1. /**
  2. ******************************************************************************
  3. * @file stm32l0xx_hal.h
  4. * @author MCD Application Team
  5. * @brief This file contains all the functions prototypes for the HAL
  6. * module driver.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
  11. * All rights reserved.</center></h2>
  12. *
  13. * This software component is licensed by ST under BSD 3-Clause license,
  14. * the "License"; You may not use this file except in compliance with the
  15. * License. You may obtain a copy of the License at:
  16. * opensource.org/licenses/BSD-3-Clause
  17. *
  18. ******************************************************************************
  19. */
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __STM32L0xx_HAL_H
  22. #define __STM32L0xx_HAL_H
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "stm32l0xx_hal_conf.h"
  28. /** @addtogroup STM32L0xx_HAL_Driver
  29. * @{
  30. */
  31. /** @defgroup HAL HAL
  32. * @{
  33. */
  34. /* Exported types ------------------------------------------------------------*/
  35. /* Exported constants --------------------------------------------------------*/
  36. /** @defgroup HAL_Exported_Constants HAL Exported Constants
  37. * @{
  38. */
  39. /** @defgroup SYSCFG_BootMode Boot Mode
  40. * @{
  41. */
  42. #define SYSCFG_BOOT_MAINFLASH ((uint32_t)0x00000000U)
  43. #define SYSCFG_BOOT_SYSTEMFLASH ((uint32_t)SYSCFG_CFGR1_BOOT_MODE_0)
  44. #define SYSCFG_BOOT_SRAM ((uint32_t)SYSCFG_CFGR1_BOOT_MODE)
  45. /**
  46. * @}
  47. */
  48. /** @defgroup DBGMCU_Low_Power_Config DBGMCU Low Power Configuration
  49. * @{
  50. */
  51. #define DBGMCU_SLEEP DBGMCU_CR_DBG_SLEEP
  52. #define DBGMCU_STOP DBGMCU_CR_DBG_STOP
  53. #define DBGMCU_STANDBY DBGMCU_CR_DBG_STANDBY
  54. #define IS_DBGMCU_PERIPH(__PERIPH__) ((((__PERIPH__) & (~(DBGMCU_CR_DBG))) == 0x00U) && ((__PERIPH__) != 0x00U))
  55. /**
  56. * @}
  57. */
  58. #if defined (LCD_BASE) /* STM32L0x3xx only */
  59. /** @defgroup SYSCFG_LCD_EXT_CAPA SYSCFG LCD External Capacitors
  60. * @{
  61. */
  62. #define SYSCFG_LCD_EXT_CAPA SYSCFG_CFGR2_CAPA /*!< Connection of internal Vlcd rail to external capacitors */
  63. #define SYSCFG_VLCD_PB2_EXT_CAPA_ON SYSCFG_CFGR2_CAPA_0 /*!< Connection on PB2 */
  64. #define SYSCFG_VLCD_PB12_EXT_CAPA_ON SYSCFG_CFGR2_CAPA_1 /*!< Connection on PB12 */
  65. #define SYSCFG_VLCD_PB0_EXT_CAPA_ON SYSCFG_CFGR2_CAPA_2 /*!< Connection on PB0 */
  66. #if defined (SYSCFG_CFGR2_CAPA_3)
  67. #define SYSCFG_VLCD_PE11_EXT_CAPA_ON SYSCFG_CFGR2_CAPA_3 /*!< Connection on PE11 */
  68. #endif
  69. #if defined (SYSCFG_CFGR2_CAPA_4)
  70. #define SYSCFG_VLCD_PE12_EXT_CAPA_ON SYSCFG_CFGR2_CAPA_4 /*!< Connection on PE12 */
  71. #endif
  72. /**
  73. * @}
  74. */
  75. #endif
  76. /** @defgroup SYSCFG_VREFINT_OUT_SELECT SYSCFG VREFINT Out Selection
  77. * @{
  78. */
  79. #define SYSCFG_VREFINT_OUT_NONE ((uint32_t)0x00000000U) /* no pad connected */
  80. #define SYSCFG_VREFINT_OUT_PB0 SYSCFG_CFGR3_VREF_OUT_0 /* Selects PBO as output for the Vrefint */
  81. #define SYSCFG_VREFINT_OUT_PB1 SYSCFG_CFGR3_VREF_OUT_1 /* Selects PB1 as output for the Vrefint */
  82. #define SYSCFG_VREFINT_OUT_PB0_PB1 SYSCFG_CFGR3_VREF_OUT /* Selects PBO and PB1 as output for the Vrefint */
  83. #define IS_SYSCFG_VREFINT_OUT_SELECT(OUTPUT) (((OUTPUT) == SYSCFG_VREFINT_OUT_NONE) || \
  84. ((OUTPUT) == SYSCFG_VREFINT_OUT_PB0) || \
  85. ((OUTPUT) == SYSCFG_VREFINT_OUT_PB1) || \
  86. ((OUTPUT) == SYSCFG_VREFINT_OUT_PB0_PB1))
  87. /**
  88. * @}
  89. */
  90. /** @defgroup SYSCFG_flags_definition SYSCFG Flags Definition
  91. * @{
  92. */
  93. #define SYSCFG_FLAG_VREFINT_READY SYSCFG_CFGR3_VREFINT_RDYF
  94. #define IS_SYSCFG_FLAG(FLAG) ((FLAG) == SYSCFG_FLAG_VREFINT_READY))
  95. /**
  96. * @}
  97. */
  98. /** @defgroup SYSCFG_FastModePlus_GPIO Fast Mode Plus on GPIO
  99. * @{
  100. */
  101. /** @brief Fast mode Plus driving capability on a specific GPIO
  102. */
  103. #if defined (SYSCFG_CFGR2_I2C_PB6_FMP)
  104. #define SYSCFG_FASTMODEPLUS_PB6 SYSCFG_CFGR2_I2C_PB6_FMP /* Enable Fast Mode Plus on PB6 */
  105. #endif
  106. #if defined (SYSCFG_CFGR2_I2C_PB7_FMP)
  107. #define SYSCFG_FASTMODEPLUS_PB7 SYSCFG_CFGR2_I2C_PB7_FMP /* Enable Fast Mode Plus on PB7 */
  108. #endif
  109. #if defined (SYSCFG_CFGR2_I2C_PB8_FMP)
  110. #define SYSCFG_FASTMODEPLUS_PB8 SYSCFG_CFGR2_I2C_PB8_FMP /* Enable Fast Mode Plus on PB8 */
  111. #endif
  112. #if defined (SYSCFG_CFGR2_I2C_PB9_FMP)
  113. #define SYSCFG_FASTMODEPLUS_PB9 SYSCFG_CFGR2_I2C_PB9_FMP /* Enable Fast Mode Plus on PB9 */
  114. #endif
  115. #define IS_SYSCFG_FASTMODEPLUS(PIN) ((((PIN) & (SYSCFG_FASTMODEPLUS_PB6)) == SYSCFG_FASTMODEPLUS_PB6) || \
  116. (((PIN) & (SYSCFG_FASTMODEPLUS_PB7)) == SYSCFG_FASTMODEPLUS_PB7) || \
  117. (((PIN) & (SYSCFG_FASTMODEPLUS_PB8)) == SYSCFG_FASTMODEPLUS_PB8) || \
  118. (((PIN) & (SYSCFG_FASTMODEPLUS_PB9)) == SYSCFG_FASTMODEPLUS_PB9) )
  119. /**
  120. * @}
  121. */
  122. /**
  123. * @}
  124. */
  125. /* Exported macros -----------------------------------------------------------*/
  126. /** @defgroup HAL_Exported_Macros HAL Exported Macros
  127. * @{
  128. */
  129. /** @brief Freeze/Unfreeze Peripherals in Debug mode
  130. */
  131. #if defined (DBGMCU_APB1_FZ_DBG_TIM2_STOP)
  132. /**
  133. * @brief TIM2 Peripherals Debug mode
  134. */
  135. #define __HAL_DBGMCU_FREEZE_TIM2() SET_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM2_STOP)
  136. #define __HAL_DBGMCU_UNFREEZE_TIM2() CLEAR_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM2_STOP)
  137. #endif
  138. #if defined (DBGMCU_APB1_FZ_DBG_TIM3_STOP)
  139. /**
  140. * @brief TIM3 Peripherals Debug mode
  141. */
  142. #define __HAL_DBGMCU_FREEZE_TIM3() SET_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM3_STOP)
  143. #define __HAL_DBGMCU_UNFREEZE_TIM3() CLEAR_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM3_STOP)
  144. #endif
  145. #if defined (DBGMCU_APB1_FZ_DBG_TIM6_STOP)
  146. /**
  147. * @brief TIM6 Peripherals Debug mode
  148. */
  149. #define __HAL_DBGMCU_FREEZE_TIM6() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM6_STOP)
  150. #define __HAL_DBGMCU_UNFREEZE_TIM6() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM6_STOP)
  151. #endif
  152. #if defined (DBGMCU_APB1_FZ_DBG_TIM7_STOP)
  153. /**
  154. * @brief TIM7 Peripherals Debug mode
  155. */
  156. #define __HAL_DBGMCU_FREEZE_TIM7() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM7_STOP)
  157. #define __HAL_DBGMCU_UNFREEZE_TIM7() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM7_STOP)
  158. #endif
  159. #if defined (DBGMCU_APB1_FZ_DBG_RTC_STOP)
  160. /**
  161. * @brief RTC Peripherals Debug mode
  162. */
  163. #define __HAL_DBGMCU_FREEZE_RTC() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_RTC_STOP)
  164. #define __HAL_DBGMCU_UNFREEZE_RTC() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_RTC_STOP)
  165. #endif
  166. #if defined (DBGMCU_APB1_FZ_DBG_WWDG_STOP)
  167. /**
  168. * @brief WWDG Peripherals Debug mode
  169. */
  170. #define __HAL_DBGMCU_FREEZE_WWDG() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_WWDG_STOP)
  171. #define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_WWDG_STOP)
  172. #endif
  173. #if defined (DBGMCU_APB1_FZ_DBG_IWDG_STOP)
  174. /**
  175. * @brief IWDG Peripherals Debug mode
  176. */
  177. #define __HAL_DBGMCU_FREEZE_IWDG() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_IWDG_STOP)
  178. #define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_IWDG_STOP)
  179. #endif
  180. #if defined (DBGMCU_APB1_FZ_DBG_I2C1_STOP)
  181. /**
  182. * @brief I2C1 Peripherals Debug mode
  183. */
  184. #define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C1_STOP)
  185. #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT_DBGMCU() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C1_STOP)
  186. #endif
  187. #if defined (DBGMCU_APB1_FZ_DBG_I2C2_STOP)
  188. /**
  189. * @brief I2C2 Peripherals Debug mode
  190. */
  191. #define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT_DBGMCU() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C2_STOP)
  192. #define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT_DBGMCU() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C2_STOP)
  193. #endif
  194. #if defined (DBGMCU_APB1_FZ_DBG_I2C3_STOP)
  195. /**
  196. * @brief I2C3 Peripherals Debug mode
  197. */
  198. #define __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT() SET_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C3_STOP)
  199. #define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C3_STOP)
  200. #endif
  201. #if defined (DBGMCU_APB1_FZ_DBG_LPTIMER_STOP)
  202. /**
  203. * @brief LPTIMER Peripherals Debug mode
  204. */
  205. #define __HAL_DBGMCU_FREEZE_LPTIMER() SET_BIT(DBGMCU->APB1FZ ,DBGMCU_APB1_FZ_DBG_LPTIMER_STOP)
  206. #define __HAL_DBGMCU_UNFREEZE_LPTIMER() CLEAR_BIT(DBGMCU->APB1FZ ,DBGMCU_APB1_FZ_DBG_LPTIMER_STOP)
  207. #endif
  208. #if defined (DBGMCU_APB2_FZ_DBG_TIM22_STOP)
  209. /**
  210. * @brief TIM22 Peripherals Debug mode
  211. */
  212. #define __HAL_DBGMCU_FREEZE_TIM22() SET_BIT(DBGMCU->APB2FZ, DBGMCU_APB2_FZ_DBG_TIM22_STOP)
  213. #define __HAL_DBGMCU_UNFREEZE_TIM22() CLEAR_BIT(DBGMCU->APB2FZ, DBGMCU_APB2_FZ_DBG_TIM22_STOP)
  214. #endif
  215. #if defined (DBGMCU_APB2_FZ_DBG_TIM21_STOP)
  216. /**
  217. * @brief TIM21 Peripherals Debug mode
  218. */
  219. #define __HAL_DBGMCU_FREEZE_TIM21() SET_BIT(DBGMCU->APB2FZ, DBGMCU_APB2_FZ_DBG_TIM21_STOP)
  220. #define __HAL_DBGMCU_UNFREEZE_TIM21() CLEAR_BIT(DBGMCU->APB2FZ, DBGMCU_APB2_FZ_DBG_TIM21_STOP)
  221. #endif
  222. /** @brief Main Flash memory mapped at 0x00000000
  223. */
  224. #define __HAL_SYSCFG_REMAPMEMORY_FLASH() CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE)
  225. /** @brief System Flash memory mapped at 0x00000000
  226. */
  227. #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE, SYSCFG_CFGR1_MEM_MODE_0)
  228. /** @brief Embedded SRAM mapped at 0x00000000
  229. */
  230. #define __HAL_SYSCFG_REMAPMEMORY_SRAM() MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE, SYSCFG_CFGR1_MEM_MODE_0 | SYSCFG_CFGR1_MEM_MODE_1)
  231. /** @brief Configuration of the DBG Low Power mode.
  232. * @param __DBGLPMODE__ bit field to indicate in wich Low Power mode DBG is still active.
  233. * This parameter can be a value of
  234. * - DBGMCU_SLEEP
  235. * - DBGMCU_STOP
  236. * - DBGMCU_STANDBY
  237. */
  238. #define __HAL_SYSCFG_DBG_LP_CONFIG(__DBGLPMODE__) do {assert_param(IS_DBGMCU_PERIPH(__DBGLPMODE__)); \
  239. MODIFY_REG(DBGMCU->CR, DBGMCU_CR_DBG, (__DBGLPMODE__)); \
  240. } while (0)
  241. #if defined (LCD_BASE) /* STM32L0x3xx only */
  242. /** @brief Macro to configure the VLCD Decoupling capacitance connection.
  243. *
  244. * @param __SYSCFG_VLCD_CAPA__ specifies the decoupling of LCD capacitance for rails connection on GPIO.
  245. * This parameter can be a combination of following values (when available):
  246. * @arg SYSCFG_VLCD_PB2_EXT_CAPA_ON: Connection on PB2
  247. * @arg SYSCFG_VLCD_PB12_EXT_CAPA_ON: Connection on PB12
  248. * @arg SYSCFG_VLCD_PB0_EXT_CAPA_ON: Connection on PB0
  249. * @arg SYSCFG_VLCD_PE11_EXT_CAPA_ON: Connection on PE11
  250. * @arg SYSCFG_VLCD_PE12_EXT_CAPA_ON: Connection on PE12
  251. * @retval None
  252. */
  253. #define __HAL_SYSCFG_VLCD_CAPA_CONFIG(__SYSCFG_VLCD_CAPA__) \
  254. MODIFY_REG(SYSCFG->CFGR2, SYSCFG_LCD_EXT_CAPA, (uint32_t)(__SYSCFG_VLCD_CAPA__))
  255. /**
  256. * @brief Returns the decoupling of LCD capacitance configured by user.
  257. * @retval The LCD capacitance connection as configured by user. The returned can be a combination of :
  258. * SYSCFG_VLCD_PB2_EXT_CAPA_ON: Connection on PB2
  259. * SYSCFG_VLCD_PB12_EXT_CAPA_ON: Connection on PB12
  260. * SYSCFG_VLCD_PB0_EXT_CAPA_ON: Connection on PB0
  261. * SYSCFG_VLCD_PE11_EXT_CAPA_ON: Connection on PE11
  262. * SYSCFG_VLCD_PE12_EXT_CAPA_ON: Connection on PE12
  263. */
  264. #define __HAL_SYSCFG_GET_VLCD_CAPA_CONFIG() READ_BIT(SYSCFG->CFGR2, SYSCFG_LCD_EXT_CAPA)
  265. #endif
  266. /**
  267. * @brief Returns the boot mode as configured by user.
  268. * @retval The boot mode as configured by user. The returned can be a value of :
  269. * - SYSCFG_BOOT_MAINFLASH
  270. * - SYSCFG_BOOT_SYSTEMFLASH
  271. * - SYSCFG_BOOT_SRAM
  272. */
  273. #define __HAL_SYSCFG_GET_BOOT_MODE() READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOT_MODE)
  274. /** @brief Check whether the specified SYSCFG flag is set or not.
  275. * @param __FLAG__ specifies the flag to check.
  276. * The only parameter supported is SYSCFG_FLAG_VREFINT_READY
  277. * @retval The new state of __FLAG__ (TRUE or FALSE).
  278. */
  279. #define __HAL_SYSCFG_GET_FLAG(__FLAG__) (((SYSCFG->CFGR3) & (__FLAG__)) == (__FLAG__))
  280. /** @brief Fast mode Plus driving capability enable macro
  281. * @param __FASTMODEPLUS__ This parameter can be a value of :
  282. * @arg SYSCFG_FASTMODEPLUS_PB6
  283. * @arg SYSCFG_FASTMODEPLUS_PB7
  284. * @arg SYSCFG_FASTMODEPLUS_PB8
  285. * @arg SYSCFG_FASTMODEPLUS_PB9
  286. */
  287. #define __HAL_SYSCFG_FASTMODEPLUS_ENABLE(__FASTMODEPLUS__) do {assert_param(IS_SYSCFG_FASTMODEPLUS((__FASTMODEPLUS__))); \
  288. SET_BIT(SYSCFG->CFGR2, (__FASTMODEPLUS__)); \
  289. }while(0)
  290. /** @brief Fast mode Plus driving capability disable macro
  291. * @param __FASTMODEPLUS__ This parameter can be a value of :
  292. * @arg SYSCFG_FASTMODEPLUS_PB6
  293. * @arg SYSCFG_FASTMODEPLUS_PB7
  294. * @arg SYSCFG_FASTMODEPLUS_PB8
  295. * @arg SYSCFG_FASTMODEPLUS_PB9
  296. */
  297. #define __HAL_SYSCFG_FASTMODEPLUS_DISABLE(__FASTMODEPLUS__) do {assert_param(IS_SYSCFG_FASTMODEPLUS((__FASTMODEPLUS__))); \
  298. CLEAR_BIT(SYSCFG->CFGR2, (__FASTMODEPLUS__)); \
  299. }while(0)
  300. /**
  301. * @}
  302. */
  303. /* Exported variables --------------------------------------------------------*/
  304. /** @defgroup HAL_Exported_Variables HAL Exported Variables
  305. * @{
  306. */
  307. extern __IO uint32_t uwTick;
  308. /**
  309. * @}
  310. */
  311. /* Exported functions --------------------------------------------------------*/
  312. /** @defgroup HAL_Exported_Functions HAL Exported Functions
  313. * @{
  314. */
  315. /** @defgroup HAL_Exported_Functions_Group1 Initialization and de-initialization functions
  316. * @brief Initialization and de-initialization functions
  317. * @{
  318. */
  319. HAL_StatusTypeDef HAL_Init(void);
  320. HAL_StatusTypeDef HAL_DeInit(void);
  321. void HAL_MspInit(void);
  322. void HAL_MspDeInit(void);
  323. HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority);
  324. /**
  325. * @}
  326. */
  327. /** @defgroup HAL_Exported_Functions_Group2 Peripheral Control functions
  328. * @brief Peripheral Control functions
  329. * @{
  330. */
  331. void HAL_IncTick(void);
  332. void HAL_Delay(uint32_t Delay);
  333. uint32_t HAL_GetTick(void);
  334. void HAL_SuspendTick(void);
  335. void HAL_ResumeTick(void);
  336. uint32_t HAL_GetHalVersion(void);
  337. uint32_t HAL_GetREVID(void);
  338. uint32_t HAL_GetDEVID(void);
  339. uint32_t HAL_GetUIDw0(void);
  340. uint32_t HAL_GetUIDw1(void);
  341. uint32_t HAL_GetUIDw2(void);
  342. /**
  343. * @}
  344. */
  345. /** @defgroup HAL_Exported_Functions_Group3 DBGMCU Peripheral Control functions
  346. * @brief DBGMCU Peripheral Control functions
  347. * @{
  348. */
  349. void HAL_DBGMCU_EnableDBGSleepMode(void);
  350. void HAL_DBGMCU_DisableDBGSleepMode(void);
  351. void HAL_DBGMCU_EnableDBGStopMode(void);
  352. void HAL_DBGMCU_DisableDBGStopMode(void);
  353. void HAL_DBGMCU_EnableDBGStandbyMode(void);
  354. void HAL_DBGMCU_DisableDBGStandbyMode(void);
  355. void HAL_DBGMCU_DBG_EnableLowPowerConfig(uint32_t Periph);
  356. void HAL_DBGMCU_DBG_DisableLowPowerConfig(uint32_t Periph);
  357. /**
  358. * @}
  359. */
  360. /** @defgroup HAL_Exported_Functions_Group4 SYSCFG Peripheral Control functions
  361. * @brief SYSCFG Peripheral Control functions
  362. * @{
  363. */
  364. uint32_t HAL_SYSCFG_GetBootMode(void);
  365. void HAL_SYSCFG_Enable_Lock_VREFINT(void);
  366. void HAL_SYSCFG_Disable_Lock_VREFINT(void);
  367. void HAL_SYSCFG_VREFINT_OutputSelect(uint32_t SYSCFG_Vrefint_OUTPUT);
  368. /**
  369. * @}
  370. */
  371. /**
  372. * @}
  373. */
  374. /* Define the private group ***********************************/
  375. /**************************************************************/
  376. /** @defgroup HAL_Private HAL Private
  377. * @{
  378. */
  379. /**
  380. * @}
  381. */
  382. /**************************************************************/
  383. /**
  384. * @}
  385. */
  386. /**
  387. * @}
  388. */
  389. #ifdef __cplusplus
  390. }
  391. #endif
  392. #endif /* __STM32L0xx_HAL_H */
  393. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/