Subversion Repositories FuelGauge

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 6
Line 23... Line 23...
23
#include "stm32f0xx_ll_bus.h"
23
#include "stm32f0xx_ll_bus.h"
24
#ifdef  USE_FULL_ASSERT
24
#ifdef  USE_FULL_ASSERT
25
#include "stm32_assert.h"
25
#include "stm32_assert.h"
26
#else
26
#else
27
#define assert_param(expr) ((void)0U)
27
#define assert_param(expr) ((void)0U)
28
#endif
28
#endif /* USE_FULL_ASSERT */
29
 
29
 
30
/** @addtogroup STM32F0xx_LL_Driver
30
/** @addtogroup STM32F0xx_LL_Driver
31
  * @{
31
  * @{
32
  */
32
  */
33
 
33
 
Line 107... Line 107...
107
 
107
 
108
    /* Release reset of I2C clock */
108
    /* Release reset of I2C clock */
109
    LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_I2C2);
109
    LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_I2C2);
110
 
110
 
111
  }
111
  }
112
#endif
112
#endif /* I2C2 */
113
  else
113
  else
114
  {
114
  {
115
    status = ERROR;
115
    status = ERROR;
116
  }
116
  }
117
 
117