targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_uart.c
void UART_ITConfig(uint16_t UART_IT, FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_UART_CONFIG_IT(UART_IT));
  assert_param(IS_FUNCTIONAL_STATE(NewState));

  if (NewState != DISABLE) {
    /* Enable specified interrupts */
    SET_BIT(UART->IMSC, UART_IT);
  }
  else {
    /* Disable specified interrupts */
    CLEAR_BIT(UART->IMSC, UART_IT);
  }
}
/**
  * @brief  Enables or disables the specified UART interrupts.
  * @param  UART_IT: specifies the UART interrupt sources to be enabled or disabled.
  *   This parameter can be a any combination of the following values:
	*   @arg UART_IT_TXFE:  Tx FIFO empty interrupt
  *   @arg UART_IT_XO:    XOFF interrupt
  *   @arg UART_IT_OE:    Overrun error interrupt
  *   @arg UART_IT_BE:    Break error interrupt
  *   @arg UART_IT_PE:    Parity error interrupt
  *   @arg UART_IT_FE:    Framing error interrupt
  *   @arg UART_IT_RT:    Receive timeout interrupt
  *   @arg UART_IT_TX:    Transmit interrupt
  *   @arg UART_IT_RX:    Receive interrupt
  *   @arg UART_IT_CTS:   CTS interrupt.
  * @param  NewState: functional state @ref FunctionalState
  *         This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
@brief  Enables or disables the specified UART interrupts.
@param  UART_IT: specifies the UART interrupt sources to be enabled or disabled.
@brief Enables or disables the specified UART interrupts . @param UART_IT : specifies the UART interrupt sources to be enabled or disabled .
void UART_ITConfig(uint16_t UART_IT, FunctionalState NewState)
{
  assert_param(IS_UART_CONFIG_IT(UART_IT));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE) {
    SET_BIT(UART->IMSC, UART_IT);
  }
  else {
    CLEAR_BIT(UART->IMSC, UART_IT);
  }
}
void UART_ITConfig ( uint16_t UART_IT , FunctionalState NewState ) { assert_param ( IS_UART_CONFIG_IT ( UART_IT ) ) ; assert_param ( IS_FUNCTIONAL_STATE ( NewState ) ) ; if ( NewState != DISABLE ) { SET_BIT ( UART -> IMSC , UART_IT ) ; } else { CLEAR_BIT ( UART -> IMSC , UART_IT ) ; } }
@brief  Enables or disables the specified UART interrupts.
@brief Enables or disables the specified UART interrupts .
/* Check the parameters */ /* Enable specified interrupts */ /* Disable specified interrupts */