targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_i2c.c
void I2C_SetRxThreshold(I2C_Type* I2Cx, uint16_t RxThres)
{
  /* Check the parameters */
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_RX_THRESHOLD(RxThres));
  
  /* Set the Rx FIFO Threshold */
  I2Cx->RFTR_b.THRESH_RX = RxThres;
}
/**
  * @brief  Sets the receive FIFO threshold by the I2Cx peripheral.
  * @param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
  * @param  RxThres: The value of the threshold 2-byte.
  */
@brief  Sets the receive FIFO threshold by the I2Cx peripheral.
@param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
@param  RxThres: The value of the threshold 2-byte.
@brief Sets the receive FIFO threshold by the I2Cx peripheral . @param I2Cx : where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type @param RxThres : The value of the threshold 2 - byte .
void I2C_SetRxThreshold(I2C_Type* I2Cx, uint16_t RxThres)
{
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  assert_param(IS_I2C_RX_THRESHOLD(RxThres));
  I2Cx->RFTR_b.THRESH_RX = RxThres;
}
void I2C_SetRxThreshold ( I2C_Type * I2Cx , uint16_t RxThres ) { assert_param ( IS_I2C_ALL_PERIPH ( I2Cx ) ) ; assert_param ( IS_I2C_RX_THRESHOLD ( RxThres ) ) ; I2Cx -> RFTR_b . THRESH_RX = RxThres ; }
@brief  Sets the receive FIFO threshold by the I2Cx peripheral.
@brief Sets the receive FIFO threshold by the I2Cx peripheral .
/* Check the parameters */ /* Set the Rx FIFO Threshold */