targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_i2c.c
void I2C_ClearITPendingBit(I2C_Type* I2Cx, uint32_t I2C_IT)
{
  /* Check the parameters */
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_IT(I2C_IT));
  /* Clear the selected I2C flags */
  WRITE_REG(I2Cx->ICR, I2C_IT);
}
/**
  * @brief  Clears the I2Cx interrupt pending bits.
  * @param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
  * @param  I2C_IT: specifies the interrupt pending bit to clear. 
  *         This parameter can be any combination of the following values:
  *         @arg I2C_IT_TXFE: Tx FIFO empty
  *         @arg I2C_IT_TXFNE: TX FIFO nearly empty
  *         @arg I2C_IT_TXFF: Tx FIFO full
  *         @arg I2C_IT_TXFOVR: Tx FIFO overflow
  *         @arg I2C_IT_RXFE: Rx FIFO empty
  *         @arg I2C_IT_RXFNF: Rx FIFO nearly full
  *         @arg I2C_IT_RXFF: Rx FIFO full
  *         @arg I2C_IT_LBR: Length number of bytes received
  *         @arg I2C_IT_RFSR: Read from slave request
  *         @arg I2C_IT_RFSE: Read from slave empty
  *         @arg I2C_IT_WTSR: Write to slave request
  *         @arg I2C_IT_MTD: Master transaction done
  *         @arg I2C_IT_STD: Slave transaction done
  *         @arg I2C_IT_SAL: Slave arbitration lost
  *         @arg I2C_IT_MAL: Master arbitration lost
  *         @arg I2C_IT_BERR: Bus error
  *         @arg I2C_IT_MTDWS: Master transaction done without stop
  *         @arg I2C_IT_TIMEOUT: Timeout or Tlow error
  * @retval None
  */
@brief  Clears the I2Cx interrupt pending bits.
@param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
@param  I2C_IT: specifies the interrupt pending bit to clear.
@brief Clears the I2Cx interrupt pending bits . @param I2Cx : where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type @param I2C_IT : specifies the interrupt pending bit to clear .
void I2C_ClearITPendingBit(I2C_Type* I2Cx, uint32_t I2C_IT)
{
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_IT(I2C_IT));
  WRITE_REG(I2Cx->ICR, I2C_IT);
}
void I2C_ClearITPendingBit ( I2C_Type * I2Cx , uint32_t I2C_IT ) { assert_param ( IS_I2C_ALL_PERIPH ( I2Cx ) ) ; assert_param ( IS_I2C_IT ( I2C_IT ) ) ; WRITE_REG ( I2Cx -> ICR , I2C_IT ) ; }
@brief  Clears the I2Cx interrupt pending bits.
@brief Clears the I2Cx interrupt pending bits .
/* Check the parameters */ /* Clear the selected I2C flags */