| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros | Functions
Exported Functions
BLUENRG1 Peripheral Driver » RNG Peripheral

## Macros

#define | RNG_GetValue() READ_REG(RNG->VAL)
| Get the RNG value. More...

## Functions

void | RNG_Cmd (FunctionalState NewState)
| Enables or disables the specified RNG peripheral. More...
FlagStatus | RNG_GetFlagStatus (void)
| Checks if the RNG flag is set or not. More...

## Detailed Description

## Macro Definition Documentation

#define RNG_GetValue | ( |  | ) | READ_REG(RNG->VAL)

Get the RNG value.

Parameters

  None |

Return values

  RNG | value

Definition at line 79 of file BlueNRG1_rng.h.

## Function Documentation

void RNG_Cmd | ( | FunctionalState | NewState | ) |

Enables or disables the specified RNG peripheral.

Parameters

  NewState | functional state FunctionalState This parameter can be: ENABLE or DISABLE.

Return values

  None |

Definition at line 93 of file BlueNRG1_rng.c.

FlagStatus RNG_GetFlagStatus | ( | void |  | ) |

Checks if the RNG flag is set or not.

Return values

  FlagStatus | functional state FlagStatus This parameter can be: SET or RESET.

Definition at line 114 of file BlueNRG1_rng.c.