Struct esp32_hal::i2c::Pins [−][src]
pub struct Pins<SDA: OutputPin + InputPin, SCL: OutputPin + InputPin> { pub sda: SDA, pub scl: SCL, }
Expand description
Pins used by the I2C interface
Note that any two pins may be used TODO: enforce this in the type system
Fields
sda: SDA
scl: SCL