Rev 61 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 61 | Rev 77 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file stm32l1xx_hal_crc.c |
3 | * @file stm32l1xx_hal_crc.c |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @brief CRC HAL module driver. |
5 | * @brief CRC HAL module driver. |
6 | * This file provides firmware functions to manage the following |
6 | * This file provides firmware functions to manage the following |
7 | * functionalities of the Cyclic Redundancy Check (CRC) peripheral: |
7 | * functionalities of the Cyclic Redundancy Check (CRC) peripheral: |
8 | * + Initialization and de-initialization functions |
8 | * + Initialization and de-initialization functions |
9 | * + Peripheral Control functions |
9 | * + Peripheral Control functions |
10 | * + Peripheral State functions |
10 | * + Peripheral State functions |
11 | * |
11 | * |
12 | @verbatim |
12 | ****************************************************************************** |
13 | =============================================================================== |
13 | * @attention |
14 | ##### How to use this driver ##### |
14 | * |
15 | =============================================================================== |
15 | * Copyright (c) 2017 STMicroelectronics. |
16 | [..] |
16 | * All rights reserved. |
17 | (+) Enable CRC AHB clock using __HAL_RCC_CRC_CLK_ENABLE(); |
17 | * |
18 | (+) Initialize CRC calculator |
18 | * This software is licensed under terms that can be found in the LICENSE file |
19 | (++) specify generating polynomial (peripheral default or non-default one) |
19 | * in the root directory of this software component. |
20 | (++) specify initialization value (peripheral default or non-default one) |
20 | * If no LICENSE file comes with this software, it is provided AS-IS. |
21 | (++) specify input data format |
21 | * |
22 | (++) specify input or output data inversion mode if any |
22 | ****************************************************************************** |
23 | (+) Use HAL_CRC_Accumulate() function to compute the CRC value of the |
23 | @verbatim |
24 | input data buffer starting with the previously computed CRC as |
24 | =============================================================================== |
25 | initialization value |
25 | ##### How to use this driver ##### |
26 | (+) Use HAL_CRC_Calculate() function to compute the CRC value of the |
26 | =============================================================================== |
27 | input data buffer starting with the defined initialization value |
27 | [..] |
28 | (default or non-default) to initiate CRC calculation |
28 | (+) Enable CRC AHB clock using __HAL_RCC_CRC_CLK_ENABLE(); |
29 | 29 | (+) Initialize CRC calculator |
|
30 | @endverbatim |
30 | (++) specify generating polynomial (peripheral default or non-default one) |
31 | ****************************************************************************** |
31 | (++) specify initialization value (peripheral default or non-default one) |
32 | * @attention |
32 | (++) specify input data format |
33 | * |
33 | (++) specify input or output data inversion mode if any |
34 | * <h2><center>© Copyright (c) 2017 STMicroelectronics. |
34 | (+) Use HAL_CRC_Accumulate() function to compute the CRC value of the |
35 | * All rights reserved.</center></h2> |
35 | input data buffer starting with the previously computed CRC as |
36 | * |
36 | initialization value |
37 | * This software component is licensed by ST under BSD 3-Clause license, |
37 | (+) Use HAL_CRC_Calculate() function to compute the CRC value of the |
38 | * the "License"; You may not use this file except in compliance with the |
38 | input data buffer starting with the defined initialization value |
39 | * License. You may obtain a copy of the License at: |
39 | (default or non-default) to initiate CRC calculation |
40 | * opensource.org/licenses/BSD-3-Clause |
40 | |
41 | * |
41 | @endverbatim |
42 | ****************************************************************************** |
42 | ****************************************************************************** |
43 | */ |
43 | */ |
44 | 44 | ||
45 | /* Includes ------------------------------------------------------------------*/ |
45 | /* Includes ------------------------------------------------------------------*/ |
46 | #include "stm32l1xx_hal.h" |
46 | #include "stm32l1xx_hal.h" |
47 | 47 | ||
48 | /** @addtogroup STM32L1xx_HAL_Driver |
48 | /** @addtogroup STM32L1xx_HAL_Driver |
49 | * @{ |
49 | * @{ |
50 | */ |
50 | */ |
51 | 51 | ||
52 | /** @defgroup CRC CRC |
52 | /** @defgroup CRC CRC |
53 | * @brief CRC HAL module driver. |
53 | * @brief CRC HAL module driver. |
54 | * @{ |
54 | * @{ |
55 | */ |
55 | */ |
56 | 56 | ||
57 | #ifdef HAL_CRC_MODULE_ENABLED |
57 | #ifdef HAL_CRC_MODULE_ENABLED |
58 | 58 | ||
59 | /* Private typedef -----------------------------------------------------------*/ |
59 | /* Private typedef -----------------------------------------------------------*/ |
60 | /* Private define ------------------------------------------------------------*/ |
60 | /* Private define ------------------------------------------------------------*/ |
61 | /* Private macro -------------------------------------------------------------*/ |
61 | /* Private macro -------------------------------------------------------------*/ |
62 | /* Private variables ---------------------------------------------------------*/ |
62 | /* Private variables ---------------------------------------------------------*/ |
63 | /* Private function prototypes -----------------------------------------------*/ |
63 | /* Private function prototypes -----------------------------------------------*/ |
64 | 64 | ||
65 | /* Exported functions --------------------------------------------------------*/ |
65 | /* Exported functions --------------------------------------------------------*/ |
66 | 66 | ||
67 | /** @defgroup CRC_Exported_Functions CRC Exported Functions |
67 | /** @defgroup CRC_Exported_Functions CRC Exported Functions |
68 | * @{ |
68 | * @{ |
69 | */ |
69 | */ |
70 | 70 | ||
71 | /** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions |
71 | /** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions |
72 | * @brief Initialization and Configuration functions. |
72 | * @brief Initialization and Configuration functions. |
73 | * |
73 | * |
74 | @verbatim |
74 | @verbatim |
75 | =============================================================================== |
75 | =============================================================================== |
76 | ##### Initialization and de-initialization functions ##### |
76 | ##### Initialization and de-initialization functions ##### |
77 | =============================================================================== |
77 | =============================================================================== |
78 | [..] This section provides functions allowing to: |
78 | [..] This section provides functions allowing to: |
79 | (+) Initialize the CRC according to the specified parameters |
79 | (+) Initialize the CRC according to the specified parameters |
80 | in the CRC_InitTypeDef and create the associated handle |
80 | in the CRC_InitTypeDef and create the associated handle |
81 | (+) DeInitialize the CRC peripheral |
81 | (+) DeInitialize the CRC peripheral |
82 | (+) Initialize the CRC MSP (MCU Specific Package) |
82 | (+) Initialize the CRC MSP (MCU Specific Package) |
83 | (+) DeInitialize the CRC MSP |
83 | (+) DeInitialize the CRC MSP |
84 | 84 | ||
85 | @endverbatim |
85 | @endverbatim |
86 | * @{ |
86 | * @{ |
87 | */ |
87 | */ |
88 | 88 | ||
89 | /** |
89 | /** |
90 | * @brief Initialize the CRC according to the specified |
90 | * @brief Initialize the CRC according to the specified |
91 | * parameters in the CRC_InitTypeDef and create the associated handle. |
91 | * parameters in the CRC_InitTypeDef and create the associated handle. |
92 | * @param hcrc CRC handle |
92 | * @param hcrc CRC handle |
93 | * @retval HAL status |
93 | * @retval HAL status |
94 | */ |
94 | */ |
95 | HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc) |
95 | HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc) |
96 | { |
96 | { |
97 | /* Check the CRC handle allocation */ |
97 | /* Check the CRC handle allocation */ |
98 | if (hcrc == NULL) |
98 | if (hcrc == NULL) |
99 | { |
99 | { |
100 | return HAL_ERROR; |
100 | return HAL_ERROR; |
101 | } |
101 | } |
102 | 102 | ||
103 | /* Check the parameters */ |
103 | /* Check the parameters */ |
104 | assert_param(IS_CRC_ALL_INSTANCE(hcrc->Instance)); |
104 | assert_param(IS_CRC_ALL_INSTANCE(hcrc->Instance)); |
105 | 105 | ||
106 | if (hcrc->State == HAL_CRC_STATE_RESET) |
106 | if (hcrc->State == HAL_CRC_STATE_RESET) |
107 | { |
107 | { |
108 | /* Allocate lock resource and initialize it */ |
108 | /* Allocate lock resource and initialize it */ |
109 | hcrc->Lock = HAL_UNLOCKED; |
109 | hcrc->Lock = HAL_UNLOCKED; |
110 | /* Init the low level hardware */ |
110 | /* Init the low level hardware */ |
111 | HAL_CRC_MspInit(hcrc); |
111 | HAL_CRC_MspInit(hcrc); |
112 | } |
112 | } |
113 | 113 | ||
114 | /* Change CRC peripheral state */ |
114 | /* Change CRC peripheral state */ |
115 | hcrc->State = HAL_CRC_STATE_READY; |
115 | hcrc->State = HAL_CRC_STATE_READY; |
116 | 116 | ||
117 | /* Return function status */ |
117 | /* Return function status */ |
118 | return HAL_OK; |
118 | return HAL_OK; |
119 | } |
119 | } |
120 | 120 | ||
121 | /** |
121 | /** |
122 | * @brief DeInitialize the CRC peripheral. |
122 | * @brief DeInitialize the CRC peripheral. |
123 | * @param hcrc CRC handle |
123 | * @param hcrc CRC handle |
124 | * @retval HAL status |
124 | * @retval HAL status |
125 | */ |
125 | */ |
126 | HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc) |
126 | HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc) |
127 | { |
127 | { |
128 | /* Check the CRC handle allocation */ |
128 | /* Check the CRC handle allocation */ |
129 | if (hcrc == NULL) |
129 | if (hcrc == NULL) |
130 | { |
130 | { |
131 | return HAL_ERROR; |
131 | return HAL_ERROR; |
132 | } |
132 | } |
133 | 133 | ||
134 | /* Check the parameters */ |
134 | /* Check the parameters */ |
135 | assert_param(IS_CRC_ALL_INSTANCE(hcrc->Instance)); |
135 | assert_param(IS_CRC_ALL_INSTANCE(hcrc->Instance)); |
136 | 136 | ||
137 | /* Check the CRC peripheral state */ |
137 | /* Check the CRC peripheral state */ |
138 | if (hcrc->State == HAL_CRC_STATE_BUSY) |
138 | if (hcrc->State == HAL_CRC_STATE_BUSY) |
139 | { |
139 | { |
140 | return HAL_BUSY; |
140 | return HAL_BUSY; |
141 | } |
141 | } |
142 | 142 | ||
143 | /* Change CRC peripheral state */ |
143 | /* Change CRC peripheral state */ |
144 | hcrc->State = HAL_CRC_STATE_BUSY; |
144 | hcrc->State = HAL_CRC_STATE_BUSY; |
145 | 145 | ||
146 | /* Reset CRC calculation unit */ |
146 | /* Reset CRC calculation unit */ |
147 | __HAL_CRC_DR_RESET(hcrc); |
147 | __HAL_CRC_DR_RESET(hcrc); |
148 | 148 | ||
149 | /* Reset IDR register content */ |
149 | /* Reset IDR register content */ |
150 | CLEAR_BIT(hcrc->Instance->IDR, CRC_IDR_IDR); |
150 | __HAL_CRC_SET_IDR(hcrc, 0); |
151 | 151 | ||
152 | /* DeInit the low level hardware */ |
152 | /* DeInit the low level hardware */ |
153 | HAL_CRC_MspDeInit(hcrc); |
153 | HAL_CRC_MspDeInit(hcrc); |
154 | 154 | ||
155 | /* Change CRC peripheral state */ |
155 | /* Change CRC peripheral state */ |
156 | hcrc->State = HAL_CRC_STATE_RESET; |
156 | hcrc->State = HAL_CRC_STATE_RESET; |
157 | 157 | ||
158 | /* Process unlocked */ |
158 | /* Process unlocked */ |
159 | __HAL_UNLOCK(hcrc); |
159 | __HAL_UNLOCK(hcrc); |
160 | 160 | ||
161 | /* Return function status */ |
161 | /* Return function status */ |
162 | return HAL_OK; |
162 | return HAL_OK; |
163 | } |
163 | } |
164 | 164 | ||
165 | /** |
165 | /** |
166 | * @brief Initializes the CRC MSP. |
166 | * @brief Initializes the CRC MSP. |
167 | * @param hcrc CRC handle |
167 | * @param hcrc CRC handle |
168 | * @retval None |
168 | * @retval None |
169 | */ |
169 | */ |
170 | __weak void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc) |
170 | __weak void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc) |
171 | { |
171 | { |
172 | /* Prevent unused argument(s) compilation warning */ |
172 | /* Prevent unused argument(s) compilation warning */ |
173 | UNUSED(hcrc); |
173 | UNUSED(hcrc); |
174 | 174 | ||
175 | /* NOTE : This function should not be modified, when the callback is needed, |
175 | /* NOTE : This function should not be modified, when the callback is needed, |
176 | the HAL_CRC_MspInit can be implemented in the user file |
176 | the HAL_CRC_MspInit can be implemented in the user file |
177 | */ |
177 | */ |
178 | } |
178 | } |
179 | 179 | ||
180 | /** |
180 | /** |
181 | * @brief DeInitialize the CRC MSP. |
181 | * @brief DeInitialize the CRC MSP. |
182 | * @param hcrc CRC handle |
182 | * @param hcrc CRC handle |
183 | * @retval None |
183 | * @retval None |
184 | */ |
184 | */ |
185 | __weak void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) |
185 | __weak void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) |
186 | { |
186 | { |
187 | /* Prevent unused argument(s) compilation warning */ |
187 | /* Prevent unused argument(s) compilation warning */ |
188 | UNUSED(hcrc); |
188 | UNUSED(hcrc); |
189 | 189 | ||
190 | /* NOTE : This function should not be modified, when the callback is needed, |
190 | /* NOTE : This function should not be modified, when the callback is needed, |
191 | the HAL_CRC_MspDeInit can be implemented in the user file |
191 | the HAL_CRC_MspDeInit can be implemented in the user file |
192 | */ |
192 | */ |
193 | } |
193 | } |
194 | 194 | ||
195 | /** |
195 | /** |
196 | * @} |
196 | * @} |
197 | */ |
197 | */ |
198 | 198 | ||
199 | /** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions |
199 | /** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions |
200 | * @brief management functions. |
200 | * @brief management functions. |
201 | * |
201 | * |
202 | @verbatim |
202 | @verbatim |
203 | =============================================================================== |
203 | =============================================================================== |
204 | ##### Peripheral Control functions ##### |
204 | ##### Peripheral Control functions ##### |
205 | =============================================================================== |
205 | =============================================================================== |
206 | [..] This section provides functions allowing to: |
206 | [..] This section provides functions allowing to: |
207 | (+) compute the 32-bit CRC value of a 32-bit data buffer |
207 | (+) compute the 32-bit CRC value of a 32-bit data buffer |
208 | using combination of the previous CRC value and the new one. |
208 | using combination of the previous CRC value and the new one. |
209 | 209 | ||
210 | [..] or |
210 | [..] or |
211 | 211 | ||
212 | (+) compute the 32-bit CRC value of a 32-bit data buffer |
212 | (+) compute the 32-bit CRC value of a 32-bit data buffer |
213 | independently of the previous CRC value. |
213 | independently of the previous CRC value. |
214 | 214 | ||
215 | @endverbatim |
215 | @endverbatim |
216 | * @{ |
216 | * @{ |
217 | */ |
217 | */ |
218 | 218 | ||
219 | /** |
219 | /** |
220 | * @brief Compute the 32-bit CRC value of a 32-bit data buffer |
220 | * @brief Compute the 32-bit CRC value of a 32-bit data buffer |
221 | * starting with the previously computed CRC as initialization value. |
221 | * starting with the previously computed CRC as initialization value. |
222 | * @param hcrc CRC handle |
222 | * @param hcrc CRC handle |
223 | * @param pBuffer pointer to the input data buffer. |
223 | * @param pBuffer pointer to the input data buffer. |
224 | * @param BufferLength input data buffer length (number of uint32_t words). |
224 | * @param BufferLength input data buffer length (number of uint32_t words). |
225 | * @retval uint32_t CRC (returned value LSBs for CRC shorter than 32 bits) |
225 | * @retval uint32_t CRC (returned value LSBs for CRC shorter than 32 bits) |
226 | */ |
226 | */ |
227 | uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
227 | uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
228 | { |
228 | { |
229 | uint32_t index; /* CRC input data buffer index */ |
229 | uint32_t index; /* CRC input data buffer index */ |
230 | uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ |
230 | uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ |
231 | 231 | ||
232 | /* Change CRC peripheral state */ |
232 | /* Change CRC peripheral state */ |
233 | hcrc->State = HAL_CRC_STATE_BUSY; |
233 | hcrc->State = HAL_CRC_STATE_BUSY; |
234 | 234 | ||
235 | /* Enter Data to the CRC calculator */ |
235 | /* Enter Data to the CRC calculator */ |
236 | for (index = 0U; index < BufferLength; index++) |
236 | for (index = 0U; index < BufferLength; index++) |
237 | { |
237 | { |
238 | hcrc->Instance->DR = pBuffer[index]; |
238 | hcrc->Instance->DR = pBuffer[index]; |
239 | } |
239 | } |
240 | temp = hcrc->Instance->DR; |
240 | temp = hcrc->Instance->DR; |
241 | 241 | ||
242 | /* Change CRC peripheral state */ |
242 | /* Change CRC peripheral state */ |
243 | hcrc->State = HAL_CRC_STATE_READY; |
243 | hcrc->State = HAL_CRC_STATE_READY; |
244 | 244 | ||
245 | /* Return the CRC computed value */ |
245 | /* Return the CRC computed value */ |
246 | return temp; |
246 | return temp; |
247 | } |
247 | } |
248 | 248 | ||
249 | /** |
249 | /** |
250 | * @brief Compute the 32-bit CRC value of a 32-bit data buffer |
250 | * @brief Compute the 32-bit CRC value of a 32-bit data buffer |
251 | * starting with hcrc->Instance->INIT as initialization value. |
251 | * starting with hcrc->Instance->INIT as initialization value. |
252 | * @param hcrc CRC handle |
252 | * @param hcrc CRC handle |
253 | * @param pBuffer pointer to the input data buffer. |
253 | * @param pBuffer pointer to the input data buffer. |
254 | * @param BufferLength input data buffer length (number of uint32_t words). |
254 | * @param BufferLength input data buffer length (number of uint32_t words). |
255 | * @retval uint32_t CRC (returned value LSBs for CRC shorter than 32 bits) |
255 | * @retval uint32_t CRC (returned value LSBs for CRC shorter than 32 bits) |
256 | */ |
256 | */ |
257 | uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
257 | uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) |
258 | { |
258 | { |
259 | uint32_t index; /* CRC input data buffer index */ |
259 | uint32_t index; /* CRC input data buffer index */ |
260 | uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ |
260 | uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ |
261 | 261 | ||
262 | /* Change CRC peripheral state */ |
262 | /* Change CRC peripheral state */ |
263 | hcrc->State = HAL_CRC_STATE_BUSY; |
263 | hcrc->State = HAL_CRC_STATE_BUSY; |
264 | 264 | ||
265 | /* Reset CRC Calculation Unit (hcrc->Instance->INIT is |
265 | /* Reset CRC Calculation Unit (hcrc->Instance->INIT is |
266 | * written in hcrc->Instance->DR) */ |
266 | * written in hcrc->Instance->DR) */ |
267 | __HAL_CRC_DR_RESET(hcrc); |
267 | __HAL_CRC_DR_RESET(hcrc); |
268 | 268 | ||
269 | /* Enter 32-bit input data to the CRC calculator */ |
269 | /* Enter 32-bit input data to the CRC calculator */ |
270 | for (index = 0U; index < BufferLength; index++) |
270 | for (index = 0U; index < BufferLength; index++) |
271 | { |
271 | { |
272 | hcrc->Instance->DR = pBuffer[index]; |
272 | hcrc->Instance->DR = pBuffer[index]; |
273 | } |
273 | } |
274 | temp = hcrc->Instance->DR; |
274 | temp = hcrc->Instance->DR; |
275 | 275 | ||
276 | /* Change CRC peripheral state */ |
276 | /* Change CRC peripheral state */ |
277 | hcrc->State = HAL_CRC_STATE_READY; |
277 | hcrc->State = HAL_CRC_STATE_READY; |
278 | 278 | ||
279 | /* Return the CRC computed value */ |
279 | /* Return the CRC computed value */ |
280 | return temp; |
280 | return temp; |
281 | } |
281 | } |
282 | 282 | ||
283 | /** |
283 | /** |
284 | * @} |
284 | * @} |
285 | */ |
285 | */ |
286 | 286 | ||
287 | /** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions |
287 | /** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions |
288 | * @brief Peripheral State functions. |
288 | * @brief Peripheral State functions. |
289 | * |
289 | * |
290 | @verbatim |
290 | @verbatim |
291 | =============================================================================== |
291 | =============================================================================== |
292 | ##### Peripheral State functions ##### |
292 | ##### Peripheral State functions ##### |
293 | =============================================================================== |
293 | =============================================================================== |
294 | [..] |
294 | [..] |
295 | This subsection permits to get in run-time the status of the peripheral. |
295 | This subsection permits to get in run-time the status of the peripheral. |
296 | 296 | ||
297 | @endverbatim |
297 | @endverbatim |
298 | * @{ |
298 | * @{ |
299 | */ |
299 | */ |
300 | 300 | ||
301 | /** |
301 | /** |
302 | * @brief Return the CRC handle state. |
302 | * @brief Return the CRC handle state. |
303 | * @param hcrc CRC handle |
303 | * @param hcrc CRC handle |
304 | * @retval HAL state |
304 | * @retval HAL state |
305 | */ |
305 | */ |
306 | HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc) |
306 | HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc) |
307 | { |
307 | { |
308 | /* Return CRC handle state */ |
308 | /* Return CRC handle state */ |
309 | return hcrc->State; |
309 | return hcrc->State; |
310 | } |
310 | } |
311 | 311 | ||
312 | /** |
312 | /** |
313 | * @} |
313 | * @} |
314 | */ |
314 | */ |
315 | 315 | ||
316 | /** |
316 | /** |
317 | * @} |
317 | * @} |
318 | */ |
318 | */ |
319 | 319 | ||
320 | 320 | ||
321 | #endif /* HAL_CRC_MODULE_ENABLED */ |
321 | #endif /* HAL_CRC_MODULE_ENABLED */ |
322 | /** |
322 | /** |
323 | * @} |
323 | * @} |
324 | */ |
324 | */ |
325 | 325 | ||
326 | /** |
326 | /** |
327 | * @} |
327 | * @} |
328 | */ |
328 | */ |
329 | - | ||
330 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
- |