targets/TARGET_STMBLUE/Periph_Driver/src/BlueNRG1_i2c.c
void I2C_StructInit(I2C_InitType* I2C_InitStruct)
{
  /*---------------- Reset I2C init structure parameters values ----------------*/
  /* initialize the I2C_ClockSpeed member */
  I2C_InitStruct->I2C_ClockSpeed = 5000;

  /* initialize the I2C_OperatingMode member */
  I2C_InitStruct->I2C_OperatingMode = I2C_OperatingMode_Slave;

  /* initialize the I2C_Filtering member */
  I2C_InitStruct->I2C_Filtering = I2C_Filtering_Off;

  /* Initialize the I2C_OwnAddress1 member */
  I2C_InitStruct->I2C_OwnAddress1 = 0;

  /* Initialize the I2C_AddressingMode member */
  I2C_InitStruct->I2C_ExtendAddress = DISABLE;
}
/**
  * @brief  Fills the I2C_InitStruct with default values.
  * @param  I2C_InitStruct: pointer to an @ref I2C_InitType structure which will be initialized.
  * @retval None
  */
@brief  Fills the I2C_InitStruct with default values.
@param  I2C_InitStruct: pointer to an @ref I2C_InitType structure which will be initialized.
@retval None
@brief Fills the I2C_InitStruct with default values . @param I2C_InitStruct : pointer to an @ref I2C_InitType structure which will be initialized . @retval None
void I2C_StructInit(I2C_InitType* I2C_InitStruct)
{
  I2C_InitStruct->I2C_ClockSpeed = 5000;
  I2C_InitStruct->I2C_OperatingMode = I2C_OperatingMode_Slave;
  I2C_InitStruct->I2C_Filtering = I2C_Filtering_Off;
  I2C_InitStruct->I2C_OwnAddress1 = 0;
  I2C_InitStruct->I2C_ExtendAddress = DISABLE;
}
void I2C_StructInit ( I2C_InitType * I2C_InitStruct ) { I2C_InitStruct -> I2C_ClockSpeed = 5000 ; I2C_InitStruct -> I2C_OperatingMode = I2C_OperatingMode_Slave ; I2C_InitStruct -> I2C_Filtering = I2C_Filtering_Off ; I2C_InitStruct -> I2C_OwnAddress1 = 0 ; I2C_InitStruct -> I2C_ExtendAddress = DISABLE ; }
@brief  Fills the I2C_InitStruct with default values.
@brief Fills the I2C_InitStruct with default values .
/*---------------- Reset I2C init structure parameters values ----------------*/ /* initialize the I2C_ClockSpeed member */ /* initialize the I2C_OperatingMode member */ /* initialize the I2C_Filtering member */ /* Initialize the I2C_OwnAddress1 member */ /* Initialize the I2C_AddressingMode member */