User Activity

I am looking for a way to change the HAL I2C lib clock speed during runtime to either 100k or 400k or 1M.I tried the following.....hi2c1.Init.ClockSpeed = 100000;However when compiling this the compiler do not recognize the parameter.