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_nor.c |
3 | * @file stm32f1xx_hal_nor.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 NOR HAL module driver. |
7 | * @brief NOR HAL module driver. |
| 8 | * This file provides a generic firmware to drive NOR memories mounted |
8 | * This file provides a generic firmware to drive NOR 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 260... | Line 260... | ||
| 260 | * the configuration information for NOR module. |
260 | * the configuration information for NOR module. |
| 261 | * @retval None |
261 | * @retval None |
| 262 | */ |
262 | */ |
| 263 | __weak void HAL_NOR_MspInit(NOR_HandleTypeDef *hnor) |
263 | __weak void HAL_NOR_MspInit(NOR_HandleTypeDef *hnor) |
| 264 | { |
264 | { |
| - | 265 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 266 | UNUSED(hnor); |
|
| 265 | /* NOTE : This function Should not be modified, when the callback is needed, |
267 | /* NOTE : This function Should not be modified, when the callback is needed, |
| 266 | the HAL_NOR_MspInit could be implemented in the user file |
268 | the HAL_NOR_MspInit could be implemented in the user file |
| 267 | */ |
269 | */ |
| 268 | } |
270 | } |
| 269 | 271 | ||
| Line 273... | Line 275... | ||
| 273 | * the configuration information for NOR module. |
275 | * the configuration information for NOR module. |
| 274 | * @retval None |
276 | * @retval None |
| 275 | */ |
277 | */ |
| 276 | __weak void HAL_NOR_MspDeInit(NOR_HandleTypeDef *hnor) |
278 | __weak void HAL_NOR_MspDeInit(NOR_HandleTypeDef *hnor) |
| 277 | { |
279 | { |
| - | 280 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 281 | UNUSED(hnor); |
|
| 278 | /* NOTE : This function Should not be modified, when the callback is needed, |
282 | /* NOTE : This function Should not be modified, when the callback is needed, |
| 279 | the HAL_NOR_MspDeInit could be implemented in the user file |
283 | the HAL_NOR_MspDeInit could be implemented in the user file |
| 280 | */ |
284 | */ |
| 281 | } |
285 | } |
| 282 | 286 | ||
| Line 287... | Line 291... | ||
| 287 | * @param Timeout: Maximum timeout value |
291 | * @param Timeout: Maximum timeout value |
| 288 | * @retval None |
292 | * @retval None |
| 289 | */ |
293 | */ |
| 290 | __weak void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout) |
294 | __weak void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout) |
| 291 | { |
295 | { |
| - | 296 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 297 | UNUSED(hnor); |
|
| 292 | /* NOTE : This function Should not be modified, when the callback is needed, |
298 | /* NOTE : This function Should not be modified, when the callback is needed, |
| 293 | the HAL_NOR_MspWait could be implemented in the user file |
299 | the HAL_NOR_MspWait could be implemented in the user file |
| 294 | */ |
300 | */ |
| 295 | } |
301 | } |
| 296 | 302 | ||