Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 5 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file stm32f1xx_hal_nand.c |
3 | * @file stm32f1xx_hal_nand.c |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @version V1.0.1 |
5 | * @version V1.0.4 |
6 | * @date 31-July-2015 |
6 | * @date 29-April-2016 |
7 | * @brief NAND HAL module driver. |
7 | * @brief NAND HAL module driver. |
8 | * This file provides a generic firmware to drive NAND memories mounted |
8 | * This file provides a generic firmware to drive NAND memories mounted |
9 | * as external device. |
9 | * as external device. |
10 | * |
10 | * |
11 | @verbatim |
11 | @verbatim |
Line 53... | Line 53... | ||
53 | 53 | ||
54 | @endverbatim |
54 | @endverbatim |
55 | ****************************************************************************** |
55 | ****************************************************************************** |
56 | * @attention |
56 | * @attention |
57 | * |
57 | * |
58 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
58 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
59 | * |
59 | * |
60 | * Redistribution and use in source and binary forms, with or without modification, |
60 | * Redistribution and use in source and binary forms, with or without modification, |
61 | * are permitted provided that the following conditions are met: |
61 | * are permitted provided that the following conditions are met: |
62 | * 1. Redistributions of source code must retain the above copyright notice, |
62 | * 1. Redistributions of source code must retain the above copyright notice, |
63 | * this list of conditions and the following disclaimer. |
63 | * this list of conditions and the following disclaimer. |
Line 220... | Line 220... | ||
220 | * the configuration information for NAND module. |
220 | * the configuration information for NAND module. |
221 | * @retval None |
221 | * @retval None |
222 | */ |
222 | */ |
223 | __weak void HAL_NAND_MspInit(NAND_HandleTypeDef *hnand) |
223 | __weak void HAL_NAND_MspInit(NAND_HandleTypeDef *hnand) |
224 | { |
224 | { |
- | 225 | /* Prevent unused argument(s) compilation warning */ |
|
- | 226 | UNUSED(hnand); |
|
225 | /* NOTE : This function Should not be modified, when the callback is needed, |
227 | /* NOTE : This function Should not be modified, when the callback is needed, |
226 | the HAL_NAND_MspInit could be implemented in the user file |
228 | the HAL_NAND_MspInit could be implemented in the user file |
227 | */ |
229 | */ |
228 | } |
230 | } |
229 | 231 | ||
Line 233... | Line 235... | ||
233 | * the configuration information for NAND module. |
235 | * the configuration information for NAND module. |
234 | * @retval None |
236 | * @retval None |
235 | */ |
237 | */ |
236 | __weak void HAL_NAND_MspDeInit(NAND_HandleTypeDef *hnand) |
238 | __weak void HAL_NAND_MspDeInit(NAND_HandleTypeDef *hnand) |
237 | { |
239 | { |
- | 240 | /* Prevent unused argument(s) compilation warning */ |
|
- | 241 | UNUSED(hnand); |
|
238 | /* NOTE : This function Should not be modified, when the callback is needed, |
242 | /* NOTE : This function Should not be modified, when the callback is needed, |
239 | the HAL_NAND_MspDeInit could be implemented in the user file |
243 | the HAL_NAND_MspDeInit could be implemented in the user file |
240 | */ |
244 | */ |
241 | } |
245 | } |
242 | 246 | ||
Line 297... | Line 301... | ||
297 | * the configuration information for NAND module. |
301 | * the configuration information for NAND module. |
298 | * @retval None |
302 | * @retval None |
299 | */ |
303 | */ |
300 | __weak void HAL_NAND_ITCallback(NAND_HandleTypeDef *hnand) |
304 | __weak void HAL_NAND_ITCallback(NAND_HandleTypeDef *hnand) |
301 | { |
305 | { |
- | 306 | /* Prevent unused argument(s) compilation warning */ |
|
- | 307 | UNUSED(hnand); |
|
302 | /* NOTE : This function Should not be modified, when the callback is needed, |
308 | /* NOTE : This function Should not be modified, when the callback is needed, |
303 | the HAL_NAND_ITCallback could be implemented in the user file |
309 | the HAL_NAND_ITCallback could be implemented in the user file |
304 | */ |
310 | */ |
305 | } |
311 | } |
306 | 312 |