mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Jul 01 09:45:11 2015 +0100
Revision:
579:53297373a894
Parent:
489:119543c9f674
Synchronized with git revision d5b4d2ab9c47edb4dc5776e7177b0c2263459081

Full URL: https://github.com/mbedmicro/mbed/commit/d5b4d2ab9c47edb4dc5776e7177b0c2263459081/

Initial version of drivers for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 376:cb4d9db17537 1 /**
mbed_official 376:cb4d9db17537 2 ******************************************************************************
mbed_official 376:cb4d9db17537 3 * @file stm32l0xx_hal_rng.h
mbed_official 489:119543c9f674 4
mbed_official 376:cb4d9db17537 5 * @author MCD Application Team
mbed_official 489:119543c9f674 6 * @version V1.2.0
mbed_official 489:119543c9f674 7 * @date 06-February-2015
mbed_official 376:cb4d9db17537 8 * @brief Header file of RNG HAL module.
mbed_official 376:cb4d9db17537 9 ******************************************************************************
mbed_official 376:cb4d9db17537 10 * @attention
mbed_official 376:cb4d9db17537 11 *
mbed_official 489:119543c9f674 12 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mbed_official 376:cb4d9db17537 13 *
mbed_official 376:cb4d9db17537 14 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 376:cb4d9db17537 15 * are permitted provided that the following conditions are met:
mbed_official 376:cb4d9db17537 16 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 376:cb4d9db17537 17 * this list of conditions and the following disclaimer.
mbed_official 376:cb4d9db17537 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 376:cb4d9db17537 19 * this list of conditions and the following disclaimer in the documentation
mbed_official 376:cb4d9db17537 20 * and/or other materials provided with the distribution.
mbed_official 376:cb4d9db17537 21 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 376:cb4d9db17537 22 * may be used to endorse or promote products derived from this software
mbed_official 376:cb4d9db17537 23 * without specific prior written permission.
mbed_official 376:cb4d9db17537 24 *
mbed_official 376:cb4d9db17537 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 376:cb4d9db17537 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 376:cb4d9db17537 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 376:cb4d9db17537 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 376:cb4d9db17537 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 376:cb4d9db17537 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 376:cb4d9db17537 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 376:cb4d9db17537 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 376:cb4d9db17537 33 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 376:cb4d9db17537 34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 376:cb4d9db17537 35 *
mbed_official 376:cb4d9db17537 36 ******************************************************************************
mbed_official 376:cb4d9db17537 37 */
mbed_official 376:cb4d9db17537 38
mbed_official 376:cb4d9db17537 39 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 376:cb4d9db17537 40 #ifndef __STM32L0xx_HAL_RNG_H
mbed_official 376:cb4d9db17537 41 #define __STM32L0xx_HAL_RNG_H
mbed_official 376:cb4d9db17537 42
mbed_official 376:cb4d9db17537 43 #ifdef __cplusplus
mbed_official 376:cb4d9db17537 44 extern "C" {
mbed_official 376:cb4d9db17537 45 #endif
mbed_official 376:cb4d9db17537 46
mbed_official 489:119543c9f674 47 #if defined (STM32L052xx) || defined (STM32L053xx) || defined (STM32L062xx) || defined (STM32L063xx) || \
mbed_official 489:119543c9f674 48 defined (STM32L072xx) || defined (STM32L073xx) || defined (STM32L082xx) || defined (STM32L083xx)
mbed_official 489:119543c9f674 49
mbed_official 376:cb4d9db17537 50 /* Includes ------------------------------------------------------------------*/
mbed_official 376:cb4d9db17537 51 #include "stm32l0xx_hal_def.h"
mbed_official 376:cb4d9db17537 52
mbed_official 376:cb4d9db17537 53 /** @addtogroup STM32L0xx_HAL_Driver
mbed_official 376:cb4d9db17537 54 * @{
mbed_official 376:cb4d9db17537 55 */
mbed_official 376:cb4d9db17537 56
mbed_official 489:119543c9f674 57 /** @defgroup RNG RNG
mbed_official 489:119543c9f674 58 * @brief RNG HAL module driver
mbed_official 376:cb4d9db17537 59 * @{
mbed_official 489:119543c9f674 60 */
mbed_official 376:cb4d9db17537 61
mbed_official 376:cb4d9db17537 62 /* Exported types ------------------------------------------------------------*/
mbed_official 376:cb4d9db17537 63
mbed_official 489:119543c9f674 64 /** @defgroup RNG_Exported_Types RNG Exported Types
mbed_official 489:119543c9f674 65 * @{
mbed_official 489:119543c9f674 66 */
mbed_official 489:119543c9f674 67
mbed_official 489:119543c9f674 68 /** @defgroup RNG_Exported_Types_Group1 RNG State Structure definition
mbed_official 489:119543c9f674 69 * @{
mbed_official 489:119543c9f674 70 */
mbed_official 376:cb4d9db17537 71 typedef enum
mbed_official 376:cb4d9db17537 72 {
mbed_official 376:cb4d9db17537 73 HAL_RNG_STATE_RESET = 0x00, /*!< RNG not yet initialized or disabled */
mbed_official 376:cb4d9db17537 74 HAL_RNG_STATE_READY = 0x01, /*!< RNG initialized and ready for use */
mbed_official 376:cb4d9db17537 75 HAL_RNG_STATE_BUSY = 0x02, /*!< RNG internal process is ongoing */
mbed_official 376:cb4d9db17537 76 HAL_RNG_STATE_TIMEOUT = 0x03, /*!< RNG timeout state */
mbed_official 376:cb4d9db17537 77 HAL_RNG_STATE_ERROR = 0x04 /*!< RNG error state */
mbed_official 376:cb4d9db17537 78
mbed_official 376:cb4d9db17537 79 }HAL_RNG_StateTypeDef;
mbed_official 376:cb4d9db17537 80
mbed_official 376:cb4d9db17537 81 /**
mbed_official 489:119543c9f674 82 * @}
mbed_official 489:119543c9f674 83 */
mbed_official 489:119543c9f674 84
mbed_official 489:119543c9f674 85 /** @defgroup RNG_Exported_Types_Group2 RNG Handle Structure definition
mbed_official 489:119543c9f674 86 * @{
mbed_official 376:cb4d9db17537 87 */
mbed_official 376:cb4d9db17537 88 typedef struct
mbed_official 376:cb4d9db17537 89 {
mbed_official 489:119543c9f674 90 RNG_TypeDef *Instance; /*!< Register base address */
mbed_official 489:119543c9f674 91
mbed_official 489:119543c9f674 92 HAL_LockTypeDef Lock; /*!< RNG locking object */
mbed_official 376:cb4d9db17537 93
mbed_official 489:119543c9f674 94 __IO HAL_RNG_StateTypeDef State; /*!< RNG communication state */
mbed_official 376:cb4d9db17537 95
mbed_official 489:119543c9f674 96 uint32_t RandomNumber; /*!< Last Generated RNG Data */
mbed_official 376:cb4d9db17537 97
mbed_official 376:cb4d9db17537 98 }RNG_HandleTypeDef;
mbed_official 376:cb4d9db17537 99
mbed_official 489:119543c9f674 100 /**
mbed_official 489:119543c9f674 101 * @}
mbed_official 489:119543c9f674 102 */
mbed_official 489:119543c9f674 103
mbed_official 489:119543c9f674 104 /**
mbed_official 489:119543c9f674 105 * @}
mbed_official 489:119543c9f674 106 */
mbed_official 489:119543c9f674 107
mbed_official 376:cb4d9db17537 108 /* Exported constants --------------------------------------------------------*/
mbed_official 376:cb4d9db17537 109
mbed_official 489:119543c9f674 110 /** @defgroup RNG_Exported_Constants RNG Exported Constants
mbed_official 376:cb4d9db17537 111 * @{
mbed_official 376:cb4d9db17537 112 */
mbed_official 376:cb4d9db17537 113
mbed_official 489:119543c9f674 114 /** @defgroup RNG_Exported_Constants_Group1 RNG Interrupt definition
mbed_official 376:cb4d9db17537 115 * @{
mbed_official 376:cb4d9db17537 116 */
mbed_official 489:119543c9f674 117 #define RNG_IT_DRDY ((uint32_t)RNG_SR_DRDY) /*!< Data ready interrupt */
mbed_official 489:119543c9f674 118 #define RNG_IT_CEI ((uint32_t)RNG_SR_CEIS) /*!< Clock error interrupt */
mbed_official 489:119543c9f674 119 #define RNG_IT_SEI ((uint32_t)RNG_SR_SEIS) /*!< Seed error interrupt */
mbed_official 376:cb4d9db17537 120
mbed_official 489:119543c9f674 121
mbed_official 376:cb4d9db17537 122 /**
mbed_official 376:cb4d9db17537 123 * @}
mbed_official 376:cb4d9db17537 124 */
mbed_official 376:cb4d9db17537 125
mbed_official 489:119543c9f674 126 /** @defgroup RNG_Exported_Constants_Group2 RNG Flag definition
mbed_official 376:cb4d9db17537 127 * @{
mbed_official 376:cb4d9db17537 128 */
mbed_official 489:119543c9f674 129 #define RNG_FLAG_DRDY ((uint32_t)RNG_SR_DRDY) /*!< Data ready */
mbed_official 489:119543c9f674 130 #define RNG_FLAG_CECS ((uint32_t)RNG_SR_CECS) /*!< Clock error current status */
mbed_official 489:119543c9f674 131 #define RNG_FLAG_SECS ((uint32_t)RNG_SR_SECS) /*!< Seed error current status */
mbed_official 376:cb4d9db17537 132
mbed_official 376:cb4d9db17537 133 /**
mbed_official 376:cb4d9db17537 134 * @}
mbed_official 376:cb4d9db17537 135 */
mbed_official 376:cb4d9db17537 136
mbed_official 376:cb4d9db17537 137 /**
mbed_official 376:cb4d9db17537 138 * @}
mbed_official 376:cb4d9db17537 139 */
mbed_official 376:cb4d9db17537 140
mbed_official 489:119543c9f674 141 /* Exported macros -----------------------------------------------------------*/
mbed_official 489:119543c9f674 142 /** @defgroup RNG_Exported_Macros RNG Exported Macros
mbed_official 489:119543c9f674 143 * @{
mbed_official 489:119543c9f674 144 */
mbed_official 376:cb4d9db17537 145
mbed_official 376:cb4d9db17537 146 /** @brief Reset RNG handle state
mbed_official 376:cb4d9db17537 147 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 148 * @retval None
mbed_official 376:cb4d9db17537 149 */
mbed_official 376:cb4d9db17537 150 #define __HAL_RNG_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_RNG_STATE_RESET)
mbed_official 376:cb4d9db17537 151
mbed_official 376:cb4d9db17537 152 /**
mbed_official 376:cb4d9db17537 153 * @brief Enables the RNG peripheral.
mbed_official 376:cb4d9db17537 154 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 155 * @retval None
mbed_official 376:cb4d9db17537 156 */
mbed_official 376:cb4d9db17537 157 #define __HAL_RNG_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= RNG_CR_RNGEN)
mbed_official 376:cb4d9db17537 158
mbed_official 376:cb4d9db17537 159 /**
mbed_official 376:cb4d9db17537 160 * @brief Disables the RNG peripheral.
mbed_official 376:cb4d9db17537 161 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 162 * @retval None
mbed_official 376:cb4d9db17537 163 */
mbed_official 376:cb4d9db17537 164 #define __HAL_RNG_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~RNG_CR_RNGEN)
mbed_official 376:cb4d9db17537 165
mbed_official 376:cb4d9db17537 166 /**
mbed_official 489:119543c9f674 167 * @brief Check the selected RNG flag status.
mbed_official 376:cb4d9db17537 168 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 169 * @param __FLAG__: RNG flag
mbed_official 489:119543c9f674 170 * This parameter can be one of the following values:
mbed_official 489:119543c9f674 171 * @arg RNG_FLAG_DRDY: Data ready
mbed_official 489:119543c9f674 172 * @arg RNG_FLAG_CECS: Clock error current status
mbed_official 489:119543c9f674 173 * @arg RNG_FLAG_SECS: Seed error current status
mbed_official 489:119543c9f674 174 * @retval The new state of __FLAG__ (SET or RESET).
mbed_official 376:cb4d9db17537 175 */
mbed_official 376:cb4d9db17537 176 #define __HAL_RNG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__))
mbed_official 376:cb4d9db17537 177
mbed_official 489:119543c9f674 178
mbed_official 376:cb4d9db17537 179 /**
mbed_official 489:119543c9f674 180 * @brief Clears the selected RNG flag status.
mbed_official 489:119543c9f674 181 * @param __HANDLE__: RNG handle
mbed_official 489:119543c9f674 182 * @param __FLAG__: RNG flag to clear
mbed_official 489:119543c9f674 183 * @note WARNING: This is a dummy macro for HAL code alignment,
mbed_official 489:119543c9f674 184 * flags RNG_FLAG_DRDY, RNG_FLAG_CECS and RNG_FLAG_SECS are read-only.
mbed_official 376:cb4d9db17537 185 * @retval None
mbed_official 376:cb4d9db17537 186 */
mbed_official 489:119543c9f674 187 #define __HAL_RNG_CLEAR_FLAG(__HANDLE__, __FLAG__) /* dummy macro */
mbed_official 489:119543c9f674 188
mbed_official 489:119543c9f674 189
mbed_official 489:119543c9f674 190
mbed_official 376:cb4d9db17537 191 /**
mbed_official 376:cb4d9db17537 192 * @brief Enables the RNG interrupts.
mbed_official 376:cb4d9db17537 193 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 194 * @retval None
mbed_official 376:cb4d9db17537 195 */
mbed_official 376:cb4d9db17537 196 #define __HAL_RNG_ENABLE_IT(__HANDLE__) ((__HANDLE__)->Instance->CR |= RNG_CR_IE)
mbed_official 376:cb4d9db17537 197
mbed_official 376:cb4d9db17537 198 /**
mbed_official 376:cb4d9db17537 199 * @brief Disables the RNG interrupts.
mbed_official 376:cb4d9db17537 200 * @param __HANDLE__: RNG Handle
mbed_official 376:cb4d9db17537 201 * @retval None
mbed_official 376:cb4d9db17537 202 */
mbed_official 376:cb4d9db17537 203 #define __HAL_RNG_DISABLE_IT(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~RNG_CR_IE)
mbed_official 376:cb4d9db17537 204
mbed_official 376:cb4d9db17537 205 /**
mbed_official 376:cb4d9db17537 206 * @brief Checks whether the specified RNG interrupt has occurred or not.
mbed_official 376:cb4d9db17537 207 * @param __HANDLE__: RNG Handle
mbed_official 489:119543c9f674 208 * @param __INTERRUPT__: specifies the RNG interrupt status flag to check.
mbed_official 376:cb4d9db17537 209 * This parameter can be one of the following values:
mbed_official 489:119543c9f674 210 * @arg RNG_IT_DRDY: Data ready interrupt
mbed_official 489:119543c9f674 211 * @arg RNG_IT_CEI: Clock error interrupt
mbed_official 489:119543c9f674 212 * @arg RNG_IT_SEI: Seed error interrupt
mbed_official 489:119543c9f674 213 * @retval The new state of __INTERRUPT__ (SET or RESET).
mbed_official 376:cb4d9db17537 214 */
mbed_official 376:cb4d9db17537 215 #define __HAL_RNG_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR & (__INTERRUPT__)) == (__INTERRUPT__))
mbed_official 376:cb4d9db17537 216
mbed_official 489:119543c9f674 217 /**
mbed_official 489:119543c9f674 218 * @brief Clears the RNG interrupt status flags.
mbed_official 489:119543c9f674 219 * @param __HANDLE__: RNG Handle
mbed_official 489:119543c9f674 220 * @param __INTERRUPT__: specifies the RNG interrupt status flag to clear.
mbed_official 489:119543c9f674 221 * This parameter can be one of the following values:
mbed_official 489:119543c9f674 222 * @arg RNG_IT_CEI: Clock error interrupt
mbed_official 489:119543c9f674 223 * @arg RNG_IT_SEI: Seed error interrupt
mbed_official 489:119543c9f674 224 * @note RNG_IT_DRDY flag is read-only, reading RNG_DR register automatically clears RNG_IT_DRDY.
mbed_official 489:119543c9f674 225 * @retval None
mbed_official 489:119543c9f674 226 */
mbed_official 489:119543c9f674 227 #define __HAL_RNG_CLEAR_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR) = ~(__INTERRUPT__))
mbed_official 376:cb4d9db17537 228
mbed_official 489:119543c9f674 229 /**
mbed_official 489:119543c9f674 230 * @}
mbed_official 489:119543c9f674 231 */
mbed_official 489:119543c9f674 232
mbed_official 489:119543c9f674 233 /* Exported functions --------------------------------------------------------*/
mbed_official 489:119543c9f674 234 /** @defgroup RNG_Exported_Functions RNG Exported Functions
mbed_official 489:119543c9f674 235 * @{
mbed_official 489:119543c9f674 236 */
mbed_official 489:119543c9f674 237
mbed_official 489:119543c9f674 238 /* Initialization and de-initialization functions ******************************/
mbed_official 489:119543c9f674 239 /** @defgroup RNG_Exported_Functions_Group1 Initialization and de-initialization functions
mbed_official 489:119543c9f674 240 * @{
mbed_official 489:119543c9f674 241 */
mbed_official 376:cb4d9db17537 242 HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng);
mbed_official 376:cb4d9db17537 243 HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *hrng);
mbed_official 376:cb4d9db17537 244 void HAL_RNG_MspInit(RNG_HandleTypeDef *hrng);
mbed_official 376:cb4d9db17537 245 void HAL_RNG_MspDeInit(RNG_HandleTypeDef *hrng);
mbed_official 376:cb4d9db17537 246
mbed_official 489:119543c9f674 247 /**
mbed_official 489:119543c9f674 248 * @}
mbed_official 489:119543c9f674 249 */
mbed_official 489:119543c9f674 250
mbed_official 376:cb4d9db17537 251 /* Peripheral Control functions ************************************************/
mbed_official 489:119543c9f674 252 /** @defgroup RNG_Exported_Functions_Group2 Peripheral Control functions
mbed_official 489:119543c9f674 253 * @{
mbed_official 489:119543c9f674 254 */
mbed_official 489:119543c9f674 255 uint32_t HAL_RNG_GetRandomNumber(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRandomNumber() instead */
mbed_official 489:119543c9f674 256 uint32_t HAL_RNG_GetRandomNumber_IT(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRandomNumber_IT() instead */
mbed_official 489:119543c9f674 257
mbed_official 489:119543c9f674 258 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber(RNG_HandleTypeDef *hrng, uint32_t *random32bit);
mbed_official 489:119543c9f674 259 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT(RNG_HandleTypeDef *hrng);
mbed_official 489:119543c9f674 260 uint32_t HAL_RNG_ReadLastRandomNumber(RNG_HandleTypeDef *hrng);
mbed_official 489:119543c9f674 261
mbed_official 376:cb4d9db17537 262 void HAL_RNG_IRQHandler(RNG_HandleTypeDef *hrng);
mbed_official 376:cb4d9db17537 263 void HAL_RNG_ErrorCallback(RNG_HandleTypeDef *hrng);
mbed_official 489:119543c9f674 264 void HAL_RNG_ReadyDataCallback(RNG_HandleTypeDef* hrng, uint32_t random32bit);
mbed_official 489:119543c9f674 265
mbed_official 489:119543c9f674 266 /**
mbed_official 489:119543c9f674 267 * @}
mbed_official 489:119543c9f674 268 */
mbed_official 376:cb4d9db17537 269
mbed_official 376:cb4d9db17537 270 /* Peripheral State functions **************************************************/
mbed_official 489:119543c9f674 271 /** @defgroup RNG_Exported_Functions_Group3 Peripheral State functions
mbed_official 489:119543c9f674 272 * @{
mbed_official 489:119543c9f674 273 */
mbed_official 376:cb4d9db17537 274 HAL_RNG_StateTypeDef HAL_RNG_GetState(RNG_HandleTypeDef *hrng);
mbed_official 489:119543c9f674 275 /**
mbed_official 489:119543c9f674 276 * @}
mbed_official 489:119543c9f674 277 */
mbed_official 489:119543c9f674 278
mbed_official 489:119543c9f674 279 /**
mbed_official 489:119543c9f674 280 * @}
mbed_official 489:119543c9f674 281 */
mbed_official 489:119543c9f674 282
mbed_official 489:119543c9f674 283 /* Private types -------------------------------------------------------------*/
mbed_official 489:119543c9f674 284 /** @defgroup RNG_Private_Types RNG Private Types
mbed_official 489:119543c9f674 285 * @{
mbed_official 489:119543c9f674 286 */
mbed_official 489:119543c9f674 287
mbed_official 489:119543c9f674 288 /**
mbed_official 489:119543c9f674 289 * @}
mbed_official 489:119543c9f674 290 */
mbed_official 489:119543c9f674 291
mbed_official 489:119543c9f674 292 /* Private defines -----------------------------------------------------------*/
mbed_official 489:119543c9f674 293 /** @defgroup RNG_Private_Defines RNG Private Defines
mbed_official 489:119543c9f674 294 * @{
mbed_official 489:119543c9f674 295 */
mbed_official 489:119543c9f674 296
mbed_official 489:119543c9f674 297 /**
mbed_official 489:119543c9f674 298 * @}
mbed_official 489:119543c9f674 299 */
mbed_official 489:119543c9f674 300
mbed_official 489:119543c9f674 301 /* Private variables ---------------------------------------------------------*/
mbed_official 489:119543c9f674 302 /** @defgroup RNG_Private_Variables RNG Private Variables
mbed_official 489:119543c9f674 303 * @{
mbed_official 489:119543c9f674 304 */
mbed_official 376:cb4d9db17537 305
mbed_official 489:119543c9f674 306 /**
mbed_official 489:119543c9f674 307 * @}
mbed_official 489:119543c9f674 308 */
mbed_official 489:119543c9f674 309
mbed_official 489:119543c9f674 310 /* Private constants ---------------------------------------------------------*/
mbed_official 489:119543c9f674 311 /** @defgroup RNG_Private_Constants RNG Private Constants
mbed_official 489:119543c9f674 312 * @{
mbed_official 489:119543c9f674 313 */
mbed_official 489:119543c9f674 314
mbed_official 489:119543c9f674 315 /**
mbed_official 489:119543c9f674 316 * @}
mbed_official 489:119543c9f674 317 */
mbed_official 489:119543c9f674 318 /* Private macros ------------------------------------------------------------*/
mbed_official 489:119543c9f674 319 /** @defgroup RNG_Private_Macros RNG Private Macros
mbed_official 489:119543c9f674 320 * @{
mbed_official 489:119543c9f674 321 */
mbed_official 489:119543c9f674 322
mbed_official 489:119543c9f674 323 /**
mbed_official 489:119543c9f674 324 * @}
mbed_official 489:119543c9f674 325 */
mbed_official 489:119543c9f674 326
mbed_official 489:119543c9f674 327 /* Private functions prototypes ----------------------------------------------*/
mbed_official 489:119543c9f674 328 /** @defgroup RNG_Private_Functions_Prototypes RNG Private Functions Prototypes
mbed_official 489:119543c9f674 329 * @{
mbed_official 489:119543c9f674 330 */
mbed_official 489:119543c9f674 331
mbed_official 489:119543c9f674 332 /**
mbed_official 489:119543c9f674 333 * @}
mbed_official 489:119543c9f674 334 */
mbed_official 489:119543c9f674 335
mbed_official 489:119543c9f674 336 /* Private functions ---------------------------------------------------------*/
mbed_official 489:119543c9f674 337 /** @defgroup RNG_Private_Functions RNG Private Functions
mbed_official 489:119543c9f674 338 * @{
mbed_official 489:119543c9f674 339 */
mbed_official 489:119543c9f674 340
mbed_official 489:119543c9f674 341 /**
mbed_official 489:119543c9f674 342 * @}
mbed_official 489:119543c9f674 343 */
mbed_official 489:119543c9f674 344
mbed_official 376:cb4d9db17537 345 /**
mbed_official 376:cb4d9db17537 346 * @}
mbed_official 376:cb4d9db17537 347 */
mbed_official 376:cb4d9db17537 348
mbed_official 376:cb4d9db17537 349 /**
mbed_official 376:cb4d9db17537 350 * @}
mbed_official 376:cb4d9db17537 351 */
mbed_official 489:119543c9f674 352 #endif /* if defined (STM32L052xx) || defined (STM32L053xx) || defined (STM32L062xx) || defined (STM32L063xx) || \
mbed_official 489:119543c9f674 353 defined (STM32L072xx) || defined (STM32L073xx) || defined (STM32L082xx) || defined (STM32L083xx) */
mbed_official 376:cb4d9db17537 354 #ifdef __cplusplus
mbed_official 376:cb4d9db17537 355 }
mbed_official 376:cb4d9db17537 356 #endif
mbed_official 376:cb4d9db17537 357
mbed_official 376:cb4d9db17537 358 #endif /* __STM32L0xx_HAL_RNG_H */
mbed_official 376:cb4d9db17537 359
mbed_official 489:119543c9f674 360
mbed_official 376:cb4d9db17537 361 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
mbed_official 489:119543c9f674 362