my fork

Dependents:   Nucleo_blueNRG

Fork of mbed by mbed official

Committer:
filartrix
Date:
Wed Apr 08 14:12:53 2015 +0000
Revision:
97:4298809c7c9e
Parent:
96:487b796308b0
First reale BlueNRG module for nucleo 401 board

Who changed what in which revision?

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