/* Adjusts the Internal High Speed oscillator (HSI) calibration value.  */
void RCC_SetHsiCalibValue(uint8_t HSICalibrationValue)
/* Adjusts the Internal High Speed oscillator (HSI) calibration value.  */
void RCC_SetHsiCalibValue(uint8_t HSICalibrationValue)
{
    uint32_t tmpregister = 0;
    assert_param(IS_RCC_CALIB_VALUE(HSICalibrationValue));
    tmpregister = RCC->CTRL;
    tmpregister &= CTRL_HSITRIM_MASK;
    tmpregister |= (uint32_t)HSICalibrationValue << 3;
    RCC->CTRL = tmpregister;
}