The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/device/stm32l0xx_hal_flash_ramfunc.h
- Revision:
- 167:84c0a372a020
- Parent:
- 157:e7ca05fa8600
--- a/TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/device/stm32l0xx_hal_flash_ramfunc.h Fri Apr 20 11:08:29 2018 +0100 +++ b/TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/device/stm32l0xx_hal_flash_ramfunc.h Fri May 11 16:51:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32l0xx_hal_flash_ramfunc.h * @author MCD Application Team - * @version V1.7.0 - * @date 31-May-2016 * @brief Header file of FLASH RAMFUNC driver. ****************************************************************************** * @attention @@ -50,13 +48,16 @@ * @{ */ -/** @defgroup FLASH_RAMFUNC FLASH Ram Function +/** @addtogroup FLASH_RAMFUNC * @{ */ +/* Exported types ------------------------------------------------------------*/ + + /* Exported functions --------------------------------------------------------*/ -/** @defgroup FLASH_RAMFUNC_Exported_Functions FLASH Ram Exported Functions +/** @addtogroup FLASH_RAMFUNC_Exported_Functions * @{ */ @@ -66,41 +67,45 @@ * file. */ -/** @defgroup FLASH_RAMFUNC_Exported_Functions_Group1 FLASH RAM peripheral features functions +/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1 * @{ */ -__RAM_FUNC HAL_FLASHEx_HalfPageProgram(uint32_t Address, uint32_t* pBuffer); -__RAM_FUNC HAL_FLASHEx_EnableRunPowerDown(void); -__RAM_FUNC HAL_FLASHEx_DisableRunPowerDown(void); -__RAM_FUNC HAL_FLASHRAM_GetError(uint32_t * error); + +__RAM_FUNC HAL_FLASHEx_EnableRunPowerDown(void); +__RAM_FUNC HAL_FLASHEx_DisableRunPowerDown(void); + /** * @} */ -#if defined (STM32L071xx) || defined (STM32L072xx) || defined (STM32L073xx) || defined (STM32L081xx) || defined (STM32L082xx) || defined (STM32L083xx) -/** @defgroup FLASH_RAMFUNC_Exported_Functions_Group2 FLASH RAM programming and erasing operation functions +/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group2 * @{ */ + +#if defined(FLASH_PECR_PARALLBANK) + __RAM_FUNC HAL_FLASHEx_EraseParallelPage(uint32_t Page_Address1, uint32_t Page_Address2); __RAM_FUNC HAL_FLASHEx_ProgramParallelHalfPage(uint32_t Address1, uint32_t* pBuffer1, uint32_t Address2, uint32_t* pBuffer2); + +#endif /* FLASH_PECR_PARALLBANK */ + +__RAM_FUNC HAL_FLASHEx_HalfPageProgram(uint32_t Address, uint32_t* pBuffer); + /** * @} */ -#endif /* STM32L071xx || STM32L072xx || STM32L073xx || STM32L081xx || STM32L082xx || STM32L083xx */ + +/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group3 + * @{ + */ +__RAM_FUNC HAL_FLASHEx_GetError(uint32_t *Error); +/** + * @} + */ /** * @} - */ - -/* Define the private group ***********************************/ -/**************************************************************/ -/** @defgroup FLASH_RAMFUNC_Private FLASH Ram Private - * @{ - */ -/** - * @} - */ -/**************************************************************/ + */ /** * @} @@ -117,4 +122,3 @@ #endif /* __STM32L0xx_FLASH_RAMFUNC_H */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ -