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_wwdg.c |
3 | * @file stm32f1xx_hal_wwdg.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 WWDG HAL module driver. |
7 | * @brief WWDG HAL module driver. |
| 8 | * This file provides firmware functions to manage the following |
8 | * This file provides firmware functions to manage the following |
| 9 | * functionalities of the Window Watchdog (WWDG) peripheral: |
9 | * functionalities of the Window Watchdog (WWDG) peripheral: |
| 10 | * + Initialization and de-initialization functions |
10 | * + Initialization and de-initialization functions |
| 11 | * + IO operation functions |
11 | * + IO operation functions |
| Line 69... | Line 69... | ||
| 69 | 69 | ||
| 70 | @endverbatim |
70 | @endverbatim |
| 71 | ****************************************************************************** |
71 | ****************************************************************************** |
| 72 | * @attention |
72 | * @attention |
| 73 | * |
73 | * |
| 74 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
74 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
| 75 | * |
75 | * |
| 76 | * Redistribution and use in source and binary forms, with or without modification, |
76 | * Redistribution and use in source and binary forms, with or without modification, |
| 77 | * are permitted provided that the following conditions are met: |
77 | * are permitted provided that the following conditions are met: |
| 78 | * 1. Redistributions of source code must retain the above copyright notice, |
78 | * 1. Redistributions of source code must retain the above copyright notice, |
| 79 | * this list of conditions and the following disclaimer. |
79 | * this list of conditions and the following disclaimer. |
| Line 236... | Line 236... | ||
| 236 | * the configuration information for the specified WWDG module. |
236 | * the configuration information for the specified WWDG module. |
| 237 | * @retval None |
237 | * @retval None |
| 238 | */ |
238 | */ |
| 239 | __weak void HAL_WWDG_MspInit(WWDG_HandleTypeDef *hwwdg) |
239 | __weak void HAL_WWDG_MspInit(WWDG_HandleTypeDef *hwwdg) |
| 240 | { |
240 | { |
| - | 241 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 242 | UNUSED(hwwdg); |
|
| 241 | /* NOTE: This function Should not be modified, when the callback is needed, |
243 | /* NOTE: This function Should not be modified, when the callback is needed, |
| 242 | the HAL_WWDG_MspInit could be implemented in the user file |
244 | the HAL_WWDG_MspInit could be implemented in the user file |
| 243 | */ |
245 | */ |
| 244 | } |
246 | } |
| 245 | 247 | ||
| Line 249... | Line 251... | ||
| 249 | * the configuration information for the specified WWDG module. |
251 | * the configuration information for the specified WWDG module. |
| 250 | * @retval None |
252 | * @retval None |
| 251 | */ |
253 | */ |
| 252 | __weak void HAL_WWDG_MspDeInit(WWDG_HandleTypeDef *hwwdg) |
254 | __weak void HAL_WWDG_MspDeInit(WWDG_HandleTypeDef *hwwdg) |
| 253 | { |
255 | { |
| - | 256 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 257 | UNUSED(hwwdg); |
|
| 254 | /* NOTE: This function Should not be modified, when the callback is needed, |
258 | /* NOTE: This function Should not be modified, when the callback is needed, |
| 255 | the HAL_WWDG_MspDeInit could be implemented in the user file |
259 | the HAL_WWDG_MspDeInit could be implemented in the user file |
| 256 | */ |
260 | */ |
| 257 | } |
261 | } |
| 258 | 262 | ||
| Line 401... | Line 405... | ||
| 401 | * the configuration information for the specified WWDG module. |
405 | * the configuration information for the specified WWDG module. |
| 402 | * @retval None |
406 | * @retval None |
| 403 | */ |
407 | */ |
| 404 | __weak void HAL_WWDG_WakeupCallback(WWDG_HandleTypeDef* hwwdg) |
408 | __weak void HAL_WWDG_WakeupCallback(WWDG_HandleTypeDef* hwwdg) |
| 405 | { |
409 | { |
| - | 410 | /* Prevent unused argument(s) compilation warning */ |
|
| - | 411 | UNUSED(hwwdg); |
|
| 406 | /* NOTE: This function Should not be modified, when the callback is needed, |
412 | /* NOTE: This function Should not be modified, when the callback is needed, |
| 407 | the HAL_WWDG_WakeupCallback could be implemented in the user file |
413 | the HAL_WWDG_WakeupCallback could be implemented in the user file |
| 408 | */ |
414 | */ |
| 409 | } |
415 | } |
| 410 | 416 | ||