WB32F10x Standard Peripherals Firmware Library

wb32f10x_rng.h
Go to the documentation of this file.
1
10 /* Define to prevent recursive inclusion -------------------------------------*/
11 #ifndef __WB32F10x_RNG_H
12 #define __WB32F10x_RNG_H
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 /* Includes ------------------------------------------------------------------*/
19 #include "wb32f10x.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 /* __WB32F10x_RNG_H */
RNG_DeInit
void RNG_DeInit(void)
Deinitializes the RNG peripheral registers to their default reset values.
Definition: wb32f10x_rng.c:37
RNG_Cmd
void RNG_Cmd(FunctionalState NewState)
Enables or disables the RNG peripheral.
Definition: wb32f10x_rng.c:49
RNG_RandByte
uint8_t RNG_RandByte(void)
Return a random byte.
Definition: wb32f10x_rng.c:63