MG32F10x Standard Peripherals Firmware Library
mg32f10x_rng.h
Go to the documentation of this file.
1 
10 /* Define to prevent recursive inclusion -------------------------------------*/
11 #ifndef __MG32F10x_RNG_H
12 #define __MG32F10x_RNG_H
13 
14 #ifdef __cplusplus
15  extern "C" {
16 #endif
17 
18 /* Includes ------------------------------------------------------------------*/
19 #include "mg32f10x.h"
20 
29 /* Exported types ------------------------------------------------------------*/
30 /* Exported constants --------------------------------------------------------*/
31 /* Exported macro ------------------------------------------------------------*/
32 /* Exported functions --------------------------------------------------------*/
33 
34 void RNG_DeInit(void);
35 void RNG_Cmd(FunctionalState NewState);
36 uint8_t RNG_RandByte(void);
37 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* __MG32F10x_RNG_H */
void RNG_DeInit(void)
Deinitializes the RNG peripheral registers to their default reset values.
Definition: mg32f10x_rng.c:37
void RNG_Cmd(FunctionalState NewState)
Enables or disables the RNG peripheral.
Definition: mg32f10x_rng.c:49
uint8_t RNG_RandByte(void)
Return a random byte.
Definition: mg32f10x_rng.c:63