Subversion Repositories EngineBay2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mjames 1
/**
2
  ******************************************************************************
3
  * @file    stm32l1xx_hal_flash_ramfunc.h
4
  * @author  MCD Application Team
5
  * @brief   Header file of FLASH RAMFUNC driver.
6
  ******************************************************************************
7
  * @attention
8
  *
28 mjames 9
  * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10
  * All rights reserved.</center></h2>
2 mjames 11
  *
28 mjames 12
  * This software component is licensed by ST under BSD 3-Clause license,
13
  * the "License"; You may not use this file except in compliance with the
14
  * License. You may obtain a copy of the License at:
15
  *                        opensource.org/licenses/BSD-3-Clause
2 mjames 16
  *
17
  ******************************************************************************
18
  */
19
 
20
/* Define to prevent recursive inclusion -------------------------------------*/
21
#ifndef __STM32L1xx_FLASH_RAMFUNC_H
22
#define __STM32L1xx_FLASH_RAMFUNC_H
23
 
24
#ifdef __cplusplus
25
 extern "C" {
26
#endif
27
 
28
/* Includes ------------------------------------------------------------------*/
29
#include "stm32l1xx_hal_def.h"
30
 
31
/** @addtogroup STM32L1xx_HAL_Driver
32
  * @{
33
  */
34
 
35
/** @addtogroup FLASH_RAMFUNC
36
  * @{
37
  */
38
 
39
/* Exported types ------------------------------------------------------------*/
40
 
41
 
42
/* Exported functions --------------------------------------------------------*/
43
 
44
/** @addtogroup FLASH_RAMFUNC_Exported_Functions
45
  * @{
46
  */
47
 
48
/*
49
  * @brief  FLASH memory functions that should be executed from internal SRAM.
50
  *         These functions are defined inside the "stm32l1xx_hal_flash_ramfunc.c"
51
  *         file.
52
  */
53
 
54
/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1
55
  * @{
56
  */
57
 
28 mjames 58
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableRunPowerDown(void);
59
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableRunPowerDown(void);
2 mjames 60
 
61
/**
62
  * @}
63
  */
64
 
65
/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group2
66
  * @{
67
  */
68
 
69
#if defined(FLASH_PECR_PARALLBANK)
70
 
28 mjames 71
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EraseParallelPage(uint32_t Page_Address1, uint32_t Page_Address2);
72
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_ProgramParallelHalfPage(uint32_t Address1, uint32_t* pBuffer1, uint32_t Address2, uint32_t* pBuffer2);
2 mjames 73
 
74
#endif /* FLASH_PECR_PARALLBANK */
75
 
28 mjames 76
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_HalfPageProgram(uint32_t Address, uint32_t* pBuffer);
2 mjames 77
 
78
/**
79
  * @}
80
  */
81
 
82
/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group3
83
  * @{
84
  */
28 mjames 85
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_GetError(uint32_t *Error);
2 mjames 86
/**
87
  * @}
88
  */
89
 
90
/** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group4
91
  * @{
92
  */
93
 
28 mjames 94
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DATAEEPROM_EraseDoubleWord(uint32_t Address);
95
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DATAEEPROM_ProgramDoubleWord(uint32_t Address, uint64_t Data);
2 mjames 96
 
97
/**
98
  * @}
99
  */
100
 
101
/**
102
  * @}
103
  */
104
 
105
/**
106
  * @}
107
  */
108
 
109
/**
110
  * @}
111
  */
112
 
113
#ifdef __cplusplus
114
}
115
#endif
116
 
117
#endif /* __STM32L1xx_FLASH_RAMFUNC_H */
118
 
119
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/