Ricardo Benitez / mbed

Fork of mbed by mbed official

Committer:
Kojto
Date:
Tue Mar 15 14:34:00 2016 +0000
Revision:
116:c0f6e94411f5
Parent:
115:87f2f5183dfb
Release 116 of the mbed library

Changes:
- new targets - NUCLEO_L073RZ
- fixes to IOTSS BEID platform
- LPC824, LPC1549 and LPC11U68 - fix PWMOut SCT bugs
- STM32F7 - Cube driver
- STM32F4 - add RTC LSI macro, defined as 0
- STM32F3 - fix multiple ADC clock initialization
- retarget - binary mode fix for GCC

Who changed what in which revision?

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