riot_sys

Function i2c_init_pins

Source
pub unsafe extern "C" fn i2c_init_pins(dev: i2c_t)
Expand description

@brief Initialize the used I2C bus pins

After calling i2c_init, the pins must be initialized (i.e. spi_init is calling this function internally). In normal cases, this function will not be used. But there are some devices (e.g. ATECC608A), that use I2C bus lines also for other purposes and need the option to dynamically re-configure one or more of the used pins.

@param[in] dev I2C device the pins are configure for