targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_uart.c
void UART_Oversampling(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState)); 
  
  if (NewState == ENABLE)
  {
    /* Enable the UART oversampling factor */
    UART->CR_b.OVSFACT = 1;
  }
  else
  {
    /* Disable the UART oversampling factor */
    UART->CR_b.OVSFACT = 0;
  }
}
/**
  * @brief  Enables or disables the UART oversampling.
  * @param  NewState: functional state @ref FunctionalState
  *         This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
@brief  Enables or disables the UART oversampling.
@param  NewState: functional state @ref FunctionalState
This parameter can be: ENABLE or DISABLE.
@retval None
@brief Enables or disables the UART oversampling . @param NewState : functional state @ref FunctionalState This parameter can be : ENABLE or DISABLE . @retval None
void UART_Oversampling(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState)); 
  if (NewState == ENABLE)
  {
    UART->CR_b.OVSFACT = 1;
  }
  else
  {
    UART->CR_b.OVSFACT = 0;
  }
}
void UART_Oversampling ( FunctionalState NewState ) { assert_param ( IS_FUNCTIONAL_STATE ( NewState ) ) ; if ( NewState == ENABLE ) { UART -> CR_b . OVSFACT = 1 ; } else { UART -> CR_b . OVSFACT = 0 ; } }
@brief  Enables or disables the UART oversampling.
@brief Enables or disables the UART oversampling .
/* Enable the UART oversampling factor */ /* Disable the UART oversampling factor */