Macros | Functions
stm32f4xx_rng.h File Reference

This file contains all the functions prototypes for the Random Number Generator(RNG) firmware library. More...

#include "stm32f4xx.h"
Include dependency graph for stm32f4xx_rng.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_RNG_CLEAR_FLAG(RNG_FLAG)
 
#define IS_RNG_GET_FLAG(RNG_FLAG)
 
#define IS_RNG_GET_IT(RNG_IT)   (((RNG_IT) == RNG_IT_CEI) || ((RNG_IT) == RNG_IT_SEI))
 
#define IS_RNG_IT(IT)   ((((IT) & (uint8_t)0x9F) == 0x00) && ((IT) != 0x00))
 
#define RNG_FLAG_CECS   ((uint8_t)0x0002)
 
#define RNG_FLAG_DRDY   ((uint8_t)0x0001)
 
#define RNG_FLAG_SECS   ((uint8_t)0x0004)
 
#define RNG_IT_CEI   ((uint8_t)0x20)
 
#define RNG_IT_SEI   ((uint8_t)0x40)
 

Functions

void RNG_ClearFlag (uint8_t RNG_FLAG)
 Clears the RNG flags. More...
 
void RNG_ClearITPendingBit (uint8_t RNG_IT)
 Clears the RNG interrupt pending bit(s). More...
 
void RNG_Cmd (FunctionalState NewState)
 Enables or disables the RNG peripheral. More...
 
void RNG_DeInit (void)
 De-initializes the RNG peripheral registers to their default reset values. More...
 
FlagStatus RNG_GetFlagStatus (uint8_t RNG_FLAG)
 Checks whether the specified RNG flag is set or not. More...
 
ITStatus RNG_GetITStatus (uint8_t RNG_IT)
 Checks whether the specified RNG interrupt has occurred or not. More...
 
uint32_t RNG_GetRandomNumber (void)
 Returns a 32-bit random number. More...
 
void RNG_ITConfig (FunctionalState NewState)
 Enables or disables the RNG interrupt. More...
 

Detailed Description

This file contains all the functions prototypes for the Random Number Generator(RNG) firmware library.

Author
MCD Application Team
Version
V1.1.0
Date
11-January-2013
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm32f4xx_rng.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:27