targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_uart.c
void UART_Cmd(FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  
  if (NewState != DISABLE) {
    /* Enable the selected UART by setting the UARTEN bit in the UARTCR register */
    UART->CR_b.EN = SET;
  }
  else {
    /* Disable the selected UART by clearing the UARTEN bit in the UARTCR register */
    UART->CR_b.EN = RESET;
  }
}
/**
  * @brief  Enables or disables the UART peripheral.
  * @param  NewState: functional state @ref FunctionalState
  *         This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
@brief  Enables or disables the UART peripheral.
@param  NewState: functional state @ref FunctionalState
This parameter can be: ENABLE or DISABLE.
@retval None
@brief Enables or disables the UART peripheral . @param NewState : functional state @ref FunctionalState This parameter can be : ENABLE or DISABLE . @retval None
void UART_Cmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE) {
    UART->CR_b.EN = SET;
  }
  else {
    UART->CR_b.EN = RESET;
  }
}
void UART_Cmd ( FunctionalState NewState ) { assert_param ( IS_FUNCTIONAL_STATE ( NewState ) ) ; if ( NewState != DISABLE ) { UART -> CR_b . EN = SET ; } else { UART -> CR_b . EN = RESET ; } }
@brief  Enables or disables the UART peripheral.
@brief Enables or disables the UART peripheral .
/* Check the parameters */ /* Enable the selected UART by setting the UARTEN bit in the UARTCR register */ /* Disable the selected UART by clearing the UARTEN bit in the UARTCR register */