cc y / mbed

Fork of mbed by mbed official

Committer:
Kojto
Date:
Thu Jul 07 14:34:11 2016 +0100
Revision:
122:f9eeca106725
Parent:
90:cb3d968589d8
Release 122 of the mbed library

Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition

Who changed what in which revision?

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