mbed library sources

Fork of mbed-src by mbed official

Committer:
moirans2
Date:
Wed Jan 14 20:53:08 2015 +0000
Revision:
445:9a3ffe6cfa19
Parent:
441:d2c15dda23c1
internal clock stm32L051

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 340:28d1f895c6fe 1 /**
mbed_official 340:28d1f895c6fe 2 ******************************************************************************
mbed_official 340:28d1f895c6fe 3 * @file stm32f0xx_hal_pwr_ex.c
mbed_official 340:28d1f895c6fe 4 * @author MCD Application Team
mbed_official 441:d2c15dda23c1 5 * @version V1.2.0
mbed_official 441:d2c15dda23c1 6 * @date 11-December-2014
mbed_official 340:28d1f895c6fe 7 * @brief Extended PWR HAL module driver.
mbed_official 340:28d1f895c6fe 8 * This file provides firmware functions to manage the following
mbed_official 340:28d1f895c6fe 9 * functionalities of the Power Controller (PWR) peripheral:
mbed_official 340:28d1f895c6fe 10 * + Extended Initialization and de-initialization functions
mbed_official 340:28d1f895c6fe 11 * + Extended Peripheral Control functions
mbed_official 340:28d1f895c6fe 12 *
mbed_official 340:28d1f895c6fe 13 ******************************************************************************
mbed_official 340:28d1f895c6fe 14 * @attention
mbed_official 340:28d1f895c6fe 15 *
mbed_official 340:28d1f895c6fe 16 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
mbed_official 340:28d1f895c6fe 17 *
mbed_official 340:28d1f895c6fe 18 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 340:28d1f895c6fe 19 * are permitted provided that the following conditions are met:
mbed_official 340:28d1f895c6fe 20 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 340:28d1f895c6fe 21 * this list of conditions and the following disclaimer.
mbed_official 340:28d1f895c6fe 22 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 340:28d1f895c6fe 23 * this list of conditions and the following disclaimer in the documentation
mbed_official 340:28d1f895c6fe 24 * and/or other materials provided with the distribution.
mbed_official 340:28d1f895c6fe 25 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 340:28d1f895c6fe 26 * may be used to endorse or promote products derived from this software
mbed_official 340:28d1f895c6fe 27 * without specific prior written permission.
mbed_official 340:28d1f895c6fe 28 *
mbed_official 340:28d1f895c6fe 29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 340:28d1f895c6fe 30 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 340:28d1f895c6fe 31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 340:28d1f895c6fe 32 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 340:28d1f895c6fe 33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 340:28d1f895c6fe 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 340:28d1f895c6fe 35 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 340:28d1f895c6fe 36 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 340:28d1f895c6fe 37 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 340:28d1f895c6fe 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 340:28d1f895c6fe 39 *
mbed_official 340:28d1f895c6fe 40 ******************************************************************************
mbed_official 340:28d1f895c6fe 41 */
mbed_official 340:28d1f895c6fe 42
mbed_official 340:28d1f895c6fe 43 /* Includes ------------------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 44 #include "stm32f0xx_hal.h"
mbed_official 340:28d1f895c6fe 45
mbed_official 340:28d1f895c6fe 46 /** @addtogroup STM32F0xx_HAL_Driver
mbed_official 340:28d1f895c6fe 47 * @{
mbed_official 340:28d1f895c6fe 48 */
mbed_official 340:28d1f895c6fe 49
mbed_official 340:28d1f895c6fe 50 /** @defgroup PWREx PWREx Extended HAL module driver
mbed_official 340:28d1f895c6fe 51 * @brief PWREx HAL module driver
mbed_official 340:28d1f895c6fe 52 * @{
mbed_official 340:28d1f895c6fe 53 */
mbed_official 340:28d1f895c6fe 54
mbed_official 340:28d1f895c6fe 55 #ifdef HAL_PWR_MODULE_ENABLED
mbed_official 340:28d1f895c6fe 56
mbed_official 340:28d1f895c6fe 57 /* Private typedef -----------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 58 /* Private define ------------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 59 /** @defgroup PWREx_Private_Constants PWREx Private Constants
mbed_official 340:28d1f895c6fe 60 * @{
mbed_official 340:28d1f895c6fe 61 */
mbed_official 340:28d1f895c6fe 62 #define PVD_MODE_IT ((uint32_t)0x00010000)
mbed_official 340:28d1f895c6fe 63 #define PVD_MODE_EVT ((uint32_t)0x00020000)
mbed_official 340:28d1f895c6fe 64 #define PVD_RISING_EDGE ((uint32_t)0x00000001)
mbed_official 340:28d1f895c6fe 65 #define PVD_FALLING_EDGE ((uint32_t)0x00000002)
mbed_official 340:28d1f895c6fe 66 /**
mbed_official 340:28d1f895c6fe 67 * @}
mbed_official 340:28d1f895c6fe 68 */
mbed_official 340:28d1f895c6fe 69
mbed_official 340:28d1f895c6fe 70 /* Private macro -------------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 71 /* Private variables ---------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 72 /* Private function prototypes -----------------------------------------------*/
mbed_official 340:28d1f895c6fe 73 /* Exported functions ---------------------------------------------------------*/
mbed_official 340:28d1f895c6fe 74
mbed_official 340:28d1f895c6fe 75 /** @defgroup PWREx_Exported_Functions PWREx Exported Functions
mbed_official 340:28d1f895c6fe 76 * @{
mbed_official 340:28d1f895c6fe 77 */
mbed_official 340:28d1f895c6fe 78
mbed_official 340:28d1f895c6fe 79 /** @defgroup PWREx_Exported_Functions_Group1 Peripheral Extended Control Functions
mbed_official 340:28d1f895c6fe 80 * @brief Extended Peripheral Control functions
mbed_official 340:28d1f895c6fe 81 *
mbed_official 340:28d1f895c6fe 82 @verbatim
mbed_official 340:28d1f895c6fe 83
mbed_official 340:28d1f895c6fe 84 ===============================================================================
mbed_official 340:28d1f895c6fe 85 ##### Peripheral extended control functions #####
mbed_official 340:28d1f895c6fe 86 ===============================================================================
mbed_official 340:28d1f895c6fe 87
mbed_official 340:28d1f895c6fe 88 *** PVD configuration ***
mbed_official 340:28d1f895c6fe 89 =========================
mbed_official 340:28d1f895c6fe 90 [..]
mbed_official 340:28d1f895c6fe 91 (+) The PVD is used to monitor the VDD power supply by comparing it to a
mbed_official 340:28d1f895c6fe 92 threshold selected by the PVD Level (PLS[2:0] bits in the PWR_CR).
mbed_official 340:28d1f895c6fe 93 (+) A PVDO flag is available to indicate if VDD/VDDA is higher or lower
mbed_official 340:28d1f895c6fe 94 than the PVD threshold. This event is internally connected to the EXTI
mbed_official 340:28d1f895c6fe 95 line16 and can generate an interrupt if enabled. This is done through
mbed_official 340:28d1f895c6fe 96 HAL_PWR_PVDConfig(), HAL_PWR_EnablePVD() functions.
mbed_official 340:28d1f895c6fe 97 (+) The PVD is stopped in Standby mode.
mbed_official 340:28d1f895c6fe 98 -@- PVD is not available on STM32F030x4/x6/x8
mbed_official 340:28d1f895c6fe 99
mbed_official 340:28d1f895c6fe 100 *** VDDIO2 Monitor Configuration ***
mbed_official 340:28d1f895c6fe 101 ====================================
mbed_official 340:28d1f895c6fe 102 [..]
mbed_official 340:28d1f895c6fe 103 (+) VDDIO2 monitor is used to monitor the VDDIO2 power supply by comparing it
mbed_official 340:28d1f895c6fe 104 to VREFInt Voltage
mbed_official 340:28d1f895c6fe 105 (+) This monitor is internally connected to the EXTI line31
mbed_official 340:28d1f895c6fe 106 and can generate an interrupt if enabled. This is done through
mbed_official 340:28d1f895c6fe 107 HAL_PWR_EnableVddio2Monitor() function.
mbed_official 340:28d1f895c6fe 108 -@- VDDIO2 is available on STM32F07x/09x/04x
mbed_official 340:28d1f895c6fe 109
mbed_official 340:28d1f895c6fe 110 @endverbatim
mbed_official 340:28d1f895c6fe 111 * @{
mbed_official 340:28d1f895c6fe 112 */
mbed_official 340:28d1f895c6fe 113
mbed_official 340:28d1f895c6fe 114 #if defined (STM32F031x6) || defined (STM32F051x8) || \
mbed_official 340:28d1f895c6fe 115 defined (STM32F071xB) || defined (STM32F091xC) || \
mbed_official 340:28d1f895c6fe 116 defined (STM32F042x6) || defined (STM32F072xB)
mbed_official 340:28d1f895c6fe 117 /**
mbed_official 340:28d1f895c6fe 118 * @brief Configures the voltage threshold detected by the Power Voltage Detector(PVD).
mbed_official 340:28d1f895c6fe 119 * @param sConfigPVD: pointer to an PWR_PVDTypeDef structure that contains the configuration
mbed_official 340:28d1f895c6fe 120 * information for the PVD.
mbed_official 340:28d1f895c6fe 121 * @note Refer to the electrical characteristics of your device datasheet for
mbed_official 340:28d1f895c6fe 122 * more details about the voltage threshold corresponding to each
mbed_official 340:28d1f895c6fe 123 * detection level.
mbed_official 340:28d1f895c6fe 124 * @retval None
mbed_official 340:28d1f895c6fe 125 */
mbed_official 340:28d1f895c6fe 126 void HAL_PWR_PVDConfig(PWR_PVDTypeDef *sConfigPVD)
mbed_official 340:28d1f895c6fe 127 {
mbed_official 340:28d1f895c6fe 128 /* Check the parameters */
mbed_official 340:28d1f895c6fe 129 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel));
mbed_official 340:28d1f895c6fe 130 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode));
mbed_official 340:28d1f895c6fe 131
mbed_official 340:28d1f895c6fe 132 /* Set PLS[7:5] bits according to PVDLevel value */
mbed_official 340:28d1f895c6fe 133 MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel);
mbed_official 340:28d1f895c6fe 134
mbed_official 340:28d1f895c6fe 135 /* Clear any previous config. Keep it clear if no event or IT mode is selected */
mbed_official 340:28d1f895c6fe 136 __HAL_PWR_PVD_EXTI_DISABLE_EVENT();
mbed_official 340:28d1f895c6fe 137 __HAL_PWR_PVD_EXTI_DISABLE_IT();
mbed_official 340:28d1f895c6fe 138 __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER();
mbed_official 340:28d1f895c6fe 139
mbed_official 340:28d1f895c6fe 140 /* Configure interrupt mode */
mbed_official 340:28d1f895c6fe 141 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT)
mbed_official 340:28d1f895c6fe 142 {
mbed_official 340:28d1f895c6fe 143 __HAL_PWR_PVD_EXTI_ENABLE_IT();
mbed_official 340:28d1f895c6fe 144 }
mbed_official 340:28d1f895c6fe 145
mbed_official 340:28d1f895c6fe 146 /* Configure event mode */
mbed_official 340:28d1f895c6fe 147 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT)
mbed_official 340:28d1f895c6fe 148 {
mbed_official 340:28d1f895c6fe 149 __HAL_PWR_PVD_EXTI_ENABLE_EVENT();
mbed_official 340:28d1f895c6fe 150 }
mbed_official 340:28d1f895c6fe 151
mbed_official 340:28d1f895c6fe 152 /* Configure the edge */
mbed_official 340:28d1f895c6fe 153 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE)
mbed_official 340:28d1f895c6fe 154 {
mbed_official 340:28d1f895c6fe 155 __HAL_PWR_PVD_EXTI_SET_RISING_EDGE_TRIGGER();
mbed_official 340:28d1f895c6fe 156 }
mbed_official 340:28d1f895c6fe 157
mbed_official 340:28d1f895c6fe 158 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE)
mbed_official 340:28d1f895c6fe 159 {
mbed_official 340:28d1f895c6fe 160 __HAL_PWR_PVD_EXTI_SET_FALLING_EGDE_TRIGGER();
mbed_official 340:28d1f895c6fe 161 }
mbed_official 340:28d1f895c6fe 162 }
mbed_official 340:28d1f895c6fe 163
mbed_official 340:28d1f895c6fe 164 /**
mbed_official 340:28d1f895c6fe 165 * @brief Enables the Power Voltage Detector(PVD).
mbed_official 340:28d1f895c6fe 166 * @retval None
mbed_official 340:28d1f895c6fe 167 */
mbed_official 340:28d1f895c6fe 168 void HAL_PWR_EnablePVD(void)
mbed_official 340:28d1f895c6fe 169 {
mbed_official 340:28d1f895c6fe 170 PWR->CR |= (uint32_t)PWR_CR_PVDE;
mbed_official 340:28d1f895c6fe 171 }
mbed_official 340:28d1f895c6fe 172
mbed_official 340:28d1f895c6fe 173 /**
mbed_official 340:28d1f895c6fe 174 * @brief Disables the Power Voltage Detector(PVD).
mbed_official 340:28d1f895c6fe 175 * @retval None
mbed_official 340:28d1f895c6fe 176 */
mbed_official 340:28d1f895c6fe 177 void HAL_PWR_DisablePVD(void)
mbed_official 340:28d1f895c6fe 178 {
mbed_official 340:28d1f895c6fe 179 PWR->CR &= ~((uint32_t)PWR_CR_PVDE);
mbed_official 340:28d1f895c6fe 180 }
mbed_official 340:28d1f895c6fe 181
mbed_official 340:28d1f895c6fe 182 /**
mbed_official 340:28d1f895c6fe 183 * @brief This function handles the PWR PVD interrupt request.
mbed_official 340:28d1f895c6fe 184 * @note This API should be called under the PVD_IRQHandler() or PVD_VDDIO2_IRQHandler().
mbed_official 340:28d1f895c6fe 185 * @retval None
mbed_official 340:28d1f895c6fe 186 */
mbed_official 340:28d1f895c6fe 187 void HAL_PWR_PVD_IRQHandler(void)
mbed_official 340:28d1f895c6fe 188 {
mbed_official 340:28d1f895c6fe 189 /* Check PWR exti flag */
mbed_official 340:28d1f895c6fe 190 if(__HAL_PWR_PVD_EXTI_GET_FLAG() != RESET)
mbed_official 340:28d1f895c6fe 191 {
mbed_official 340:28d1f895c6fe 192 /* PWR PVD interrupt user callback */
mbed_official 340:28d1f895c6fe 193 HAL_PWR_PVDCallback();
mbed_official 340:28d1f895c6fe 194
mbed_official 340:28d1f895c6fe 195 /* Clear PWR Exti pending bit */
mbed_official 340:28d1f895c6fe 196 __HAL_PWR_PVD_EXTI_CLEAR_FLAG();
mbed_official 340:28d1f895c6fe 197 }
mbed_official 340:28d1f895c6fe 198 }
mbed_official 340:28d1f895c6fe 199
mbed_official 340:28d1f895c6fe 200 /**
mbed_official 340:28d1f895c6fe 201 * @brief PWR PVD interrupt callback
mbed_official 340:28d1f895c6fe 202 * @retval None
mbed_official 340:28d1f895c6fe 203 */
mbed_official 340:28d1f895c6fe 204 __weak void HAL_PWR_PVDCallback(void)
mbed_official 340:28d1f895c6fe 205 {
mbed_official 340:28d1f895c6fe 206 /* NOTE : This function Should not be modified, when the callback is needed,
mbed_official 340:28d1f895c6fe 207 the HAL_PWR_PVDCallback could be implemented in the user file
mbed_official 340:28d1f895c6fe 208 */
mbed_official 340:28d1f895c6fe 209 }
mbed_official 340:28d1f895c6fe 210
mbed_official 340:28d1f895c6fe 211 #endif /* defined (STM32F031x6) || defined (STM32F051x8) || */
mbed_official 340:28d1f895c6fe 212 /* defined (STM32F071xB) || defined (STM32F091xC) || */
mbed_official 340:28d1f895c6fe 213 /* defined (STM32F042x6) || defined (STM32F072xB) */
mbed_official 340:28d1f895c6fe 214
mbed_official 340:28d1f895c6fe 215 #if defined (STM32F042x6) || defined (STM32F048xx) || \
mbed_official 340:28d1f895c6fe 216 defined (STM32F071xB) || defined (STM32F072xB) || defined (STM32F078xx) || \
mbed_official 340:28d1f895c6fe 217 defined (STM32F091xC) || defined (STM32F098xx)
mbed_official 340:28d1f895c6fe 218 /**
mbed_official 340:28d1f895c6fe 219 * @brief Enable VDDIO2 monitor: enable Exti 31 and falling edge detection.
mbed_official 340:28d1f895c6fe 220 * @note If Exti 31 is enable correlty and VDDIO2 voltage goes below Vrefint,
mbed_official 340:28d1f895c6fe 221 an interrupt is generated Irq line 1.
mbed_official 340:28d1f895c6fe 222 NVIS has to be enable by user.
mbed_official 340:28d1f895c6fe 223 * @retval None
mbed_official 340:28d1f895c6fe 224 */
mbed_official 340:28d1f895c6fe 225 void HAL_PWR_EnableVddio2Monitor(void)
mbed_official 340:28d1f895c6fe 226 {
mbed_official 340:28d1f895c6fe 227 __HAL_PWR_VDDIO2_EXTI_ENABLE_IT();
mbed_official 340:28d1f895c6fe 228 __HAL_PWR_VDDIO2_EXTI_SET_FALLING_EGDE_TRIGGER();
mbed_official 340:28d1f895c6fe 229 }
mbed_official 340:28d1f895c6fe 230
mbed_official 340:28d1f895c6fe 231 /**
mbed_official 340:28d1f895c6fe 232 * @brief Disable the Vddio2 Monitor.
mbed_official 340:28d1f895c6fe 233 * @retval None
mbed_official 340:28d1f895c6fe 234 */
mbed_official 340:28d1f895c6fe 235 void HAL_PWR_DisableVddio2Monitor(void)
mbed_official 340:28d1f895c6fe 236 {
mbed_official 340:28d1f895c6fe 237 __HAL_PWR_VDDIO2_EXTI_DISABLE_IT();
mbed_official 340:28d1f895c6fe 238 __HAL_PWR_VDDIO2_EXTI_CLEAR_EGDE_TRIGGER();
mbed_official 340:28d1f895c6fe 239
mbed_official 340:28d1f895c6fe 240 }
mbed_official 340:28d1f895c6fe 241
mbed_official 340:28d1f895c6fe 242 /**
mbed_official 340:28d1f895c6fe 243 * @brief This function handles the PWR Vddio2 monitor interrupt request.
mbed_official 340:28d1f895c6fe 244 * @note This API should be called under the VDDIO2_IRQHandler() PVD_VDDIO2_IRQHandler().
mbed_official 340:28d1f895c6fe 245 * @retval None
mbed_official 340:28d1f895c6fe 246 */
mbed_official 340:28d1f895c6fe 247 void HAL_PWR_Vddio2Monitor_IRQHandler(void)
mbed_official 340:28d1f895c6fe 248 {
mbed_official 340:28d1f895c6fe 249 /* Check PWR exti flag */
mbed_official 340:28d1f895c6fe 250 if(__HAL_PWR_VDDIO2_EXTI_GET_FLAG() != RESET)
mbed_official 340:28d1f895c6fe 251 {
mbed_official 340:28d1f895c6fe 252 /* PWR Vddio2 monitor interrupt user callback */
mbed_official 340:28d1f895c6fe 253 HAL_PWR_Vddio2MonitorCallback();
mbed_official 340:28d1f895c6fe 254
mbed_official 340:28d1f895c6fe 255 /* Clear PWR Exti pending bit */
mbed_official 340:28d1f895c6fe 256 __HAL_PWR_VDDIO2_EXTI_CLEAR_FLAG();
mbed_official 340:28d1f895c6fe 257 }
mbed_official 340:28d1f895c6fe 258 }
mbed_official 340:28d1f895c6fe 259
mbed_official 340:28d1f895c6fe 260 /**
mbed_official 340:28d1f895c6fe 261 * @brief PWR Vddio2 Monitor interrupt callback
mbed_official 340:28d1f895c6fe 262 * @retval None
mbed_official 340:28d1f895c6fe 263 */
mbed_official 340:28d1f895c6fe 264 __weak void HAL_PWR_Vddio2MonitorCallback(void)
mbed_official 340:28d1f895c6fe 265 {
mbed_official 340:28d1f895c6fe 266 /* NOTE : This function Should not be modified, when the callback is needed,
mbed_official 340:28d1f895c6fe 267 the HAL_PWR_Vddio2MonitorCallback could be implemented in the user file
mbed_official 340:28d1f895c6fe 268 */
mbed_official 340:28d1f895c6fe 269 }
mbed_official 340:28d1f895c6fe 270
mbed_official 340:28d1f895c6fe 271 #endif /* defined (STM32F042x6) || defined (STM32F048xx) || \
mbed_official 340:28d1f895c6fe 272 defined (STM32F071xB) || defined (STM32F072xB) || defined (STM32F078xx) || \
mbed_official 340:28d1f895c6fe 273 defined (STM32F091xC) || defined (STM32F098xx) */
mbed_official 340:28d1f895c6fe 274
mbed_official 340:28d1f895c6fe 275 /**
mbed_official 340:28d1f895c6fe 276 * @}
mbed_official 340:28d1f895c6fe 277 */
mbed_official 340:28d1f895c6fe 278
mbed_official 340:28d1f895c6fe 279 /**
mbed_official 340:28d1f895c6fe 280 * @}
mbed_official 340:28d1f895c6fe 281 */
mbed_official 340:28d1f895c6fe 282
mbed_official 340:28d1f895c6fe 283 #endif /* HAL_PWR_MODULE_ENABLED */
mbed_official 340:28d1f895c6fe 284 /**
mbed_official 340:28d1f895c6fe 285 * @}
mbed_official 340:28d1f895c6fe 286 */
mbed_official 340:28d1f895c6fe 287
mbed_official 340:28d1f895c6fe 288 /**
mbed_official 340:28d1f895c6fe 289 * @}
mbed_official 340:28d1f895c6fe 290 */
mbed_official 340:28d1f895c6fe 291
mbed_official 340:28d1f895c6fe 292 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/