mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Nov 03 10:30:07 2014 +0000
Revision:
381:5460fc57b6e4
Synchronized with git revision 02478cd1f27fc7b9643486472635eb515b2bca81

Full URL: https://github.com/mbedmicro/mbed/commit/02478cd1f27fc7b9643486472635eb515b2bca81/

Target: LPC1549 - Fix serial interrupt issues (issue report #616)

Who changed what in which revision?

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