![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
FlashWriter/stm32f4xx_flash.h@257:c93d3eabff75, 2022-03-31 (annotated)
- Committer:
- Lightvalve
- Date:
- Thu Mar 31 02:39:48 2022 +0000
- Revision:
- 257:c93d3eabff75
- Parent:
- 16:903b5a4433b4
LVDT
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Lightvalve | 16:903b5a4433b4 | 1 | /** |
Lightvalve | 16:903b5a4433b4 | 2 | ****************************************************************************** |
Lightvalve | 16:903b5a4433b4 | 3 | * @file stm32f4xx_flash.h |
Lightvalve | 16:903b5a4433b4 | 4 | * @author MCD Application Team |
Lightvalve | 16:903b5a4433b4 | 5 | * @version V1.7.1 |
Lightvalve | 16:903b5a4433b4 | 6 | * @date 20-May-2016 |
Lightvalve | 16:903b5a4433b4 | 7 | * @brief This file contains all the functions prototypes for the FLASH |
Lightvalve | 16:903b5a4433b4 | 8 | * firmware library. |
Lightvalve | 16:903b5a4433b4 | 9 | ****************************************************************************** |
Lightvalve | 16:903b5a4433b4 | 10 | * @attention |
Lightvalve | 16:903b5a4433b4 | 11 | * |
Lightvalve | 16:903b5a4433b4 | 12 | * <h2><center>© COPYRIGHT 2016 STMicroelectronics</center></h2> |
Lightvalve | 16:903b5a4433b4 | 13 | * |
Lightvalve | 16:903b5a4433b4 | 14 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
Lightvalve | 16:903b5a4433b4 | 15 | * You may not use this file except in compliance with the License. |
Lightvalve | 16:903b5a4433b4 | 16 | * You may obtain a copy of the License at: |
Lightvalve | 16:903b5a4433b4 | 17 | * |
Lightvalve | 16:903b5a4433b4 | 18 | * http://www.st.com/software_license_agreement_liberty_v2 |
Lightvalve | 16:903b5a4433b4 | 19 | * |
Lightvalve | 16:903b5a4433b4 | 20 | * Unless required by applicable law or agreed to in writing, software |
Lightvalve | 16:903b5a4433b4 | 21 | * distributed under the License is distributed on an "AS IS" BASIS, |
Lightvalve | 16:903b5a4433b4 | 22 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Lightvalve | 16:903b5a4433b4 | 23 | * See the License for the specific language governing permissions and |
Lightvalve | 16:903b5a4433b4 | 24 | * limitations under the License. |
Lightvalve | 16:903b5a4433b4 | 25 | * |
Lightvalve | 16:903b5a4433b4 | 26 | ****************************************************************************** |
Lightvalve | 16:903b5a4433b4 | 27 | */ |
Lightvalve | 16:903b5a4433b4 | 28 | |
Lightvalve | 16:903b5a4433b4 | 29 | /* Define to prevent recursive inclusion -------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 30 | #ifndef __STM32F4xx_FLASH_H |
Lightvalve | 16:903b5a4433b4 | 31 | #define __STM32F4xx_FLASH_H |
Lightvalve | 16:903b5a4433b4 | 32 | |
Lightvalve | 16:903b5a4433b4 | 33 | #ifdef __cplusplus |
Lightvalve | 16:903b5a4433b4 | 34 | extern "C" { |
Lightvalve | 16:903b5a4433b4 | 35 | #endif |
Lightvalve | 16:903b5a4433b4 | 36 | |
Lightvalve | 16:903b5a4433b4 | 37 | /* Includes ------------------------------------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 38 | #include "stm32f4xx.h" |
Lightvalve | 16:903b5a4433b4 | 39 | |
Lightvalve | 16:903b5a4433b4 | 40 | /** @addtogroup STM32F4xx_StdPeriph_Driver |
Lightvalve | 16:903b5a4433b4 | 41 | * @{ |
Lightvalve | 16:903b5a4433b4 | 42 | */ |
Lightvalve | 16:903b5a4433b4 | 43 | |
Lightvalve | 16:903b5a4433b4 | 44 | /** @addtogroup FLASH |
Lightvalve | 16:903b5a4433b4 | 45 | * @{ |
Lightvalve | 16:903b5a4433b4 | 46 | */ |
Lightvalve | 16:903b5a4433b4 | 47 | |
Lightvalve | 16:903b5a4433b4 | 48 | /* Exported types ------------------------------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 49 | /** |
Lightvalve | 16:903b5a4433b4 | 50 | * @brief FLASH Status |
Lightvalve | 16:903b5a4433b4 | 51 | */ |
Lightvalve | 16:903b5a4433b4 | 52 | typedef enum |
Lightvalve | 16:903b5a4433b4 | 53 | { |
Lightvalve | 16:903b5a4433b4 | 54 | FLASH_BUSY2 = 1, |
Lightvalve | 16:903b5a4433b4 | 55 | FLASH_ERROR_RD2, |
Lightvalve | 16:903b5a4433b4 | 56 | FLASH_ERROR_PGS2, |
Lightvalve | 16:903b5a4433b4 | 57 | FLASH_ERROR_PGP2, |
Lightvalve | 16:903b5a4433b4 | 58 | FLASH_ERROR_PGA2, |
Lightvalve | 16:903b5a4433b4 | 59 | FLASH_ERROR_WRP2, |
Lightvalve | 16:903b5a4433b4 | 60 | FLASH_ERROR_PROGRAM2, |
Lightvalve | 16:903b5a4433b4 | 61 | FLASH_ERROR_OPERATION2, |
Lightvalve | 16:903b5a4433b4 | 62 | FLASH_COMPLETE2 |
Lightvalve | 16:903b5a4433b4 | 63 | }FLASH_Status; |
Lightvalve | 16:903b5a4433b4 | 64 | |
Lightvalve | 16:903b5a4433b4 | 65 | /* Exported constants --------------------------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 66 | |
Lightvalve | 16:903b5a4433b4 | 67 | /** @defgroup FLASH_Exported_Constants |
Lightvalve | 16:903b5a4433b4 | 68 | * @{ |
Lightvalve | 16:903b5a4433b4 | 69 | */ |
Lightvalve | 16:903b5a4433b4 | 70 | |
Lightvalve | 16:903b5a4433b4 | 71 | /** @defgroup Flash_Latency |
Lightvalve | 16:903b5a4433b4 | 72 | * @{ |
Lightvalve | 16:903b5a4433b4 | 73 | */ |
Lightvalve | 16:903b5a4433b4 | 74 | #define FLASH_Latency_0 ((uint8_t)0x0000) /*!< FLASH Zero Latency cycle */ |
Lightvalve | 16:903b5a4433b4 | 75 | #define FLASH_Latency_1 ((uint8_t)0x0001) /*!< FLASH One Latency cycle */ |
Lightvalve | 16:903b5a4433b4 | 76 | #define FLASH_Latency_2 ((uint8_t)0x0002) /*!< FLASH Two Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 77 | #define FLASH_Latency_3 ((uint8_t)0x0003) /*!< FLASH Three Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 78 | #define FLASH_Latency_4 ((uint8_t)0x0004) /*!< FLASH Four Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 79 | #define FLASH_Latency_5 ((uint8_t)0x0005) /*!< FLASH Five Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 80 | #define FLASH_Latency_6 ((uint8_t)0x0006) /*!< FLASH Six Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 81 | #define FLASH_Latency_7 ((uint8_t)0x0007) /*!< FLASH Seven Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 82 | #define FLASH_Latency_8 ((uint8_t)0x0008) /*!< FLASH Eight Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 83 | #define FLASH_Latency_9 ((uint8_t)0x0009) /*!< FLASH Nine Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 84 | #define FLASH_Latency_10 ((uint8_t)0x000A) /*!< FLASH Ten Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 85 | #define FLASH_Latency_11 ((uint8_t)0x000B) /*!< FLASH Eleven Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 86 | #define FLASH_Latency_12 ((uint8_t)0x000C) /*!< FLASH Twelve Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 87 | #define FLASH_Latency_13 ((uint8_t)0x000D) /*!< FLASH Thirteen Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 88 | #define FLASH_Latency_14 ((uint8_t)0x000E) /*!< FLASH Fourteen Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 89 | #define FLASH_Latency_15 ((uint8_t)0x000F) /*!< FLASH Fifteen Latency cycles */ |
Lightvalve | 16:903b5a4433b4 | 90 | |
Lightvalve | 16:903b5a4433b4 | 91 | /** |
Lightvalve | 16:903b5a4433b4 | 92 | * @} |
Lightvalve | 16:903b5a4433b4 | 93 | */ |
Lightvalve | 16:903b5a4433b4 | 94 | |
Lightvalve | 16:903b5a4433b4 | 95 | /** @defgroup FLASH_Voltage_Range |
Lightvalve | 16:903b5a4433b4 | 96 | * @{ |
Lightvalve | 16:903b5a4433b4 | 97 | */ |
Lightvalve | 16:903b5a4433b4 | 98 | #define VoltageRange_1 ((uint8_t)0x00) /*!< Device operating range: 1.8V to 2.1V */ |
Lightvalve | 16:903b5a4433b4 | 99 | #define VoltageRange_2 ((uint8_t)0x01) /*!<Device operating range: 2.1V to 2.7V */ |
Lightvalve | 16:903b5a4433b4 | 100 | #define VoltageRange_3 ((uint8_t)0x02) /*!<Device operating range: 2.7V to 3.6V */ |
Lightvalve | 16:903b5a4433b4 | 101 | #define VoltageRange_4 ((uint8_t)0x03) /*!<Device operating range: 2.7V to 3.6V + External Vpp */ |
Lightvalve | 16:903b5a4433b4 | 102 | |
Lightvalve | 16:903b5a4433b4 | 103 | /* |
Lightvalve | 16:903b5a4433b4 | 104 | #define IS_VOLTAGERANGE(RANGE)(((RANGE) == VoltageRange_1) || \ |
Lightvalve | 16:903b5a4433b4 | 105 | ((RANGE) == VoltageRange_2) || \ |
Lightvalve | 16:903b5a4433b4 | 106 | ((RANGE) == VoltageRange_3) || \ |
Lightvalve | 16:903b5a4433b4 | 107 | ((RANGE) == VoltageRange_4)) |
Lightvalve | 16:903b5a4433b4 | 108 | */ |
Lightvalve | 16:903b5a4433b4 | 109 | |
Lightvalve | 16:903b5a4433b4 | 110 | /** |
Lightvalve | 16:903b5a4433b4 | 111 | * @} |
Lightvalve | 16:903b5a4433b4 | 112 | */ |
Lightvalve | 16:903b5a4433b4 | 113 | |
Lightvalve | 16:903b5a4433b4 | 114 | /** @defgroup FLASH_Sectors |
Lightvalve | 16:903b5a4433b4 | 115 | * @{ |
Lightvalve | 16:903b5a4433b4 | 116 | */ |
Lightvalve | 16:903b5a4433b4 | 117 | #define FLASH_Sector_0 ((uint16_t)0x0000) /*!< Sector Number 0 */ |
Lightvalve | 16:903b5a4433b4 | 118 | #define FLASH_Sector_1 ((uint16_t)0x0008) /*!< Sector Number 1 */ |
Lightvalve | 16:903b5a4433b4 | 119 | #define FLASH_Sector_2 ((uint16_t)0x0010) /*!< Sector Number 2 */ |
Lightvalve | 16:903b5a4433b4 | 120 | #define FLASH_Sector_3 ((uint16_t)0x0018) /*!< Sector Number 3 */ |
Lightvalve | 16:903b5a4433b4 | 121 | #define FLASH_Sector_4 ((uint16_t)0x0020) /*!< Sector Number 4 */ |
Lightvalve | 16:903b5a4433b4 | 122 | #define FLASH_Sector_5 ((uint16_t)0x0028) /*!< Sector Number 5 */ |
Lightvalve | 16:903b5a4433b4 | 123 | #define FLASH_Sector_6 ((uint16_t)0x0030) /*!< Sector Number 6 */ |
Lightvalve | 16:903b5a4433b4 | 124 | #define FLASH_Sector_7 ((uint16_t)0x0038) /*!< Sector Number 7 */ |
Lightvalve | 16:903b5a4433b4 | 125 | #define FLASH_Sector_8 ((uint16_t)0x0040) /*!< Sector Number 8 */ |
Lightvalve | 16:903b5a4433b4 | 126 | #define FLASH_Sector_9 ((uint16_t)0x0048) /*!< Sector Number 9 */ |
Lightvalve | 16:903b5a4433b4 | 127 | #define FLASH_Sector_10 ((uint16_t)0x0050) /*!< Sector Number 10 */ |
Lightvalve | 16:903b5a4433b4 | 128 | #define FLASH_Sector_11 ((uint16_t)0x0058) /*!< Sector Number 11 */ |
Lightvalve | 16:903b5a4433b4 | 129 | #define FLASH_Sector_12 ((uint16_t)0x0080) /*!< Sector Number 12 */ |
Lightvalve | 16:903b5a4433b4 | 130 | #define FLASH_Sector_13 ((uint16_t)0x0088) /*!< Sector Number 13 */ |
Lightvalve | 16:903b5a4433b4 | 131 | #define FLASH_Sector_14 ((uint16_t)0x0090) /*!< Sector Number 14 */ |
Lightvalve | 16:903b5a4433b4 | 132 | #define FLASH_Sector_15 ((uint16_t)0x0098) /*!< Sector Number 15 */ |
Lightvalve | 16:903b5a4433b4 | 133 | #define FLASH_Sector_16 ((uint16_t)0x00A0) /*!< Sector Number 16 */ |
Lightvalve | 16:903b5a4433b4 | 134 | #define FLASH_Sector_17 ((uint16_t)0x00A8) /*!< Sector Number 17 */ |
Lightvalve | 16:903b5a4433b4 | 135 | #define FLASH_Sector_18 ((uint16_t)0x00B0) /*!< Sector Number 18 */ |
Lightvalve | 16:903b5a4433b4 | 136 | #define FLASH_Sector_19 ((uint16_t)0x00B8) /*!< Sector Number 19 */ |
Lightvalve | 16:903b5a4433b4 | 137 | #define FLASH_Sector_20 ((uint16_t)0x00C0) /*!< Sector Number 20 */ |
Lightvalve | 16:903b5a4433b4 | 138 | #define FLASH_Sector_21 ((uint16_t)0x00C8) /*!< Sector Number 21 */ |
Lightvalve | 16:903b5a4433b4 | 139 | #define FLASH_Sector_22 ((uint16_t)0x00D0) /*!< Sector Number 22 */ |
Lightvalve | 16:903b5a4433b4 | 140 | #define FLASH_Sector_23 ((uint16_t)0x00D8) /*!< Sector Number 23 */ |
Lightvalve | 16:903b5a4433b4 | 141 | |
Lightvalve | 16:903b5a4433b4 | 142 | #if defined (STM32F427_437xx) || defined (STM32F429_439xx) || defined (STM32F469_479xx) |
Lightvalve | 16:903b5a4433b4 | 143 | #define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x081FFFFF)) ||\ |
Lightvalve | 16:903b5a4433b4 | 144 | (((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F))) |
Lightvalve | 16:903b5a4433b4 | 145 | #endif /* STM32F427_437xx || STM32F429_439xx || STM32F469_479xx */ |
Lightvalve | 16:903b5a4433b4 | 146 | |
Lightvalve | 16:903b5a4433b4 | 147 | #if defined (STM32F40_41xxx) || defined(STM32F412xG) |
Lightvalve | 16:903b5a4433b4 | 148 | #define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x080FFFFF)) ||\ |
Lightvalve | 16:903b5a4433b4 | 149 | (((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F))) |
Lightvalve | 16:903b5a4433b4 | 150 | #endif /* STM32F40_41xxx || STM32F412xG */ |
Lightvalve | 16:903b5a4433b4 | 151 | |
Lightvalve | 16:903b5a4433b4 | 152 | #if defined (STM32F401xx) |
Lightvalve | 16:903b5a4433b4 | 153 | #define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x0803FFFF)) ||\ |
Lightvalve | 16:903b5a4433b4 | 154 | (((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F))) |
Lightvalve | 16:903b5a4433b4 | 155 | #endif /* STM32F401xx */ |
Lightvalve | 16:903b5a4433b4 | 156 | |
Lightvalve | 16:903b5a4433b4 | 157 | #if defined (STM32F411xE) || defined (STM32F446xx) |
Lightvalve | 16:903b5a4433b4 | 158 | //#define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x0807FFFF)) ||\ |
Lightvalve | 16:903b5a4433b4 | 159 | // (((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F))) |
Lightvalve | 16:903b5a4433b4 | 160 | #endif /* STM32F411xE || STM32F446xx */ |
Lightvalve | 16:903b5a4433b4 | 161 | |
Lightvalve | 16:903b5a4433b4 | 162 | #if defined (STM32F410xx) |
Lightvalve | 16:903b5a4433b4 | 163 | #define IS_FLASH_ADDRESS(ADDRESS) ((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x0801FFFF)) ||\ |
Lightvalve | 16:903b5a4433b4 | 164 | (((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F))) |
Lightvalve | 16:903b5a4433b4 | 165 | #endif /* STM32F410xx */ |
Lightvalve | 16:903b5a4433b4 | 166 | |
Lightvalve | 16:903b5a4433b4 | 167 | /** |
Lightvalve | 16:903b5a4433b4 | 168 | * @} |
Lightvalve | 16:903b5a4433b4 | 169 | */ |
Lightvalve | 16:903b5a4433b4 | 170 | |
Lightvalve | 16:903b5a4433b4 | 171 | /** @defgroup Option_Bytes_Write_Protection |
Lightvalve | 16:903b5a4433b4 | 172 | * @{ |
Lightvalve | 16:903b5a4433b4 | 173 | */ |
Lightvalve | 16:903b5a4433b4 | 174 | #define OB_WRP_Sector_0 ((uint32_t)0x00000001) /*!< Write protection of Sector0 */ |
Lightvalve | 16:903b5a4433b4 | 175 | #define OB_WRP_Sector_1 ((uint32_t)0x00000002) /*!< Write protection of Sector1 */ |
Lightvalve | 16:903b5a4433b4 | 176 | #define OB_WRP_Sector_2 ((uint32_t)0x00000004) /*!< Write protection of Sector2 */ |
Lightvalve | 16:903b5a4433b4 | 177 | #define OB_WRP_Sector_3 ((uint32_t)0x00000008) /*!< Write protection of Sector3 */ |
Lightvalve | 16:903b5a4433b4 | 178 | #define OB_WRP_Sector_4 ((uint32_t)0x00000010) /*!< Write protection of Sector4 */ |
Lightvalve | 16:903b5a4433b4 | 179 | #define OB_WRP_Sector_5 ((uint32_t)0x00000020) /*!< Write protection of Sector5 */ |
Lightvalve | 16:903b5a4433b4 | 180 | #define OB_WRP_Sector_6 ((uint32_t)0x00000040) /*!< Write protection of Sector6 */ |
Lightvalve | 16:903b5a4433b4 | 181 | #define OB_WRP_Sector_7 ((uint32_t)0x00000080) /*!< Write protection of Sector7 */ |
Lightvalve | 16:903b5a4433b4 | 182 | #define OB_WRP_Sector_8 ((uint32_t)0x00000100) /*!< Write protection of Sector8 */ |
Lightvalve | 16:903b5a4433b4 | 183 | #define OB_WRP_Sector_9 ((uint32_t)0x00000200) /*!< Write protection of Sector9 */ |
Lightvalve | 16:903b5a4433b4 | 184 | #define OB_WRP_Sector_10 ((uint32_t)0x00000400) /*!< Write protection of Sector10 */ |
Lightvalve | 16:903b5a4433b4 | 185 | #define OB_WRP_Sector_11 ((uint32_t)0x00000800) /*!< Write protection of Sector11 */ |
Lightvalve | 16:903b5a4433b4 | 186 | #define OB_WRP_Sector_12 ((uint32_t)0x00000001) /*!< Write protection of Sector12 */ |
Lightvalve | 16:903b5a4433b4 | 187 | #define OB_WRP_Sector_13 ((uint32_t)0x00000002) /*!< Write protection of Sector13 */ |
Lightvalve | 16:903b5a4433b4 | 188 | #define OB_WRP_Sector_14 ((uint32_t)0x00000004) /*!< Write protection of Sector14 */ |
Lightvalve | 16:903b5a4433b4 | 189 | #define OB_WRP_Sector_15 ((uint32_t)0x00000008) /*!< Write protection of Sector15 */ |
Lightvalve | 16:903b5a4433b4 | 190 | #define OB_WRP_Sector_16 ((uint32_t)0x00000010) /*!< Write protection of Sector16 */ |
Lightvalve | 16:903b5a4433b4 | 191 | #define OB_WRP_Sector_17 ((uint32_t)0x00000020) /*!< Write protection of Sector17 */ |
Lightvalve | 16:903b5a4433b4 | 192 | #define OB_WRP_Sector_18 ((uint32_t)0x00000040) /*!< Write protection of Sector18 */ |
Lightvalve | 16:903b5a4433b4 | 193 | #define OB_WRP_Sector_19 ((uint32_t)0x00000080) /*!< Write protection of Sector19 */ |
Lightvalve | 16:903b5a4433b4 | 194 | #define OB_WRP_Sector_20 ((uint32_t)0x00000100) /*!< Write protection of Sector20 */ |
Lightvalve | 16:903b5a4433b4 | 195 | #define OB_WRP_Sector_21 ((uint32_t)0x00000200) /*!< Write protection of Sector21 */ |
Lightvalve | 16:903b5a4433b4 | 196 | #define OB_WRP_Sector_22 ((uint32_t)0x00000400) /*!< Write protection of Sector22 */ |
Lightvalve | 16:903b5a4433b4 | 197 | #define OB_WRP_Sector_23 ((uint32_t)0x00000800) /*!< Write protection of Sector23 */ |
Lightvalve | 16:903b5a4433b4 | 198 | #define OB_WRP_Sector_All ((uint32_t)0x00000FFF) /*!< Write protection of all Sectors */ |
Lightvalve | 16:903b5a4433b4 | 199 | |
Lightvalve | 16:903b5a4433b4 | 200 | #define IS_OB_WRP(SECTOR)((((SECTOR) & (uint32_t)0xFFFFF000) == 0x00000000) && ((SECTOR) != 0x00000000)) |
Lightvalve | 16:903b5a4433b4 | 201 | /** |
Lightvalve | 16:903b5a4433b4 | 202 | * @} |
Lightvalve | 16:903b5a4433b4 | 203 | */ |
Lightvalve | 16:903b5a4433b4 | 204 | |
Lightvalve | 16:903b5a4433b4 | 205 | /** @defgroup Selection_Protection_Mode |
Lightvalve | 16:903b5a4433b4 | 206 | * @{ |
Lightvalve | 16:903b5a4433b4 | 207 | */ |
Lightvalve | 16:903b5a4433b4 | 208 | #define OB_PcROP_Disable ((uint8_t)0x00) /*!< Disabled PcROP, nWPRi bits used for Write Protection on sector i */ |
Lightvalve | 16:903b5a4433b4 | 209 | #define OB_PcROP_Enable ((uint8_t)0x80) /*!< Enable PcROP, nWPRi bits used for PCRoP Protection on sector i */ |
Lightvalve | 16:903b5a4433b4 | 210 | |
Lightvalve | 16:903b5a4433b4 | 211 | /** |
Lightvalve | 16:903b5a4433b4 | 212 | * @} |
Lightvalve | 16:903b5a4433b4 | 213 | */ |
Lightvalve | 16:903b5a4433b4 | 214 | |
Lightvalve | 16:903b5a4433b4 | 215 | /** @defgroup Option_Bytes_PC_ReadWrite_Protection |
Lightvalve | 16:903b5a4433b4 | 216 | * @{ |
Lightvalve | 16:903b5a4433b4 | 217 | */ |
Lightvalve | 16:903b5a4433b4 | 218 | #define OB_PCROP_Sector_0 ((uint32_t)0x00000001) /*!< PC Read/Write protection of Sector0 */ |
Lightvalve | 16:903b5a4433b4 | 219 | #define OB_PCROP_Sector_1 ((uint32_t)0x00000002) /*!< PC Read/Write protection of Sector1 */ |
Lightvalve | 16:903b5a4433b4 | 220 | #define OB_PCROP_Sector_2 ((uint32_t)0x00000004) /*!< PC Read/Write protection of Sector2 */ |
Lightvalve | 16:903b5a4433b4 | 221 | #define OB_PCROP_Sector_3 ((uint32_t)0x00000008) /*!< PC Read/Write protection of Sector3 */ |
Lightvalve | 16:903b5a4433b4 | 222 | #define OB_PCROP_Sector_4 ((uint32_t)0x00000010) /*!< PC Read/Write protection of Sector4 */ |
Lightvalve | 16:903b5a4433b4 | 223 | #define OB_PCROP_Sector_5 ((uint32_t)0x00000020) /*!< PC Read/Write protection of Sector5 */ |
Lightvalve | 16:903b5a4433b4 | 224 | #define OB_PCROP_Sector_6 ((uint32_t)0x00000040) /*!< PC Read/Write protection of Sector6 */ |
Lightvalve | 16:903b5a4433b4 | 225 | #define OB_PCROP_Sector_7 ((uint32_t)0x00000080) /*!< PC Read/Write protection of Sector7 */ |
Lightvalve | 16:903b5a4433b4 | 226 | #define OB_PCROP_Sector_8 ((uint32_t)0x00000100) /*!< PC Read/Write protection of Sector8 */ |
Lightvalve | 16:903b5a4433b4 | 227 | #define OB_PCROP_Sector_9 ((uint32_t)0x00000200) /*!< PC Read/Write protection of Sector9 */ |
Lightvalve | 16:903b5a4433b4 | 228 | #define OB_PCROP_Sector_10 ((uint32_t)0x00000400) /*!< PC Read/Write protection of Sector10 */ |
Lightvalve | 16:903b5a4433b4 | 229 | #define OB_PCROP_Sector_11 ((uint32_t)0x00000800) /*!< PC Read/Write protection of Sector11 */ |
Lightvalve | 16:903b5a4433b4 | 230 | #define OB_PCROP_Sector_12 ((uint32_t)0x00000001) /*!< PC Read/Write protection of Sector12 */ |
Lightvalve | 16:903b5a4433b4 | 231 | #define OB_PCROP_Sector_13 ((uint32_t)0x00000002) /*!< PC Read/Write protection of Sector13 */ |
Lightvalve | 16:903b5a4433b4 | 232 | #define OB_PCROP_Sector_14 ((uint32_t)0x00000004) /*!< PC Read/Write protection of Sector14 */ |
Lightvalve | 16:903b5a4433b4 | 233 | #define OB_PCROP_Sector_15 ((uint32_t)0x00000008) /*!< PC Read/Write protection of Sector15 */ |
Lightvalve | 16:903b5a4433b4 | 234 | #define OB_PCROP_Sector_16 ((uint32_t)0x00000010) /*!< PC Read/Write protection of Sector16 */ |
Lightvalve | 16:903b5a4433b4 | 235 | #define OB_PCROP_Sector_17 ((uint32_t)0x00000020) /*!< PC Read/Write protection of Sector17 */ |
Lightvalve | 16:903b5a4433b4 | 236 | #define OB_PCROP_Sector_18 ((uint32_t)0x00000040) /*!< PC Read/Write protection of Sector18 */ |
Lightvalve | 16:903b5a4433b4 | 237 | #define OB_PCROP_Sector_19 ((uint32_t)0x00000080) /*!< PC Read/Write protection of Sector19 */ |
Lightvalve | 16:903b5a4433b4 | 238 | #define OB_PCROP_Sector_20 ((uint32_t)0x00000100) /*!< PC Read/Write protection of Sector20 */ |
Lightvalve | 16:903b5a4433b4 | 239 | #define OB_PCROP_Sector_21 ((uint32_t)0x00000200) /*!< PC Read/Write protection of Sector21 */ |
Lightvalve | 16:903b5a4433b4 | 240 | #define OB_PCROP_Sector_22 ((uint32_t)0x00000400) /*!< PC Read/Write protection of Sector22 */ |
Lightvalve | 16:903b5a4433b4 | 241 | #define OB_PCROP_Sector_23 ((uint32_t)0x00000800) /*!< PC Read/Write protection of Sector23 */ |
Lightvalve | 16:903b5a4433b4 | 242 | #define OB_PCROP_Sector_All ((uint32_t)0x00000FFF) /*!< PC Read/Write protection of all Sectors */ |
Lightvalve | 16:903b5a4433b4 | 243 | |
Lightvalve | 16:903b5a4433b4 | 244 | /** |
Lightvalve | 16:903b5a4433b4 | 245 | * @} |
Lightvalve | 16:903b5a4433b4 | 246 | */ |
Lightvalve | 16:903b5a4433b4 | 247 | |
Lightvalve | 16:903b5a4433b4 | 248 | /** @defgroup FLASH_Option_Bytes_Read_Protection |
Lightvalve | 16:903b5a4433b4 | 249 | * @{ |
Lightvalve | 16:903b5a4433b4 | 250 | */ |
Lightvalve | 16:903b5a4433b4 | 251 | #define OB_RDP_Level_0 ((uint8_t)0xAA) |
Lightvalve | 16:903b5a4433b4 | 252 | #define OB_RDP_Level_1 ((uint8_t)0x55) |
Lightvalve | 16:903b5a4433b4 | 253 | /*#define OB_RDP_Level_2 ((uint8_t)0xCC)*/ /*!< Warning: When enabling read protection level 2 |
Lightvalve | 16:903b5a4433b4 | 254 | it's no more possible to go back to level 1 or 0 */ |
Lightvalve | 16:903b5a4433b4 | 255 | #define IS_OB_RDP(LEVEL) (((LEVEL) == OB_RDP_Level_0)||\ |
Lightvalve | 16:903b5a4433b4 | 256 | ((LEVEL) == OB_RDP_Level_1))/*||\ |
Lightvalve | 16:903b5a4433b4 | 257 | ((LEVEL) == OB_RDP_Level_2))*/ |
Lightvalve | 16:903b5a4433b4 | 258 | /** |
Lightvalve | 16:903b5a4433b4 | 259 | * @} |
Lightvalve | 16:903b5a4433b4 | 260 | */ |
Lightvalve | 16:903b5a4433b4 | 261 | |
Lightvalve | 16:903b5a4433b4 | 262 | /** @defgroup FLASH_Option_Bytes_IWatchdog |
Lightvalve | 16:903b5a4433b4 | 263 | * @{ |
Lightvalve | 16:903b5a4433b4 | 264 | */ |
Lightvalve | 16:903b5a4433b4 | 265 | |
Lightvalve | 16:903b5a4433b4 | 266 | #define IS_OB_IWDG_SOURCE(SOURCE) (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
Lightvalve | 16:903b5a4433b4 | 267 | /** |
Lightvalve | 16:903b5a4433b4 | 268 | * @} |
Lightvalve | 16:903b5a4433b4 | 269 | */ |
Lightvalve | 16:903b5a4433b4 | 270 | |
Lightvalve | 16:903b5a4433b4 | 271 | /** @defgroup FLASH_Option_Bytes_nRST_STOP |
Lightvalve | 16:903b5a4433b4 | 272 | * @{ |
Lightvalve | 16:903b5a4433b4 | 273 | */ |
Lightvalve | 16:903b5a4433b4 | 274 | #define OB_STOP_NoRST ((uint8_t)0x40) /*!< No reset generated when entering in STOP */ |
Lightvalve | 16:903b5a4433b4 | 275 | |
Lightvalve | 16:903b5a4433b4 | 276 | /** |
Lightvalve | 16:903b5a4433b4 | 277 | * @} |
Lightvalve | 16:903b5a4433b4 | 278 | */ |
Lightvalve | 16:903b5a4433b4 | 279 | |
Lightvalve | 16:903b5a4433b4 | 280 | |
Lightvalve | 16:903b5a4433b4 | 281 | /** @defgroup FLASH_Option_Bytes_nRST_STDBY |
Lightvalve | 16:903b5a4433b4 | 282 | * @{ |
Lightvalve | 16:903b5a4433b4 | 283 | */ |
Lightvalve | 16:903b5a4433b4 | 284 | #define OB_STDBY_NoRST ((uint8_t)0x80) /*!< No reset generated when entering in STANDBY */ |
Lightvalve | 16:903b5a4433b4 | 285 | //#define OB_STDBY_RST ((uint8_t)0x00) /*!< Reset generated when entering in STANDBY */ |
Lightvalve | 16:903b5a4433b4 | 286 | //#define IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NoRST) || ((SOURCE) == OB_STDBY_RST)) |
Lightvalve | 16:903b5a4433b4 | 287 | /** |
Lightvalve | 16:903b5a4433b4 | 288 | * @} |
Lightvalve | 16:903b5a4433b4 | 289 | */ |
Lightvalve | 16:903b5a4433b4 | 290 | |
Lightvalve | 16:903b5a4433b4 | 291 | /** @defgroup FLASH_BOR_Reset_Level |
Lightvalve | 16:903b5a4433b4 | 292 | * @{ |
Lightvalve | 16:903b5a4433b4 | 293 | */ |
Lightvalve | 16:903b5a4433b4 | 294 | |
Lightvalve | 16:903b5a4433b4 | 295 | #define IS_OB_BOR(LEVEL) (((LEVEL) == OB_BOR_LEVEL1) || ((LEVEL) == OB_BOR_LEVEL2) ||\ |
Lightvalve | 16:903b5a4433b4 | 296 | ((LEVEL) == OB_BOR_LEVEL3) || ((LEVEL) == OB_BOR_OFF)) |
Lightvalve | 16:903b5a4433b4 | 297 | /** |
Lightvalve | 16:903b5a4433b4 | 298 | * @} |
Lightvalve | 16:903b5a4433b4 | 299 | */ |
Lightvalve | 16:903b5a4433b4 | 300 | |
Lightvalve | 16:903b5a4433b4 | 301 | /** @defgroup FLASH_Dual_Boot |
Lightvalve | 16:903b5a4433b4 | 302 | * @{ |
Lightvalve | 16:903b5a4433b4 | 303 | */ |
Lightvalve | 16:903b5a4433b4 | 304 | #define OB_Dual_BootEnabled ((uint8_t)0x10) /*!< Dual Bank Boot Enable */ |
Lightvalve | 16:903b5a4433b4 | 305 | #define OB_Dual_BootDisabled ((uint8_t)0x00) /*!< Dual Bank Boot Disable, always boot on User Flash */ |
Lightvalve | 16:903b5a4433b4 | 306 | #define IS_OB_BOOT(BOOT) (((BOOT) == OB_Dual_BootEnabled) || ((BOOT) == OB_Dual_BootDisabled)) |
Lightvalve | 16:903b5a4433b4 | 307 | /** |
Lightvalve | 16:903b5a4433b4 | 308 | * @} |
Lightvalve | 16:903b5a4433b4 | 309 | */ |
Lightvalve | 16:903b5a4433b4 | 310 | |
Lightvalve | 16:903b5a4433b4 | 311 | /** @defgroup FLASH_Interrupts |
Lightvalve | 16:903b5a4433b4 | 312 | * @{ |
Lightvalve | 16:903b5a4433b4 | 313 | */ |
Lightvalve | 16:903b5a4433b4 | 314 | |
Lightvalve | 16:903b5a4433b4 | 315 | #define IS_FLASH_IT(IT) ((((IT) & (uint32_t)0xFCFFFFFF) == 0x00000000) && ((IT) != 0x00000000)) |
Lightvalve | 16:903b5a4433b4 | 316 | /** |
Lightvalve | 16:903b5a4433b4 | 317 | * @} |
Lightvalve | 16:903b5a4433b4 | 318 | */ |
Lightvalve | 16:903b5a4433b4 | 319 | |
Lightvalve | 16:903b5a4433b4 | 320 | /** @defgroup FLASH_Flags |
Lightvalve | 16:903b5a4433b4 | 321 | * @{ |
Lightvalve | 16:903b5a4433b4 | 322 | */ |
Lightvalve | 16:903b5a4433b4 | 323 | |
Lightvalve | 16:903b5a4433b4 | 324 | #define IS_FLASH_CLEAR_FLAG(FLAG) ((((FLAG) & (uint32_t)0xFFFFFE0C) == 0x00000000) && ((FLAG) != 0x00000000)) |
Lightvalve | 16:903b5a4433b4 | 325 | #define IS_FLASH_GET_FLAG(FLAG) (((FLAG) == FLASH_FLAG_EOP) || ((FLAG) == FLASH_FLAG_OPERR) || \ |
Lightvalve | 16:903b5a4433b4 | 326 | ((FLAG) == FLASH_FLAG_WRPERR) || ((FLAG) == FLASH_FLAG_PGAERR) || \ |
Lightvalve | 16:903b5a4433b4 | 327 | ((FLAG) == FLASH_FLAG_PGPERR) || ((FLAG) == FLASH_FLAG_PGSERR) || \ |
Lightvalve | 16:903b5a4433b4 | 328 | ((FLAG) == FLASH_FLAG_BSY) || ((FLAG) == FLASH_FLAG_RDERR)) |
Lightvalve | 16:903b5a4433b4 | 329 | |
Lightvalve | 16:903b5a4433b4 | 330 | /** |
Lightvalve | 16:903b5a4433b4 | 331 | * @brief ACR register byte 0 (Bits[7:0]) base address |
Lightvalve | 16:903b5a4433b4 | 332 | */ |
Lightvalve | 16:903b5a4433b4 | 333 | //#define ACR_BYTE0_ADDRESS ((uint32_t)0x40023C00) |
Lightvalve | 16:903b5a4433b4 | 334 | /** |
Lightvalve | 16:903b5a4433b4 | 335 | * @brief OPTCR register byte 0 (Bits[7:0]) base address |
Lightvalve | 16:903b5a4433b4 | 336 | */ |
Lightvalve | 16:903b5a4433b4 | 337 | //#define OPTCR_BYTE0_ADDRESS ((uint32_t)0x40023C14) |
Lightvalve | 16:903b5a4433b4 | 338 | /** |
Lightvalve | 16:903b5a4433b4 | 339 | * @brief OPTCR register byte 1 (Bits[15:8]) base address |
Lightvalve | 16:903b5a4433b4 | 340 | */ |
Lightvalve | 16:903b5a4433b4 | 341 | //#define OPTCR_BYTE1_ADDRESS ((uint32_t)0x40023C15) |
Lightvalve | 16:903b5a4433b4 | 342 | /** |
Lightvalve | 16:903b5a4433b4 | 343 | * @brief OPTCR register byte 2 (Bits[23:16]) base address |
Lightvalve | 16:903b5a4433b4 | 344 | */ |
Lightvalve | 16:903b5a4433b4 | 345 | //#define OPTCR_BYTE2_ADDRESS ((uint32_t)0x40023C16) |
Lightvalve | 16:903b5a4433b4 | 346 | /** |
Lightvalve | 16:903b5a4433b4 | 347 | * @brief OPTCR register byte 3 (Bits[31:24]) base address |
Lightvalve | 16:903b5a4433b4 | 348 | */ |
Lightvalve | 16:903b5a4433b4 | 349 | //#define OPTCR_BYTE3_ADDRESS ((uint32_t)0x40023C17) |
Lightvalve | 16:903b5a4433b4 | 350 | |
Lightvalve | 16:903b5a4433b4 | 351 | /** |
Lightvalve | 16:903b5a4433b4 | 352 | * @brief OPTCR1 register byte 0 (Bits[7:0]) base address |
Lightvalve | 16:903b5a4433b4 | 353 | */ |
Lightvalve | 16:903b5a4433b4 | 354 | #define OPTCR1_BYTE2_ADDRESS ((uint32_t)0x40023C1A) |
Lightvalve | 16:903b5a4433b4 | 355 | |
Lightvalve | 16:903b5a4433b4 | 356 | /** |
Lightvalve | 16:903b5a4433b4 | 357 | * @} |
Lightvalve | 16:903b5a4433b4 | 358 | */ |
Lightvalve | 16:903b5a4433b4 | 359 | |
Lightvalve | 16:903b5a4433b4 | 360 | /* Exported macro ------------------------------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 361 | /* Exported functions --------------------------------------------------------*/ |
Lightvalve | 16:903b5a4433b4 | 362 | |
Lightvalve | 16:903b5a4433b4 | 363 | /* FLASH Interface configuration functions ************************************/ |
Lightvalve | 16:903b5a4433b4 | 364 | void FLASH_SetLatency(uint32_t FLASH_Latency); |
Lightvalve | 16:903b5a4433b4 | 365 | void FLASH_PrefetchBufferCmd(FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 366 | void FLASH_InstructionCacheCmd(FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 367 | void FLASH_DataCacheCmd(FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 368 | void FLASH_InstructionCacheReset(void); |
Lightvalve | 16:903b5a4433b4 | 369 | void FLASH_DataCacheReset(void); |
Lightvalve | 16:903b5a4433b4 | 370 | |
Lightvalve | 16:903b5a4433b4 | 371 | /* FLASH Memory Programming functions *****************************************/ |
Lightvalve | 16:903b5a4433b4 | 372 | void FLASH_Unlock(void); |
Lightvalve | 16:903b5a4433b4 | 373 | void FLASH_Lock(void); |
Lightvalve | 16:903b5a4433b4 | 374 | FLASH_Status FLASH_EraseSector(uint32_t FLASH_Sector, uint8_t VoltageRange); |
Lightvalve | 16:903b5a4433b4 | 375 | FLASH_Status FLASH_EraseAllSectors(uint8_t VoltageRange); |
Lightvalve | 16:903b5a4433b4 | 376 | FLASH_Status FLASH_EraseAllBank1Sectors(uint8_t VoltageRange); |
Lightvalve | 16:903b5a4433b4 | 377 | FLASH_Status FLASH_EraseAllBank2Sectors(uint8_t VoltageRange); |
Lightvalve | 16:903b5a4433b4 | 378 | FLASH_Status FLASH_ProgramDoubleWord(uint32_t Address, uint64_t Data); |
Lightvalve | 16:903b5a4433b4 | 379 | FLASH_Status FLASH_ProgramWord(uint32_t Address, uint32_t Data); |
Lightvalve | 16:903b5a4433b4 | 380 | FLASH_Status FLASH_ProgramHalfWord(uint32_t Address, uint16_t Data); |
Lightvalve | 16:903b5a4433b4 | 381 | FLASH_Status FLASH_ProgramByte(uint32_t Address, uint8_t Data); |
Lightvalve | 16:903b5a4433b4 | 382 | |
Lightvalve | 16:903b5a4433b4 | 383 | /* Option Bytes Programming functions *****************************************/ |
Lightvalve | 16:903b5a4433b4 | 384 | void FLASH_OB_Unlock(void); |
Lightvalve | 16:903b5a4433b4 | 385 | void FLASH_OB_Lock(void); |
Lightvalve | 16:903b5a4433b4 | 386 | void FLASH_OB_WRPConfig(uint32_t OB_WRP, FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 387 | void FLASH_OB_WRP1Config(uint32_t OB_WRP, FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 388 | void FLASH_OB_PCROPSelectionConfig(uint8_t OB_PcROP); |
Lightvalve | 16:903b5a4433b4 | 389 | void FLASH_OB_PCROPConfig(uint32_t OB_PCROP, FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 390 | void FLASH_OB_PCROP1Config(uint32_t OB_PCROP, FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 391 | void FLASH_OB_RDPConfig(uint8_t OB_RDP); |
Lightvalve | 16:903b5a4433b4 | 392 | void FLASH_OB_UserConfig(uint8_t OB_IWDG, uint8_t OB_STOP, uint8_t OB_STDBY); |
Lightvalve | 16:903b5a4433b4 | 393 | void FLASH_OB_BORConfig(uint8_t OB_BOR); |
Lightvalve | 16:903b5a4433b4 | 394 | void FLASH_OB_BootConfig(uint8_t OB_BOOT); |
Lightvalve | 16:903b5a4433b4 | 395 | FLASH_Status FLASH_OB_Launch(void); |
Lightvalve | 16:903b5a4433b4 | 396 | uint8_t FLASH_OB_GetUser(void); |
Lightvalve | 16:903b5a4433b4 | 397 | uint16_t FLASH_OB_GetWRP(void); |
Lightvalve | 16:903b5a4433b4 | 398 | uint16_t FLASH_OB_GetWRP1(void); |
Lightvalve | 16:903b5a4433b4 | 399 | uint16_t FLASH_OB_GetPCROP(void); |
Lightvalve | 16:903b5a4433b4 | 400 | uint16_t FLASH_OB_GetPCROP1(void); |
Lightvalve | 16:903b5a4433b4 | 401 | FlagStatus FLASH_OB_GetRDP(void); |
Lightvalve | 16:903b5a4433b4 | 402 | uint8_t FLASH_OB_GetBOR(void); |
Lightvalve | 16:903b5a4433b4 | 403 | |
Lightvalve | 16:903b5a4433b4 | 404 | /* Interrupts and flags management functions **********************************/ |
Lightvalve | 16:903b5a4433b4 | 405 | void FLASH_ITConfig(uint32_t FLASH_IT, FunctionalState NewState); |
Lightvalve | 16:903b5a4433b4 | 406 | FlagStatus FLASH_GetFlagStatus(uint32_t FLASH_FLAG); |
Lightvalve | 16:903b5a4433b4 | 407 | void FLASH_ClearFlag(uint32_t FLASH_FLAG); |
Lightvalve | 16:903b5a4433b4 | 408 | FLASH_Status FLASH_GetStatus(void); |
Lightvalve | 16:903b5a4433b4 | 409 | FLASH_Status FLASH_WaitForLastOperation2(void); |
Lightvalve | 16:903b5a4433b4 | 410 | |
Lightvalve | 16:903b5a4433b4 | 411 | #ifdef __cplusplus |
Lightvalve | 16:903b5a4433b4 | 412 | } |
Lightvalve | 16:903b5a4433b4 | 413 | #endif |
Lightvalve | 16:903b5a4433b4 | 414 | |
Lightvalve | 16:903b5a4433b4 | 415 | #endif /* __STM32F4xx_FLASH_H */ |
Lightvalve | 16:903b5a4433b4 | 416 | |
Lightvalve | 16:903b5a4433b4 | 417 | /** |
Lightvalve | 16:903b5a4433b4 | 418 | * @} |
Lightvalve | 16:903b5a4433b4 | 419 | */ |
Lightvalve | 16:903b5a4433b4 | 420 | |
Lightvalve | 16:903b5a4433b4 | 421 | /** |
Lightvalve | 16:903b5a4433b4 | 422 | * @} |
Lightvalve | 16:903b5a4433b4 | 423 | */ |
Lightvalve | 16:903b5a4433b4 | 424 | |
Lightvalve | 16:903b5a4433b4 | 425 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |