Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
99:dbbf35b96557
.

Who changed what in which revision?

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