targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_i2c.c
void I2C_SetTxThreshold(I2C_Type* I2Cx, uint16_t TxThres)
{
  /* Check the parameters */
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_TX_THRESHOLD(TxThres));
  
  /* Set the Tx FIFO Threshold */
  I2Cx->TFTR_b.THRESH_TX = TxThres;
}
/**
  * @brief  Sets the transmit FIFO threshold by the I2Cx peripheral.
  * @param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
  * @param  TxThres: The value of the threshold 2-byte.
  * @retval None
  */
@brief  Sets the transmit FIFO threshold by the I2Cx peripheral.
@param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
@param  TxThres: The value of the threshold 2-byte.
@retval None
@brief Sets the transmit FIFO threshold by the I2Cx peripheral . @param I2Cx : where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type @param TxThres : The value of the threshold 2 - byte . @retval None
void I2C_SetTxThreshold(I2C_Type* I2Cx, uint16_t TxThres)
{
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_TX_THRESHOLD(TxThres));
  I2Cx->TFTR_b.THRESH_TX = TxThres;
}
void I2C_SetTxThreshold ( I2C_Type * I2Cx , uint16_t TxThres ) { assert_param ( IS_I2C_ALL_PERIPH ( I2Cx ) ) ; assert_param ( IS_I2C_TX_THRESHOLD ( TxThres ) ) ; I2Cx -> TFTR_b . THRESH_TX = TxThres ; }
@brief  Sets the transmit FIFO threshold by the I2Cx peripheral.
@brief Sets the transmit FIFO threshold by the I2Cx peripheral .
/* Check the parameters */ /* Set the Tx FIFO Threshold */