Functions
Initialization and de-initialization functions
Peripheral Driver » LL Driver » RNG » Functions

## Functions
error_status_t | ll_rng_deinit (rng_regs_t *RNGx)
| De-initialize the RNG registers to their default reset values. More...
error_status_t | ll_rng_init (rng_regs_t *RNGx, ll_rng_init_t *p_rng_init)
| Initialize RNG registers according to the specified parameters in p_rng_init. More...
void | ll_rng_struct_init (ll_rng_init_t *p_rng_init)
| Set each field of a ll_rng_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_rng_deinit()

error_status_t ll_rng_deinit | ( | rng_regs_t * | RNGx | ) |

De-initialize the RNG registers to their default reset values.

Parameters

  RNGx | RNG instance.

Return values

  An | error_status_t enumeration value: SUCCESS: RNG registers are de-initialized ERROR: RNG registers are not de-initialized

## ◆ ll_rng_init()

error_status_t ll_rng_init | ( | rng_regs_t * | RNGx,
|  | ll_rng_init_t * | p_rng_init
| ) |  |

Initialize RNG registers according to the specified parameters in p_rng_init.

Parameters

  RNGx | RNG Instance
  p_rng_init | Pointer to a ll_rng_init_t structure that contains the configuration information for the specified RNG peripheral.

Return values

  An | error_status_t enumeration value: SUCCESS: RNG registers are initialized according to p_rng_init content ERROR: Problem occurred during RNG Registers initialization

## ◆ ll_rng_struct_init()

void ll_rng_struct_init | ( | ll_rng_init_t * | p_rng_init | ) |

Set each field of a ll_rng_init_t type structure to default value.

Parameters

  p_rng_init | Pointer to a ll_rng_init_t structure whose fields will be set to default values.

Return values

  None |