Subversion Repositories FuelGauge

Rev

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

Rev 2 Rev 6
Line 1985... Line 1985...
1985
  * @retval None
1985
  * @retval None
1986
  */
1986
  */
1987
#define __HAL_RCC_CRS_FREQ_ERROR_COUNTER_DISABLE() CLEAR_BIT(CRS->CR, CRS_CR_CEN)
1987
#define __HAL_RCC_CRS_FREQ_ERROR_COUNTER_DISABLE() CLEAR_BIT(CRS->CR, CRS_CR_CEN)
1988
 
1988
 
1989
/**
1989
/**
1990
  * @brief  Enable the automatic hardware adjustement of TRIM bits.
1990
  * @brief  Enable the automatic hardware adjustment of TRIM bits.
1991
  * @note   When the AUTOTRIMEN bit is set the CRS_CFGR register becomes write-protected.
1991
  * @note   When the AUTOTRIMEN bit is set the CRS_CFGR register becomes write-protected.
1992
  * @retval None
1992
  * @retval None
1993
  */
1993
  */
1994
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_ENABLE()     SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN)
1994
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_ENABLE()     SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN)
1995
 
1995
 
1996
/**
1996
/**
1997
  * @brief  Disable the automatic hardware adjustement of TRIM bits.
1997
  * @brief  Disable the automatic hardware adjustment of TRIM bits.
1998
  * @retval None
1998
  * @retval None
1999
  */
1999
  */
2000
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_DISABLE()    CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN)
2000
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_DISABLE()    CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN)
2001
 
2001
 
2002
/**
2002
/**