mbed library sources

Dependents:   Marvino mbot

Fork of mbed-src by mbed official

Committer:
jaerts
Date:
Tue Dec 22 13:22:16 2015 +0000
Revision:
637:ed69428d4850
Parent:
610:813dcc80987e
Add very shady LPC1768 CAN Filter implementation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 610:813dcc80987e 1 /**
mbed_official 610:813dcc80987e 2 ******************************************************************************
mbed_official 610:813dcc80987e 3 * @file stm32l4xx_hal_nand.h
mbed_official 610:813dcc80987e 4 * @author MCD Application Team
mbed_official 610:813dcc80987e 5 * @version V1.0.0
mbed_official 610:813dcc80987e 6 * @date 26-June-2015
mbed_official 610:813dcc80987e 7 * @brief Header file of NAND HAL module.
mbed_official 610:813dcc80987e 8 ******************************************************************************
mbed_official 610:813dcc80987e 9 * @attention
mbed_official 610:813dcc80987e 10 *
mbed_official 610:813dcc80987e 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mbed_official 610:813dcc80987e 12 *
mbed_official 610:813dcc80987e 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 610:813dcc80987e 14 * are permitted provided that the following conditions are met:
mbed_official 610:813dcc80987e 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 610:813dcc80987e 16 * this list of conditions and the following disclaimer.
mbed_official 610:813dcc80987e 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 610:813dcc80987e 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 610:813dcc80987e 19 * and/or other materials provided with the distribution.
mbed_official 610:813dcc80987e 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 610:813dcc80987e 21 * may be used to endorse or promote products derived from this software
mbed_official 610:813dcc80987e 22 * without specific prior written permission.
mbed_official 610:813dcc80987e 23 *
mbed_official 610:813dcc80987e 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 610:813dcc80987e 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 610:813dcc80987e 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 610:813dcc80987e 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 610:813dcc80987e 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 610:813dcc80987e 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 610:813dcc80987e 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 610:813dcc80987e 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 610:813dcc80987e 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 610:813dcc80987e 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 610:813dcc80987e 34 *
mbed_official 610:813dcc80987e 35 ******************************************************************************
mbed_official 610:813dcc80987e 36 */
mbed_official 610:813dcc80987e 37
mbed_official 610:813dcc80987e 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 610:813dcc80987e 39 #ifndef __STM32L4xx_HAL_NAND_H
mbed_official 610:813dcc80987e 40 #define __STM32L4xx_HAL_NAND_H
mbed_official 610:813dcc80987e 41
mbed_official 610:813dcc80987e 42 #ifdef __cplusplus
mbed_official 610:813dcc80987e 43 extern "C" {
mbed_official 610:813dcc80987e 44 #endif
mbed_official 610:813dcc80987e 45
mbed_official 610:813dcc80987e 46 /* Includes ------------------------------------------------------------------*/
mbed_official 610:813dcc80987e 47 #include "stm32l4xx_ll_fmc.h"
mbed_official 610:813dcc80987e 48
mbed_official 610:813dcc80987e 49 /** @addtogroup STM32L4xx_HAL_Driver
mbed_official 610:813dcc80987e 50 * @{
mbed_official 610:813dcc80987e 51 */
mbed_official 610:813dcc80987e 52
mbed_official 610:813dcc80987e 53 /** @addtogroup NAND
mbed_official 610:813dcc80987e 54 * @{
mbed_official 610:813dcc80987e 55 */
mbed_official 610:813dcc80987e 56
mbed_official 610:813dcc80987e 57 /** @addtogroup NAND_Private_Constants
mbed_official 610:813dcc80987e 58 * @{
mbed_official 610:813dcc80987e 59 */
mbed_official 610:813dcc80987e 60
mbed_official 610:813dcc80987e 61 #define NAND_DEVICE FMC_BANK3
mbed_official 610:813dcc80987e 62 #define NAND_WRITE_TIMEOUT ((uint32_t)1000)
mbed_official 610:813dcc80987e 63
mbed_official 610:813dcc80987e 64 #define CMD_AREA ((uint32_t)(1<<16)) /* A16 = CLE high */
mbed_official 610:813dcc80987e 65 #define ADDR_AREA ((uint32_t)(1<<17)) /* A17 = ALE high */
mbed_official 610:813dcc80987e 66
mbed_official 610:813dcc80987e 67 #define NAND_CMD_AREA_A ((uint8_t)0x00)
mbed_official 610:813dcc80987e 68 #define NAND_CMD_AREA_B ((uint8_t)0x01)
mbed_official 610:813dcc80987e 69 #define NAND_CMD_AREA_C ((uint8_t)0x50)
mbed_official 610:813dcc80987e 70 #define NAND_CMD_AREA_TRUE1 ((uint8_t)0x30)
mbed_official 610:813dcc80987e 71
mbed_official 610:813dcc80987e 72 #define NAND_CMD_WRITE0 ((uint8_t)0x80)
mbed_official 610:813dcc80987e 73 #define NAND_CMD_WRITE_TRUE1 ((uint8_t)0x10)
mbed_official 610:813dcc80987e 74 #define NAND_CMD_ERASE0 ((uint8_t)0x60)
mbed_official 610:813dcc80987e 75 #define NAND_CMD_ERASE1 ((uint8_t)0xD0)
mbed_official 610:813dcc80987e 76 #define NAND_CMD_READID ((uint8_t)0x90)
mbed_official 610:813dcc80987e 77 #define NAND_CMD_STATUS ((uint8_t)0x70)
mbed_official 610:813dcc80987e 78 #define NAND_CMD_LOCK_STATUS ((uint8_t)0x7A)
mbed_official 610:813dcc80987e 79 #define NAND_CMD_RESET ((uint8_t)0xFF)
mbed_official 610:813dcc80987e 80
mbed_official 610:813dcc80987e 81 /* NAND memory status */
mbed_official 610:813dcc80987e 82 #define NAND_VALID_ADDRESS ((uint32_t)0x00000100)
mbed_official 610:813dcc80987e 83 #define NAND_INVALID_ADDRESS ((uint32_t)0x00000200)
mbed_official 610:813dcc80987e 84 #define NAND_TIMEOUT_ERROR ((uint32_t)0x00000400)
mbed_official 610:813dcc80987e 85 #define NAND_BUSY ((uint32_t)0x00000000)
mbed_official 610:813dcc80987e 86 #define NAND_ERROR ((uint32_t)0x00000001)
mbed_official 610:813dcc80987e 87 #define NAND_READY ((uint32_t)0x00000040)
mbed_official 610:813dcc80987e 88
mbed_official 610:813dcc80987e 89 /**
mbed_official 610:813dcc80987e 90 * @}
mbed_official 610:813dcc80987e 91 */
mbed_official 610:813dcc80987e 92
mbed_official 610:813dcc80987e 93 /** @addtogroup NAND_Private_Macros
mbed_official 610:813dcc80987e 94 * @{
mbed_official 610:813dcc80987e 95 */
mbed_official 610:813dcc80987e 96
mbed_official 610:813dcc80987e 97 /**
mbed_official 610:813dcc80987e 98 * @brief NAND memory address computation.
mbed_official 610:813dcc80987e 99 * @param __ADDRESS__: NAND memory address.
mbed_official 610:813dcc80987e 100 * @param __HANDLE__: NAND handle.
mbed_official 610:813dcc80987e 101 * @retval NAND Raw address value
mbed_official 610:813dcc80987e 102 */
mbed_official 610:813dcc80987e 103 #define ARRAY_ADDRESS(__ADDRESS__ , __HANDLE__) (((__ADDRESS__)->Page) + \
mbed_official 610:813dcc80987e 104 (((__ADDRESS__)->Block + (((__ADDRESS__)->Zone) * ((__HANDLE__)->Info.ZoneSize)))* ((__HANDLE__)->Info.BlockSize * ((__HANDLE__)->Info.PageSize + (__HANDLE__)->Info.SpareAreaSize))))
mbed_official 610:813dcc80987e 105
mbed_official 610:813dcc80987e 106 /**
mbed_official 610:813dcc80987e 107 * @brief NAND memory address cycling.
mbed_official 610:813dcc80987e 108 * @param __ADDRESS__: NAND memory address.
mbed_official 610:813dcc80987e 109 * @retval NAND address cycling value.
mbed_official 610:813dcc80987e 110 */
mbed_official 610:813dcc80987e 111 #define ADDR_1ST_CYCLE(__ADDRESS__) (uint8_t)(__ADDRESS__) /* 1st addressing cycle */
mbed_official 610:813dcc80987e 112 #define ADDR_2ND_CYCLE(__ADDRESS__) (uint8_t)((__ADDRESS__) >> 8) /* 2nd addressing cycle */
mbed_official 610:813dcc80987e 113 #define ADDR_3RD_CYCLE(__ADDRESS__) (uint8_t)((__ADDRESS__) >> 16) /* 3rd addressing cycle */
mbed_official 610:813dcc80987e 114 #define ADDR_4TH_CYCLE(__ADDRESS__) (uint8_t)((__ADDRESS__) >> 24) /* 4th addressing cycle */
mbed_official 610:813dcc80987e 115
mbed_official 610:813dcc80987e 116 /**
mbed_official 610:813dcc80987e 117 * @}
mbed_official 610:813dcc80987e 118 */
mbed_official 610:813dcc80987e 119
mbed_official 610:813dcc80987e 120 /* Exported typedef ----------------------------------------------------------*/
mbed_official 610:813dcc80987e 121 /* Exported types ------------------------------------------------------------*/
mbed_official 610:813dcc80987e 122 /** @defgroup NAND_Exported_Types NAND Exported Types
mbed_official 610:813dcc80987e 123 * @{
mbed_official 610:813dcc80987e 124 */
mbed_official 610:813dcc80987e 125
mbed_official 610:813dcc80987e 126 /**
mbed_official 610:813dcc80987e 127 * @brief HAL NAND State structures definition
mbed_official 610:813dcc80987e 128 */
mbed_official 610:813dcc80987e 129 typedef enum
mbed_official 610:813dcc80987e 130 {
mbed_official 610:813dcc80987e 131 HAL_NAND_STATE_RESET = 0x00, /*!< NAND not yet initialized or disabled */
mbed_official 610:813dcc80987e 132 HAL_NAND_STATE_READY = 0x01, /*!< NAND initialized and ready for use */
mbed_official 610:813dcc80987e 133 HAL_NAND_STATE_BUSY = 0x02, /*!< NAND internal process is ongoing */
mbed_official 610:813dcc80987e 134 HAL_NAND_STATE_ERROR = 0x03 /*!< NAND error state */
mbed_official 610:813dcc80987e 135 }HAL_NAND_StateTypeDef;
mbed_official 610:813dcc80987e 136
mbed_official 610:813dcc80987e 137 /**
mbed_official 610:813dcc80987e 138 * @brief NAND Memory electronic signature Structure definition
mbed_official 610:813dcc80987e 139 */
mbed_official 610:813dcc80987e 140 typedef struct
mbed_official 610:813dcc80987e 141 {
mbed_official 610:813dcc80987e 142 /*<! NAND memory electronic signature maker and device IDs */
mbed_official 610:813dcc80987e 143
mbed_official 610:813dcc80987e 144 uint8_t Maker_Id;
mbed_official 610:813dcc80987e 145
mbed_official 610:813dcc80987e 146 uint8_t Device_Id;
mbed_official 610:813dcc80987e 147
mbed_official 610:813dcc80987e 148 uint8_t Third_Id;
mbed_official 610:813dcc80987e 149
mbed_official 610:813dcc80987e 150 uint8_t Fourth_Id;
mbed_official 610:813dcc80987e 151 }NAND_IDTypeDef;
mbed_official 610:813dcc80987e 152
mbed_official 610:813dcc80987e 153 /**
mbed_official 610:813dcc80987e 154 * @brief NAND Memory address Structure definition
mbed_official 610:813dcc80987e 155 */
mbed_official 610:813dcc80987e 156 typedef struct
mbed_official 610:813dcc80987e 157 {
mbed_official 610:813dcc80987e 158 uint16_t Page; /*!< NAND memory Page address */
mbed_official 610:813dcc80987e 159
mbed_official 610:813dcc80987e 160 uint16_t Zone; /*!< NAND memory Zone address */
mbed_official 610:813dcc80987e 161
mbed_official 610:813dcc80987e 162 uint16_t Block; /*!< NAND memory Block address */
mbed_official 610:813dcc80987e 163
mbed_official 610:813dcc80987e 164 }NAND_AddressTypeDef;
mbed_official 610:813dcc80987e 165
mbed_official 610:813dcc80987e 166 /**
mbed_official 610:813dcc80987e 167 * @brief NAND Memory info Structure definition
mbed_official 610:813dcc80987e 168 */
mbed_official 610:813dcc80987e 169 typedef struct
mbed_official 610:813dcc80987e 170 {
mbed_official 610:813dcc80987e 171 uint32_t PageSize; /*!< NAND memory page (without spare area) size measured in K. bytes */
mbed_official 610:813dcc80987e 172
mbed_official 610:813dcc80987e 173 uint32_t SpareAreaSize; /*!< NAND memory spare area size measured in K. bytes */
mbed_official 610:813dcc80987e 174
mbed_official 610:813dcc80987e 175 uint32_t BlockSize; /*!< NAND memory block size number of pages */
mbed_official 610:813dcc80987e 176
mbed_official 610:813dcc80987e 177 uint32_t BlockNbr; /*!< NAND memory number of blocks */
mbed_official 610:813dcc80987e 178
mbed_official 610:813dcc80987e 179 uint32_t ZoneSize; /*!< NAND memory zone size measured in number of blocks */
mbed_official 610:813dcc80987e 180 }NAND_InfoTypeDef;
mbed_official 610:813dcc80987e 181
mbed_official 610:813dcc80987e 182 /**
mbed_official 610:813dcc80987e 183 * @brief NAND handle Structure definition
mbed_official 610:813dcc80987e 184 */
mbed_official 610:813dcc80987e 185 typedef struct
mbed_official 610:813dcc80987e 186 {
mbed_official 610:813dcc80987e 187 FMC_NAND_TypeDef *Instance; /*!< Register base address */
mbed_official 610:813dcc80987e 188
mbed_official 610:813dcc80987e 189 FMC_NAND_InitTypeDef Init; /*!< NAND device control configuration parameters */
mbed_official 610:813dcc80987e 190
mbed_official 610:813dcc80987e 191 HAL_LockTypeDef Lock; /*!< NAND locking object */
mbed_official 610:813dcc80987e 192
mbed_official 610:813dcc80987e 193 __IO HAL_NAND_StateTypeDef State; /*!< NAND device access state */
mbed_official 610:813dcc80987e 194
mbed_official 610:813dcc80987e 195 NAND_InfoTypeDef Info; /*!< NAND characteristic information structure */
mbed_official 610:813dcc80987e 196 }NAND_HandleTypeDef;
mbed_official 610:813dcc80987e 197
mbed_official 610:813dcc80987e 198 /**
mbed_official 610:813dcc80987e 199 * @}
mbed_official 610:813dcc80987e 200 */
mbed_official 610:813dcc80987e 201
mbed_official 610:813dcc80987e 202 /* Exported constants --------------------------------------------------------*/
mbed_official 610:813dcc80987e 203 /* Exported macro ------------------------------------------------------------*/
mbed_official 610:813dcc80987e 204 /** @defgroup NAND_Exported_Macros NAND Exported Macros
mbed_official 610:813dcc80987e 205 * @{
mbed_official 610:813dcc80987e 206 */
mbed_official 610:813dcc80987e 207
mbed_official 610:813dcc80987e 208 /** @brief Reset NAND handle state.
mbed_official 610:813dcc80987e 209 * @param __HANDLE__: specifies the NAND handle.
mbed_official 610:813dcc80987e 210 * @retval None
mbed_official 610:813dcc80987e 211 */
mbed_official 610:813dcc80987e 212 #define __HAL_NAND_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_NAND_STATE_RESET)
mbed_official 610:813dcc80987e 213
mbed_official 610:813dcc80987e 214 /**
mbed_official 610:813dcc80987e 215 * @}
mbed_official 610:813dcc80987e 216 */
mbed_official 610:813dcc80987e 217
mbed_official 610:813dcc80987e 218 /* Exported functions --------------------------------------------------------*/
mbed_official 610:813dcc80987e 219 /** @addtogroup NAND_Exported_Functions NAND Exported Functions
mbed_official 610:813dcc80987e 220 * @{
mbed_official 610:813dcc80987e 221 */
mbed_official 610:813dcc80987e 222
mbed_official 610:813dcc80987e 223 /** @addtogroup NAND_Exported_Functions_Group1 Initialization and de-initialization functions
mbed_official 610:813dcc80987e 224 * @{
mbed_official 610:813dcc80987e 225 */
mbed_official 610:813dcc80987e 226
mbed_official 610:813dcc80987e 227 /* Initialization/de-initialization functions ********************************/
mbed_official 610:813dcc80987e 228 HAL_StatusTypeDef HAL_NAND_Init(NAND_HandleTypeDef *hnand, FMC_NAND_PCC_TimingTypeDef *ComSpace_Timing, FMC_NAND_PCC_TimingTypeDef *AttSpace_Timing);
mbed_official 610:813dcc80987e 229 HAL_StatusTypeDef HAL_NAND_DeInit(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 230 void HAL_NAND_MspInit(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 231 void HAL_NAND_MspDeInit(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 232 void HAL_NAND_IRQHandler(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 233 void HAL_NAND_ITCallback(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 234
mbed_official 610:813dcc80987e 235 /**
mbed_official 610:813dcc80987e 236 * @}
mbed_official 610:813dcc80987e 237 */
mbed_official 610:813dcc80987e 238
mbed_official 610:813dcc80987e 239 /** @addtogroup NAND_Exported_Functions_Group2 Input and Output functions
mbed_official 610:813dcc80987e 240 * @{
mbed_official 610:813dcc80987e 241 */
mbed_official 610:813dcc80987e 242
mbed_official 610:813dcc80987e 243 /* IO operation functions ****************************************************/
mbed_official 610:813dcc80987e 244 HAL_StatusTypeDef HAL_NAND_Read_ID(NAND_HandleTypeDef *hnand, NAND_IDTypeDef *pNAND_ID);
mbed_official 610:813dcc80987e 245 HAL_StatusTypeDef HAL_NAND_Reset(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 246 HAL_StatusTypeDef HAL_NAND_Read_Page(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumPageToRead);
mbed_official 610:813dcc80987e 247 HAL_StatusTypeDef HAL_NAND_Write_Page(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumPageToWrite);
mbed_official 610:813dcc80987e 248 HAL_StatusTypeDef HAL_NAND_Read_SpareArea(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaToRead);
mbed_official 610:813dcc80987e 249 HAL_StatusTypeDef HAL_NAND_Write_SpareArea(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaTowrite);
mbed_official 610:813dcc80987e 250 HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress);
mbed_official 610:813dcc80987e 251 uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 252 uint32_t HAL_NAND_Address_Inc(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress);
mbed_official 610:813dcc80987e 253
mbed_official 610:813dcc80987e 254 /**
mbed_official 610:813dcc80987e 255 * @}
mbed_official 610:813dcc80987e 256 */
mbed_official 610:813dcc80987e 257
mbed_official 610:813dcc80987e 258 /** @addtogroup NAND_Exported_Functions_Group3 Peripheral Control functions
mbed_official 610:813dcc80987e 259 * @{
mbed_official 610:813dcc80987e 260 */
mbed_official 610:813dcc80987e 261
mbed_official 610:813dcc80987e 262 /* NAND Control functions ****************************************************/
mbed_official 610:813dcc80987e 263 HAL_StatusTypeDef HAL_NAND_ECC_Enable(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 264 HAL_StatusTypeDef HAL_NAND_ECC_Disable(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 265 HAL_StatusTypeDef HAL_NAND_GetECC(NAND_HandleTypeDef *hnand, uint32_t *ECCval, uint32_t Timeout);
mbed_official 610:813dcc80987e 266
mbed_official 610:813dcc80987e 267 /**
mbed_official 610:813dcc80987e 268 * @}
mbed_official 610:813dcc80987e 269 */
mbed_official 610:813dcc80987e 270
mbed_official 610:813dcc80987e 271 /** @addtogroup NAND_Exported_Functions_Group4 Peripheral State functions
mbed_official 610:813dcc80987e 272 * @{
mbed_official 610:813dcc80987e 273 */
mbed_official 610:813dcc80987e 274
mbed_official 610:813dcc80987e 275 /* NAND State functions *******************************************************/
mbed_official 610:813dcc80987e 276 HAL_NAND_StateTypeDef HAL_NAND_GetState(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 277 uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand);
mbed_official 610:813dcc80987e 278
mbed_official 610:813dcc80987e 279 /**
mbed_official 610:813dcc80987e 280 * @}
mbed_official 610:813dcc80987e 281 */
mbed_official 610:813dcc80987e 282
mbed_official 610:813dcc80987e 283 /**
mbed_official 610:813dcc80987e 284 * @}
mbed_official 610:813dcc80987e 285 */
mbed_official 610:813dcc80987e 286
mbed_official 610:813dcc80987e 287 /**
mbed_official 610:813dcc80987e 288 * @}
mbed_official 610:813dcc80987e 289 */
mbed_official 610:813dcc80987e 290
mbed_official 610:813dcc80987e 291 /**
mbed_official 610:813dcc80987e 292 * @}
mbed_official 610:813dcc80987e 293 */
mbed_official 610:813dcc80987e 294
mbed_official 610:813dcc80987e 295 #ifdef __cplusplus
mbed_official 610:813dcc80987e 296 }
mbed_official 610:813dcc80987e 297 #endif
mbed_official 610:813dcc80987e 298
mbed_official 610:813dcc80987e 299 #endif /* __STM32L4xx_HAL_NAND_H */
mbed_official 610:813dcc80987e 300
mbed_official 610:813dcc80987e 301 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/