1 /**
2 ******************************************************************************
3 * @file stm32l1xx_hal_cryp_ex.c
4 * @author MCD Application Team
5 * @brief CRYPEx HAL module driver.
6 *
7 * This file provides firmware functions to manage the following
8 * functionalities of the Cryptography (CRYP) extension peripheral:
9 * + Computation completed callback.
10 *
11 ******************************************************************************
12 * @attention
13 *
14 * <h2><center>© Copyright (c) 2017 STMicroelectronics.
15 * All rights reserved.</center></h2>
16 *
17 * This software component is licensed by ST under BSD 3-Clause license,
18 * the "License"; You may not use this file except in compliance with the
19 * License. You may obtain a copy of the License at:
20 * opensource.org/licenses/BSD-3-Clause
21 *
22 ******************************************************************************
23 */
24
25 /* Includes ------------------------------------------------------------------*/
26 #include "stm32l1xx_hal.h"
27
28 #ifdef HAL_CRYP_MODULE_ENABLED
29
30 /** @addtogroup STM32L1xx_HAL_Driver
31 * @{
32 */
33
34 /** @defgroup CRYPEx CRYPEx
35 * @brief CRYP HAL Extended module driver.
36 * @{
37 */
38
39 #if defined(STM32L162xC) || defined(STM32L162xCA) || defined(STM32L162xD) || defined(STM32L162xE) || defined(STM32L162xDX)
40
41 /* Private typedef -----------------------------------------------------------*/
42 /* Private define ------------------------------------------------------------*/
43 /* Private macro -------------------------------------------------------------*/
44 /* Private variables ---------------------------------------------------------*/
45 /* Private function prototypes -----------------------------------------------*/
46 /* Private functions ---------------------------------------------------------*/
47
48 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
49 * @{
50 */
51
52
53 /** @defgroup CRYPEx_Exported_Functions_Group1 Extended features functions
54 * @brief Extended features functions.
55 *
56 @verbatim
57 ===============================================================================
58 ##### Extended features functions #####
59 ===============================================================================
60 [..] This section provides callback functions:
61 (+) Computation completed.
62
63 @endverbatim
64 * @{
65 */
66
67 /**
68 * @brief Computation completed callbacks.
69 * @param hcryp pointer to a CRYP_HandleTypeDef structure that contains
70 * the configuration information for CRYP module
71 * @retval None
72 */
HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef * hcryp)73 __weak void HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef *hcryp)
74 {
75 /* Prevent unused argument(s) compilation warning */
76 UNUSED(hcryp);
77
78 /* NOTE : This function Should not be modified, when the callback is needed,
79 the HAL_CRYPEx_ComputationCpltCallback could be implemented in the user file
80 */
81 }
82
83 /**
84 * @}
85 */
86
87
88 /**
89 * @}
90 */
91
92 #endif /* STM32L162xC || STM32L162xCA || STM32L162xD || STM32L162xE || STM32L162xDX*/
93
94 /**
95 * @}
96 */
97
98 /**
99 * @}
100 */
101
102 #endif /* HAL_CRYP_MODULE_ENABLED */
103 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
104