pub fn apply_config(&mut self, config: &Config) -> Result<(), ConfigError> {
        self.config.config = *config;
        self.driver().setup(config)?;
        self.driver().reset_fsm();
        Ok(())
    }
Applies a new configuration.

# Errors

A [`ConfigError`] variant will be returned if bus frequency or timeout
passed in config is invalid.
esp-hal/src/i2c/master/mod.rs