Function I2C::Ports::config

Function Documentation

void I2C::Ports::config(i2c_port_t, const i2c_config_t &config = defaultConfig)

Configure given I2C port.

Note

The port must already be initialized otherwise the configuration won’t happen

Parameters
  • port

  • config