targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_i2c.c
I2C_OpStatus I2C_GetStatus(I2C_Type* I2Cx)
{
  /* Check the parameters */
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));

  /* Read the OP status field of the status register */
  return (I2C_OpStatus)I2Cx->SR_b.STATUS;
}
/**
  * @brief  Get the present state of the operation executed by I2C block.
  * @param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
  * @retval I2C_OpStatus: the I2C operation status @ref I2C_OpStatus
  */
@brief  Get the present state of the operation executed by I2C block.
@param  I2Cx: where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type
@retval I2C_OpStatus: the I2C operation status @ref I2C_OpStatus
@brief Get the present state of the operation executed by I2C block . @param I2Cx : where x can be 1 or 2 to select the I2C peripheral @ref I2C_Type @retval I2C_OpStatus : the I2C operation status @ref I2C_OpStatus
I2C_OpStatus I2C_GetStatus(I2C_Type* I2Cx)
{
  assert_param(IS_I2C_ALL_PERIPH(I2Cx));
  return (I2C_OpStatus)I2Cx->SR_b.STATUS;
}
I2C_OpStatus I2C_GetStatus ( I2C_Type * I2Cx ) { assert_param ( IS_I2C_ALL_PERIPH ( I2Cx ) ) ; return ( I2C_OpStatus ) I2Cx -> SR_b . STATUS ; }
@brief  Get the present state of the operation executed by I2C block.
@brief Get the present state of the operation executed by I2C block .
/* Check the parameters */ /* Read the OP status field of the status register */