mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
184:08ed48f1de7f
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 149:156823d33999 1 /**
<> 149:156823d33999 2 ******************************************************************************
<> 149:156823d33999 3 * @file stm32l1xx_hal_cryp_ex.c
<> 149:156823d33999 4 * @author MCD Application Team
<> 149:156823d33999 5 * @brief CRYPEx HAL module driver.
<> 149:156823d33999 6 *
<> 149:156823d33999 7 * This file provides firmware functions to manage the following
<> 149:156823d33999 8 * functionalities of the Cryptography (CRYP) extension peripheral:
<> 149:156823d33999 9 * + Computation completed callback.
<> 149:156823d33999 10 *
<> 149:156823d33999 11 ******************************************************************************
<> 149:156823d33999 12 * @attention
<> 149:156823d33999 13 *
AnnaBridge 184:08ed48f1de7f 14 * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
<> 149:156823d33999 15 *
<> 149:156823d33999 16 * Redistribution and use in source and binary forms, with or without modification,
<> 149:156823d33999 17 * are permitted provided that the following conditions are met:
<> 149:156823d33999 18 * 1. Redistributions of source code must retain the above copyright notice,
<> 149:156823d33999 19 * this list of conditions and the following disclaimer.
<> 149:156823d33999 20 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 149:156823d33999 21 * this list of conditions and the following disclaimer in the documentation
<> 149:156823d33999 22 * and/or other materials provided with the distribution.
<> 149:156823d33999 23 * 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 149:156823d33999 24 * may be used to endorse or promote products derived from this software
<> 149:156823d33999 25 * without specific prior written permission.
<> 149:156823d33999 26 *
<> 149:156823d33999 27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 149:156823d33999 28 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 149:156823d33999 29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 149:156823d33999 30 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 149:156823d33999 31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 149:156823d33999 32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 149:156823d33999 33 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 149:156823d33999 34 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 149:156823d33999 35 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 149:156823d33999 36 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 149:156823d33999 37 *
<> 149:156823d33999 38 ******************************************************************************
<> 149:156823d33999 39 */
<> 149:156823d33999 40
<> 149:156823d33999 41 /* Includes ------------------------------------------------------------------*/
<> 149:156823d33999 42 #include "stm32l1xx_hal.h"
<> 149:156823d33999 43
<> 149:156823d33999 44 #ifdef HAL_CRYP_MODULE_ENABLED
<> 149:156823d33999 45
<> 149:156823d33999 46 /** @addtogroup STM32L1xx_HAL_Driver
<> 149:156823d33999 47 * @{
<> 149:156823d33999 48 */
<> 149:156823d33999 49
<> 149:156823d33999 50 /** @defgroup CRYPEx CRYPEx
<> 149:156823d33999 51 * @brief CRYP HAL Extended module driver.
<> 149:156823d33999 52 * @{
<> 149:156823d33999 53 */
<> 149:156823d33999 54
<> 149:156823d33999 55 #if defined(STM32L162xC) || defined(STM32L162xCA) || defined(STM32L162xD) || defined(STM32L162xE) || defined(STM32L162xDX)
<> 149:156823d33999 56
<> 149:156823d33999 57 /* Private typedef -----------------------------------------------------------*/
<> 149:156823d33999 58 /* Private define ------------------------------------------------------------*/
<> 149:156823d33999 59 /* Private macro -------------------------------------------------------------*/
<> 149:156823d33999 60 /* Private variables ---------------------------------------------------------*/
<> 149:156823d33999 61 /* Private function prototypes -----------------------------------------------*/
<> 149:156823d33999 62 /* Private functions ---------------------------------------------------------*/
<> 149:156823d33999 63
<> 149:156823d33999 64 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
<> 149:156823d33999 65 * @{
<> 149:156823d33999 66 */
<> 149:156823d33999 67
<> 149:156823d33999 68
<> 149:156823d33999 69 /** @defgroup CRYPEx_Exported_Functions_Group1 Extended features functions
<> 149:156823d33999 70 * @brief Extended features functions.
<> 149:156823d33999 71 *
<> 149:156823d33999 72 @verbatim
<> 149:156823d33999 73 ===============================================================================
<> 149:156823d33999 74 ##### Extended features functions #####
<> 149:156823d33999 75 ===============================================================================
<> 149:156823d33999 76 [..] This section provides callback functions:
<> 149:156823d33999 77 (+) Computation completed.
<> 149:156823d33999 78
<> 149:156823d33999 79 @endverbatim
<> 149:156823d33999 80 * @{
<> 149:156823d33999 81 */
<> 149:156823d33999 82
<> 149:156823d33999 83 /**
<> 149:156823d33999 84 * @brief Computation completed callbacks.
<> 149:156823d33999 85 * @param hcryp: pointer to a CRYP_HandleTypeDef structure that contains
<> 149:156823d33999 86 * the configuration information for CRYP module
<> 149:156823d33999 87 * @retval None
<> 149:156823d33999 88 */
<> 149:156823d33999 89 __weak void HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef *hcryp)
<> 149:156823d33999 90 {
<> 149:156823d33999 91 /* Prevent unused argument(s) compilation warning */
<> 149:156823d33999 92 UNUSED(hcryp);
<> 149:156823d33999 93
<> 149:156823d33999 94 /* NOTE : This function Should not be modified, when the callback is needed,
<> 149:156823d33999 95 the HAL_CRYPEx_ComputationCpltCallback could be implemented in the user file
<> 149:156823d33999 96 */
<> 149:156823d33999 97 }
<> 149:156823d33999 98
<> 149:156823d33999 99 /**
<> 149:156823d33999 100 * @}
<> 149:156823d33999 101 */
<> 149:156823d33999 102
<> 149:156823d33999 103
<> 149:156823d33999 104 /**
<> 149:156823d33999 105 * @}
<> 149:156823d33999 106 */
<> 149:156823d33999 107
<> 149:156823d33999 108 #endif /* STM32L162xC || STM32L162xCA || STM32L162xD || STM32L162xE || STM32L162xDX*/
<> 149:156823d33999 109
<> 149:156823d33999 110 /**
<> 149:156823d33999 111 * @}
<> 149:156823d33999 112 */
<> 149:156823d33999 113
<> 149:156823d33999 114 /**
<> 149:156823d33999 115 * @}
<> 149:156823d33999 116 */
<> 149:156823d33999 117
<> 149:156823d33999 118 #endif /* HAL_CRYP_MODULE_ENABLED */
<> 149:156823d33999 119 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/