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:
180:96ed750bd169
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 156:95d6b41a828b 1 /**
<> 156:95d6b41a828b 2 ******************************************************************************
<> 156:95d6b41a828b 3 * @file stm32f0xx_ll_crs.h
<> 156:95d6b41a828b 4 * @author MCD Application Team
<> 156:95d6b41a828b 5 * @brief CRS LL module driver.
<> 156:95d6b41a828b 6 ******************************************************************************
<> 156:95d6b41a828b 7 * @attention
<> 156:95d6b41a828b 8 *
<> 156:95d6b41a828b 9 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
<> 156:95d6b41a828b 10 *
<> 156:95d6b41a828b 11 * Redistribution and use in source and binary forms, with or without modification,
<> 156:95d6b41a828b 12 * are permitted provided that the following conditions are met:
<> 156:95d6b41a828b 13 * 1. Redistributions of source code must retain the above copyright notice,
<> 156:95d6b41a828b 14 * this list of conditions and the following disclaimer.
<> 156:95d6b41a828b 15 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 156:95d6b41a828b 16 * this list of conditions and the following disclaimer in the documentation
<> 156:95d6b41a828b 17 * and/or other materials provided with the distribution.
<> 156:95d6b41a828b 18 * 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 156:95d6b41a828b 19 * may be used to endorse or promote products derived from this software
<> 156:95d6b41a828b 20 * without specific prior written permission.
<> 156:95d6b41a828b 21 *
<> 156:95d6b41a828b 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 156:95d6b41a828b 23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 156:95d6b41a828b 24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 156:95d6b41a828b 25 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 156:95d6b41a828b 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 156:95d6b41a828b 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 156:95d6b41a828b 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 156:95d6b41a828b 29 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 156:95d6b41a828b 30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 156:95d6b41a828b 31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 156:95d6b41a828b 32 *
<> 156:95d6b41a828b 33 ******************************************************************************
<> 156:95d6b41a828b 34 */
<> 156:95d6b41a828b 35 #if defined(USE_FULL_LL_DRIVER)
<> 156:95d6b41a828b 36
<> 156:95d6b41a828b 37 /* Includes ------------------------------------------------------------------*/
<> 156:95d6b41a828b 38 #include "stm32f0xx_ll_crs.h"
<> 156:95d6b41a828b 39 #include "stm32f0xx_ll_bus.h"
<> 156:95d6b41a828b 40
<> 156:95d6b41a828b 41 /** @addtogroup STM32F0xx_LL_Driver
<> 156:95d6b41a828b 42 * @{
<> 156:95d6b41a828b 43 */
<> 156:95d6b41a828b 44
<> 156:95d6b41a828b 45 #if defined(CRS)
<> 156:95d6b41a828b 46
<> 156:95d6b41a828b 47 /** @defgroup CRS_LL CRS
<> 156:95d6b41a828b 48 * @{
<> 156:95d6b41a828b 49 */
<> 156:95d6b41a828b 50
<> 156:95d6b41a828b 51 /* Private types -------------------------------------------------------------*/
<> 156:95d6b41a828b 52 /* Private variables ---------------------------------------------------------*/
<> 156:95d6b41a828b 53 /* Private constants ---------------------------------------------------------*/
<> 156:95d6b41a828b 54 /* Private macros ------------------------------------------------------------*/
<> 156:95d6b41a828b 55 /* Private function prototypes -----------------------------------------------*/
<> 156:95d6b41a828b 56
<> 156:95d6b41a828b 57 /* Exported functions --------------------------------------------------------*/
<> 156:95d6b41a828b 58 /** @addtogroup CRS_LL_Exported_Functions
<> 156:95d6b41a828b 59 * @{
<> 156:95d6b41a828b 60 */
<> 156:95d6b41a828b 61
<> 156:95d6b41a828b 62 /** @addtogroup CRS_LL_EF_Init
<> 156:95d6b41a828b 63 * @{
<> 156:95d6b41a828b 64 */
<> 156:95d6b41a828b 65
<> 156:95d6b41a828b 66 /**
<> 156:95d6b41a828b 67 * @brief De-Initializes CRS peripheral registers to their default reset values.
<> 156:95d6b41a828b 68 * @retval An ErrorStatus enumeration value:
<> 156:95d6b41a828b 69 * - SUCCESS: CRS registers are de-initialized
<> 156:95d6b41a828b 70 * - ERROR: not applicable
<> 156:95d6b41a828b 71 */
<> 156:95d6b41a828b 72 ErrorStatus LL_CRS_DeInit(void)
<> 156:95d6b41a828b 73 {
<> 156:95d6b41a828b 74 LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_CRS);
<> 156:95d6b41a828b 75 LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_CRS);
<> 156:95d6b41a828b 76
<> 156:95d6b41a828b 77 return SUCCESS;
<> 156:95d6b41a828b 78 }
<> 156:95d6b41a828b 79
<> 156:95d6b41a828b 80
<> 156:95d6b41a828b 81
<> 156:95d6b41a828b 82 /**
<> 156:95d6b41a828b 83 * @}
<> 156:95d6b41a828b 84 */
<> 156:95d6b41a828b 85
<> 156:95d6b41a828b 86 /**
<> 156:95d6b41a828b 87 * @}
<> 156:95d6b41a828b 88 */
<> 156:95d6b41a828b 89
<> 156:95d6b41a828b 90 /**
<> 156:95d6b41a828b 91 * @}
<> 156:95d6b41a828b 92 */
<> 156:95d6b41a828b 93
<> 156:95d6b41a828b 94 #endif /* defined(CRS) */
<> 156:95d6b41a828b 95
<> 156:95d6b41a828b 96 /**
<> 156:95d6b41a828b 97 * @}
<> 156:95d6b41a828b 98 */
<> 156:95d6b41a828b 99
<> 156:95d6b41a828b 100 #endif /* USE_FULL_LL_DRIVER */
<> 156:95d6b41a828b 101
<> 156:95d6b41a828b 102 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/