Ricardo Benitez / mbed

Fork of mbed by mbed official

Committer:
Kojto
Date:
Thu Oct 29 08:40:18 2015 +0000
Revision:
109:9296ab0bfc11
Release 109  of the mbed library

Changes:
- new platforms - NUCLEO_F042K6, WIZNWIKI_W7500ECO
- MTS targets - bootloaders update to 0.1.1
- STM F7 - RTC enable fixes
- STM F4 - i2c pending stop before start fix
- STM all targets - analogout normalization fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 109:9296ab0bfc11 1 /**
Kojto 109:9296ab0bfc11 2 ******************************************************************************
Kojto 109:9296ab0bfc11 3 * @file stm32f3xx_hal_nor.h
Kojto 109:9296ab0bfc11 4 * @author MCD Application Team
Kojto 109:9296ab0bfc11 5 * @version V1.1.0
Kojto 109:9296ab0bfc11 6 * @date 12-Sept-2014
Kojto 109:9296ab0bfc11 7 * @brief Header file of NOR HAL module.
Kojto 109:9296ab0bfc11 8 ******************************************************************************
Kojto 109:9296ab0bfc11 9 * @attention
Kojto 109:9296ab0bfc11 10 *
Kojto 109:9296ab0bfc11 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
Kojto 109:9296ab0bfc11 12 *
Kojto 109:9296ab0bfc11 13 * Redistribution and use in source and binary forms, with or without modification,
Kojto 109:9296ab0bfc11 14 * are permitted provided that the following conditions are met:
Kojto 109:9296ab0bfc11 15 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 109:9296ab0bfc11 16 * this list of conditions and the following disclaimer.
Kojto 109:9296ab0bfc11 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 109:9296ab0bfc11 18 * this list of conditions and the following disclaimer in the documentation
Kojto 109:9296ab0bfc11 19 * and/or other materials provided with the distribution.
Kojto 109:9296ab0bfc11 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 109:9296ab0bfc11 21 * may be used to endorse or promote products derived from this software
Kojto 109:9296ab0bfc11 22 * without specific prior written permission.
Kojto 109:9296ab0bfc11 23 *
Kojto 109:9296ab0bfc11 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 109:9296ab0bfc11 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 109:9296ab0bfc11 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 109:9296ab0bfc11 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 109:9296ab0bfc11 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 109:9296ab0bfc11 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 109:9296ab0bfc11 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 109:9296ab0bfc11 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 109:9296ab0bfc11 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 109:9296ab0bfc11 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 109:9296ab0bfc11 34 *
Kojto 109:9296ab0bfc11 35 ******************************************************************************
Kojto 109:9296ab0bfc11 36 */
Kojto 109:9296ab0bfc11 37
Kojto 109:9296ab0bfc11 38 /* Define to prevent recursive inclusion -------------------------------------*/
Kojto 109:9296ab0bfc11 39 #ifndef __STM32F3xx_HAL_NOR_H
Kojto 109:9296ab0bfc11 40 #define __STM32F3xx_HAL_NOR_H
Kojto 109:9296ab0bfc11 41
Kojto 109:9296ab0bfc11 42 #ifdef __cplusplus
Kojto 109:9296ab0bfc11 43 extern "C" {
Kojto 109:9296ab0bfc11 44 #endif
Kojto 109:9296ab0bfc11 45
Kojto 109:9296ab0bfc11 46 /* Includes ------------------------------------------------------------------*/
Kojto 109:9296ab0bfc11 47 #if defined(STM32F302xE) || defined(STM32F303xE) || defined(STM32F398xx)
Kojto 109:9296ab0bfc11 48 #include "stm32f3xx_ll_fmc.h"
Kojto 109:9296ab0bfc11 49 #endif /* STM32F302xE || STM32F303xE || STM32F398xx */
Kojto 109:9296ab0bfc11 50
Kojto 109:9296ab0bfc11 51 /** @addtogroup STM32F3xx_HAL_Driver
Kojto 109:9296ab0bfc11 52 * @{
Kojto 109:9296ab0bfc11 53 */
Kojto 109:9296ab0bfc11 54
Kojto 109:9296ab0bfc11 55 /** @addtogroup NOR
Kojto 109:9296ab0bfc11 56 * @{
Kojto 109:9296ab0bfc11 57 */
Kojto 109:9296ab0bfc11 58
Kojto 109:9296ab0bfc11 59 #if defined(STM32F302xE) || defined(STM32F303xE) || defined(STM32F398xx)
Kojto 109:9296ab0bfc11 60
Kojto 109:9296ab0bfc11 61 /* Exported typedef ----------------------------------------------------------*/
Kojto 109:9296ab0bfc11 62 /** @defgroup NOR_Exported_Types NOR Exported Types
Kojto 109:9296ab0bfc11 63 * @{
Kojto 109:9296ab0bfc11 64 */
Kojto 109:9296ab0bfc11 65
Kojto 109:9296ab0bfc11 66 /**
Kojto 109:9296ab0bfc11 67 * @brief HAL SRAM State structures definition
Kojto 109:9296ab0bfc11 68 */
Kojto 109:9296ab0bfc11 69 typedef enum
Kojto 109:9296ab0bfc11 70 {
Kojto 109:9296ab0bfc11 71 HAL_NOR_STATE_RESET = 0x00, /*!< NOR not yet initialized or disabled */
Kojto 109:9296ab0bfc11 72 HAL_NOR_STATE_READY = 0x01, /*!< NOR initialized and ready for use */
Kojto 109:9296ab0bfc11 73 HAL_NOR_STATE_BUSY = 0x02, /*!< NOR internal processing is ongoing */
Kojto 109:9296ab0bfc11 74 HAL_NOR_STATE_ERROR = 0x03, /*!< NOR error state */
Kojto 109:9296ab0bfc11 75 HAL_NOR_STATE_PROTECTED = 0x04 /*!< NOR NORSRAM device write protected */
Kojto 109:9296ab0bfc11 76
Kojto 109:9296ab0bfc11 77 }HAL_NOR_StateTypeDef;
Kojto 109:9296ab0bfc11 78
Kojto 109:9296ab0bfc11 79 /**
Kojto 109:9296ab0bfc11 80 * @brief FMC NOR Status typedef
Kojto 109:9296ab0bfc11 81 */
Kojto 109:9296ab0bfc11 82 typedef enum
Kojto 109:9296ab0bfc11 83 {
Kojto 109:9296ab0bfc11 84 NOR_SUCCESS = 0,
Kojto 109:9296ab0bfc11 85 NOR_ONGOING,
Kojto 109:9296ab0bfc11 86 NOR_ERROR,
Kojto 109:9296ab0bfc11 87 NOR_TIMEOUT
Kojto 109:9296ab0bfc11 88
Kojto 109:9296ab0bfc11 89 }NOR_StatusTypedef;
Kojto 109:9296ab0bfc11 90
Kojto 109:9296ab0bfc11 91 /**
Kojto 109:9296ab0bfc11 92 * @brief FMC NOR ID typedef
Kojto 109:9296ab0bfc11 93 */
Kojto 109:9296ab0bfc11 94 typedef struct
Kojto 109:9296ab0bfc11 95 {
Kojto 109:9296ab0bfc11 96 uint16_t Manufacturer_Code; /*!< Defines the device's manufacturer code used to identify the memory */
Kojto 109:9296ab0bfc11 97
Kojto 109:9296ab0bfc11 98 uint16_t Device_Code1;
Kojto 109:9296ab0bfc11 99
Kojto 109:9296ab0bfc11 100 uint16_t Device_Code2;
Kojto 109:9296ab0bfc11 101
Kojto 109:9296ab0bfc11 102 uint16_t Device_Code3; /*!< Defines the device's codes used to identify the memory.
Kojto 109:9296ab0bfc11 103 These codes can be accessed by performing read operations with specific
Kojto 109:9296ab0bfc11 104 control signals and addresses set.They can also be accessed by issuing
Kojto 109:9296ab0bfc11 105 an Auto Select command */
Kojto 109:9296ab0bfc11 106 }NOR_IDTypeDef;
Kojto 109:9296ab0bfc11 107
Kojto 109:9296ab0bfc11 108 /**
Kojto 109:9296ab0bfc11 109 * @brief FMC NOR CFI typedef
Kojto 109:9296ab0bfc11 110 */
Kojto 109:9296ab0bfc11 111 typedef struct
Kojto 109:9296ab0bfc11 112 {
Kojto 109:9296ab0bfc11 113 /*!< Defines the information stored in the memory's Common flash interface
Kojto 109:9296ab0bfc11 114 which contains a description of various electrical and timing parameters,
Kojto 109:9296ab0bfc11 115 density information and functions supported by the memory */
Kojto 109:9296ab0bfc11 116
Kojto 109:9296ab0bfc11 117 uint16_t CFI_1;
Kojto 109:9296ab0bfc11 118
Kojto 109:9296ab0bfc11 119 uint16_t CFI_2;
Kojto 109:9296ab0bfc11 120
Kojto 109:9296ab0bfc11 121 uint16_t CFI_3;
Kojto 109:9296ab0bfc11 122
Kojto 109:9296ab0bfc11 123 uint16_t CFI_4;
Kojto 109:9296ab0bfc11 124
Kojto 109:9296ab0bfc11 125 }NOR_CFITypeDef;
Kojto 109:9296ab0bfc11 126
Kojto 109:9296ab0bfc11 127 /**
Kojto 109:9296ab0bfc11 128 * @brief NOR handle Structure definition
Kojto 109:9296ab0bfc11 129 */
Kojto 109:9296ab0bfc11 130 typedef struct
Kojto 109:9296ab0bfc11 131 {
Kojto 109:9296ab0bfc11 132 FMC_NORSRAM_TypeDef *Instance; /*!< Register base address */
Kojto 109:9296ab0bfc11 133
Kojto 109:9296ab0bfc11 134 FMC_NORSRAM_EXTENDED_TypeDef *Extended; /*!< Extended mode register base address */
Kojto 109:9296ab0bfc11 135
Kojto 109:9296ab0bfc11 136 FMC_NORSRAM_InitTypeDef Init; /*!< NOR device control configuration parameters */
Kojto 109:9296ab0bfc11 137
Kojto 109:9296ab0bfc11 138 HAL_LockTypeDef Lock; /*!< NOR locking object */
Kojto 109:9296ab0bfc11 139
Kojto 109:9296ab0bfc11 140 __IO HAL_NOR_StateTypeDef State; /*!< NOR device access state */
Kojto 109:9296ab0bfc11 141
Kojto 109:9296ab0bfc11 142 }NOR_HandleTypeDef;
Kojto 109:9296ab0bfc11 143
Kojto 109:9296ab0bfc11 144 /**
Kojto 109:9296ab0bfc11 145 * @}
Kojto 109:9296ab0bfc11 146 */
Kojto 109:9296ab0bfc11 147
Kojto 109:9296ab0bfc11 148 /* Exported constants --------------------------------------------------------*/
Kojto 109:9296ab0bfc11 149 /** @defgroup NOR_Exported_Constants NOR Exported Constants
Kojto 109:9296ab0bfc11 150 * @{
Kojto 109:9296ab0bfc11 151 */
Kojto 109:9296ab0bfc11 152 /* NOR device IDs addresses */
Kojto 109:9296ab0bfc11 153 #define MC_ADDRESS ((uint16_t)0x0000)
Kojto 109:9296ab0bfc11 154 #define DEVICE_CODE1_ADDR ((uint16_t)0x0001)
Kojto 109:9296ab0bfc11 155 #define DEVICE_CODE2_ADDR ((uint16_t)0x000E)
Kojto 109:9296ab0bfc11 156 #define DEVICE_CODE3_ADDR ((uint16_t)0x000F)
Kojto 109:9296ab0bfc11 157
Kojto 109:9296ab0bfc11 158 /* NOR CFI IDs addresses */
Kojto 109:9296ab0bfc11 159 #define CFI1_ADDRESS ((uint16_t)0x61)
Kojto 109:9296ab0bfc11 160 #define CFI2_ADDRESS ((uint16_t)0x62)
Kojto 109:9296ab0bfc11 161 #define CFI3_ADDRESS ((uint16_t)0x63)
Kojto 109:9296ab0bfc11 162 #define CFI4_ADDRESS ((uint16_t)0x64)
Kojto 109:9296ab0bfc11 163
Kojto 109:9296ab0bfc11 164 /* NOR operation wait timeout */
Kojto 109:9296ab0bfc11 165 #define NOR_TMEOUT ((uint16_t)0xFFFF)
Kojto 109:9296ab0bfc11 166
Kojto 109:9296ab0bfc11 167 /* NOR memory data width */
Kojto 109:9296ab0bfc11 168 #define NOR_MEMORY_8B ((uint8_t)0x0)
Kojto 109:9296ab0bfc11 169 #define NOR_MEMORY_16B ((uint8_t)0x1)
Kojto 109:9296ab0bfc11 170
Kojto 109:9296ab0bfc11 171 /* NOR memory device read/write start address */
Kojto 109:9296ab0bfc11 172 #define NOR_MEMORY_ADRESS1 ((uint32_t)0x60000000)
Kojto 109:9296ab0bfc11 173 #define NOR_MEMORY_ADRESS2 ((uint32_t)0x64000000)
Kojto 109:9296ab0bfc11 174 #define NOR_MEMORY_ADRESS3 ((uint32_t)0x68000000)
Kojto 109:9296ab0bfc11 175 #define NOR_MEMORY_ADRESS4 ((uint32_t)0x6C000000)
Kojto 109:9296ab0bfc11 176
Kojto 109:9296ab0bfc11 177 /**
Kojto 109:9296ab0bfc11 178 * @}
Kojto 109:9296ab0bfc11 179 */
Kojto 109:9296ab0bfc11 180
Kojto 109:9296ab0bfc11 181 /* Exported macro ------------------------------------------------------------*/
Kojto 109:9296ab0bfc11 182 /** @defgroup NOR_Exported_Macros NOR Exported Macros
Kojto 109:9296ab0bfc11 183 * @{
Kojto 109:9296ab0bfc11 184 */
Kojto 109:9296ab0bfc11 185
Kojto 109:9296ab0bfc11 186 /** @brief Reset NOR handle state
Kojto 109:9296ab0bfc11 187 * @param __HANDLE__: specifies the NOR handle.
Kojto 109:9296ab0bfc11 188 * @retval None
Kojto 109:9296ab0bfc11 189 */
Kojto 109:9296ab0bfc11 190 #define __HAL_NOR_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_NOR_STATE_RESET)
Kojto 109:9296ab0bfc11 191
Kojto 109:9296ab0bfc11 192 /**
Kojto 109:9296ab0bfc11 193 * @brief NOR memory address shifting.
Kojto 109:9296ab0bfc11 194 * @param __NOR_ADDRESS: NOR base address
Kojto 109:9296ab0bfc11 195 * @param __NOR_MEMORY_WIDTH_: NOR memory width
Kojto 109:9296ab0bfc11 196 * @param __ADDRESS__: NOR memory address
Kojto 109:9296ab0bfc11 197 * @retval NOR shifted address value
Kojto 109:9296ab0bfc11 198 */
Kojto 109:9296ab0bfc11 199 #define __NOR_ADDR_SHIFT(__NOR_ADDRESS, __NOR_MEMORY_WIDTH_, __ADDRESS__) \
Kojto 109:9296ab0bfc11 200 ((uint32_t)(((__NOR_MEMORY_WIDTH_) == NOR_MEMORY_16B)? \
Kojto 109:9296ab0bfc11 201 ((uint32_t)((__NOR_ADDRESS) + (2 * (__ADDRESS__)))): \
Kojto 109:9296ab0bfc11 202 ((uint32_t)((__NOR_ADDRESS) + (__ADDRESS__)))))
Kojto 109:9296ab0bfc11 203
Kojto 109:9296ab0bfc11 204 /**
Kojto 109:9296ab0bfc11 205 * @brief NOR memory write data to specified address.
Kojto 109:9296ab0bfc11 206 * @param __ADDRESS__: NOR memory address
Kojto 109:9296ab0bfc11 207 * @param __DATA__: Data to write
Kojto 109:9296ab0bfc11 208 * @retval None
Kojto 109:9296ab0bfc11 209 */
Kojto 109:9296ab0bfc11 210 #define __NOR_WRITE(__ADDRESS__, __DATA__) (*(__IO uint16_t *)((uint32_t)(__ADDRESS__)) = (__DATA__))
Kojto 109:9296ab0bfc11 211
Kojto 109:9296ab0bfc11 212 /**
Kojto 109:9296ab0bfc11 213 * @}
Kojto 109:9296ab0bfc11 214 */
Kojto 109:9296ab0bfc11 215
Kojto 109:9296ab0bfc11 216 /* Exported functions --------------------------------------------------------*/
Kojto 109:9296ab0bfc11 217 /** @addtogroup NOR_Exported_Functions NOR Exported Functions
Kojto 109:9296ab0bfc11 218 * @{
Kojto 109:9296ab0bfc11 219 */
Kojto 109:9296ab0bfc11 220
Kojto 109:9296ab0bfc11 221 /** @addtogroup NOR_Exported_Functions_Group1 Initialization and de-initialization functions
Kojto 109:9296ab0bfc11 222 * @{
Kojto 109:9296ab0bfc11 223 */
Kojto 109:9296ab0bfc11 224
Kojto 109:9296ab0bfc11 225 /* Initialization/de-initialization functions **********************************/
Kojto 109:9296ab0bfc11 226 HAL_StatusTypeDef HAL_NOR_Init(NOR_HandleTypeDef *hnor, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming);
Kojto 109:9296ab0bfc11 227 HAL_StatusTypeDef HAL_NOR_DeInit(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 228 void HAL_NOR_MspInit(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 229 void HAL_NOR_MspDeInit(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 230 void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout);
Kojto 109:9296ab0bfc11 231
Kojto 109:9296ab0bfc11 232 /**
Kojto 109:9296ab0bfc11 233 * @}
Kojto 109:9296ab0bfc11 234 */
Kojto 109:9296ab0bfc11 235
Kojto 109:9296ab0bfc11 236 /** @addtogroup NOR_Exported_Functions_Group2 Input and Output functions
Kojto 109:9296ab0bfc11 237 * @{
Kojto 109:9296ab0bfc11 238 */
Kojto 109:9296ab0bfc11 239
Kojto 109:9296ab0bfc11 240 /* I/O operation functions *****************************************************/
Kojto 109:9296ab0bfc11 241 HAL_StatusTypeDef HAL_NOR_Read_ID(NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_ID);
Kojto 109:9296ab0bfc11 242 HAL_StatusTypeDef HAL_NOR_ReturnToReadMode(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 243 HAL_StatusTypeDef HAL_NOR_Read(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData);
Kojto 109:9296ab0bfc11 244 HAL_StatusTypeDef HAL_NOR_Program(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData);
Kojto 109:9296ab0bfc11 245
Kojto 109:9296ab0bfc11 246 HAL_StatusTypeDef HAL_NOR_ReadBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize);
Kojto 109:9296ab0bfc11 247 HAL_StatusTypeDef HAL_NOR_ProgramBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize);
Kojto 109:9296ab0bfc11 248
Kojto 109:9296ab0bfc11 249 HAL_StatusTypeDef HAL_NOR_Erase_Block(NOR_HandleTypeDef *hnor, uint32_t BlockAddress, uint32_t Address);
Kojto 109:9296ab0bfc11 250 HAL_StatusTypeDef HAL_NOR_Erase_Chip(NOR_HandleTypeDef *hnor, uint32_t Address);
Kojto 109:9296ab0bfc11 251 HAL_StatusTypeDef HAL_NOR_Read_CFI(NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR_CFI);
Kojto 109:9296ab0bfc11 252
Kojto 109:9296ab0bfc11 253 /**
Kojto 109:9296ab0bfc11 254 * @}
Kojto 109:9296ab0bfc11 255 */
Kojto 109:9296ab0bfc11 256
Kojto 109:9296ab0bfc11 257 /** @addtogroup NOR_Exported_Functions_Group3 Peripheral Control functions
Kojto 109:9296ab0bfc11 258 * @{
Kojto 109:9296ab0bfc11 259 */
Kojto 109:9296ab0bfc11 260
Kojto 109:9296ab0bfc11 261 /* NOR Control functions *******************************************************/
Kojto 109:9296ab0bfc11 262 HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 263 HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 264
Kojto 109:9296ab0bfc11 265 /**
Kojto 109:9296ab0bfc11 266 * @}
Kojto 109:9296ab0bfc11 267 */
Kojto 109:9296ab0bfc11 268
Kojto 109:9296ab0bfc11 269 /** @addtogroup NOR_Exported_Functions_Group4 Peripheral State functions
Kojto 109:9296ab0bfc11 270 * @{
Kojto 109:9296ab0bfc11 271 */
Kojto 109:9296ab0bfc11 272
Kojto 109:9296ab0bfc11 273 /* NOR State functions **********************************************************/
Kojto 109:9296ab0bfc11 274 HAL_NOR_StateTypeDef HAL_NOR_GetState(NOR_HandleTypeDef *hnor);
Kojto 109:9296ab0bfc11 275 NOR_StatusTypedef HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout);
Kojto 109:9296ab0bfc11 276
Kojto 109:9296ab0bfc11 277 /**
Kojto 109:9296ab0bfc11 278 * @}
Kojto 109:9296ab0bfc11 279 */
Kojto 109:9296ab0bfc11 280
Kojto 109:9296ab0bfc11 281 /**
Kojto 109:9296ab0bfc11 282 * @}
Kojto 109:9296ab0bfc11 283 */
Kojto 109:9296ab0bfc11 284
Kojto 109:9296ab0bfc11 285 #endif /* STM32F302xE || STM32F303xE || STM32F398xx */
Kojto 109:9296ab0bfc11 286 /**
Kojto 109:9296ab0bfc11 287 * @}
Kojto 109:9296ab0bfc11 288 */
Kojto 109:9296ab0bfc11 289
Kojto 109:9296ab0bfc11 290 /**
Kojto 109:9296ab0bfc11 291 * @}
Kojto 109:9296ab0bfc11 292 */
Kojto 109:9296ab0bfc11 293
Kojto 109:9296ab0bfc11 294 #ifdef __cplusplus
Kojto 109:9296ab0bfc11 295 }
Kojto 109:9296ab0bfc11 296 #endif
Kojto 109:9296ab0bfc11 297
Kojto 109:9296ab0bfc11 298 #endif /* __STM32F3xx_HAL_NOR_H */
Kojto 109:9296ab0bfc11 299
Kojto 109:9296ab0bfc11 300 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/