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_crc.c |
3 | * @file stm32f1xx_hal_crc.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 CRC HAL module driver. |
7 | * @brief CRC 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 Cyclic Redundancy Check (CRC) peripheral: |
9 | * functionalities of the Cyclic Redundancy Check (CRC) peripheral: |
10 | * + Initialization and de-initialization functions |
10 | * + Initialization and de-initialization functions |
11 | * + Peripheral Control functions |
11 | * + Peripheral Control functions |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | @endverbatim |
31 | @endverbatim |
32 | ****************************************************************************** |
32 | ****************************************************************************** |
33 | * @attention |
33 | * @attention |
34 | * |
34 | * |
35 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
35 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
36 | * |
36 | * |
37 | * Redistribution and use in source and binary forms, with or without modification, |
37 | * Redistribution and use in source and binary forms, with or without modification, |
38 | * are permitted provided that the following conditions are met: |
38 | * are permitted provided that the following conditions are met: |
39 | * 1. Redistributions of source code must retain the above copyright notice, |
39 | * 1. Redistributions of source code must retain the above copyright notice, |
40 | * this list of conditions and the following disclaimer. |
40 | * this list of conditions and the following disclaimer. |
Line 178... | Line 178... | ||
178 | * the configuration information for CRC |
178 | * the configuration information for CRC |
179 | * @retval None |
179 | * @retval None |
180 | */ |
180 | */ |
181 | __weak void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc) |
181 | __weak void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc) |
182 | { |
182 | { |
- | 183 | /* Prevent unused argument(s) compilation warning */ |
|
- | 184 | UNUSED(hcrc); |
|
183 | /* NOTE : This function Should not be modified, when the callback is needed, |
185 | /* NOTE : This function Should not be modified, when the callback is needed, |
184 | the HAL_CRC_MspInit could be implemented in the user file |
186 | the HAL_CRC_MspInit could be implemented in the user file |
185 | */ |
187 | */ |
186 | } |
188 | } |
187 | 189 | ||
Line 191... | Line 193... | ||
191 | * the configuration information for CRC |
193 | * the configuration information for CRC |
192 | * @retval None |
194 | * @retval None |
193 | */ |
195 | */ |
194 | __weak void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) |
196 | __weak void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) |
195 | { |
197 | { |
- | 198 | /* Prevent unused argument(s) compilation warning */ |
|
- | 199 | UNUSED(hcrc); |
|
196 | /* NOTE : This function Should not be modified, when the callback is needed, |
200 | /* NOTE : This function Should not be modified, when the callback is needed, |
197 | the HAL_CRC_MspDeInit could be implemented in the user file |
201 | the HAL_CRC_MspDeInit could be implemented in the user file |
198 | */ |
202 | */ |
199 | } |
203 | } |
200 | 204 |