targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_rng.c
void RNG_Cmd(FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  
  if (NewState != DISABLE) {
    /* Disable RNG peripheral */
    RNG->CR_b.DIS = RESET;
  }
  else {
    /* Enable RNG peripheral */
    RNG->CR_b.DIS = SET;
  }
}
/**
  * @brief  Enables or disables the specified RNG peripheral.
  * @param  NewState: functional state @ref FunctionalState
  *         This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
@brief  Enables or disables the specified RNG peripheral.
@param  NewState: functional state @ref FunctionalState
This parameter can be: ENABLE or DISABLE.
@retval None
@brief Enables or disables the specified RNG peripheral . @param NewState : functional state @ref FunctionalState This parameter can be : ENABLE or DISABLE . @retval None
void RNG_Cmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE) {
    RNG->CR_b.DIS = RESET;
  }
  else {
    RNG->CR_b.DIS = SET;
  }
}
void RNG_Cmd ( FunctionalState NewState ) { assert_param ( IS_FUNCTIONAL_STATE ( NewState ) ) ; if ( NewState != DISABLE ) { RNG -> CR_b . DIS = RESET ; } else { RNG -> CR_b . DIS = SET ; } }
@brief  Enables or disables the specified RNG peripheral.
@brief Enables or disables the specified RNG peripheral .
/* Check the parameters */ /* Disable RNG peripheral */ /* Enable RNG peripheral */