[−][src]Function embedded_platform::i2c::initialize::initialize
ⓘImportant traits for Initialize<A, SDA, SCL>
pub fn initialize<A, SDA, SCL>(
mapping: A,
sda: SDA,
scl: SCL
) -> Initialize<A, SDA, SCL> where
A: I2cBusMapping<SDA, SCL> + Unpin,
SDA: Unpin,
SCL: Unpin,
Creates a new Initialize
based off of a I²C bus pin mapping, as well as an SDA and SCL pin.